Skip to content

Repository files navigation

🌟 Fradium - The Trust Layer for Web3 Transactions

Fradium Cover

License: MIT Internet Computer Motoko

Fradium is a security and analytics platform built fully onchain and designed to work seamlessly across multiple blockchain networks including Bitcoin, Ethereum, Solana, Internet Computer, and others network., Fradium enables real-time address analysis, transaction insights, and threat detection across different ecosystems.

The platform provides a complete set of tools including a decentralized wallet app, browser extension, and community-driven reporting system. Users can analyze, report, and transact with greater confidence. Suspicious addresses are identified through AI models trained on high-quality datasets, and results are continuously improved through community contributions and verified reports. With token incentives and transparent voting, Fradium empowers users to actively participate in securing the Web3 space.

🌟 Built for WCHL 2025 Hackathon - View on DoraHacks

🎯 Why Fradium?

Fradium addresses urgent challenges in Web3 security and adoption:

  • Despite ranking #3 globally in crypto adoption with 356% YoY growth, Crypto global scams reaching $2.5B in 2023, saw 332K wallet drainer victims, and over $40.9B was sent to illicit addresses.
  • These risks are driven by low blockchain literacy and lack of awareness around smart contract and wallet vulnerabilities.
  • Traditional wallets and explorers provide limited protection or context, leaving users exposed to phishing, scams, and malicious addresses.

Our solution introduces Fradium, a fully on-chain security and analytics platform that provides real-time address analysis, transaction insights, and AI-powered threat detection across multiple blockchains. With decentralized reporting, tokenized incentives, and transparent governance, Fradium empowers users to transact with confidence while actively contributing to securing the Web3 ecosystem.

📚 Complete Resources

🌟 Features of Fradium

Features

Fradium Wallet (App & Extension)

Fradium Wallet is the all-in-one gateway to Web3 safety. Available as both a mobile/web app and browser extension, it provides seamless access to your assets and built-in AI protection.

  • Manage multiple blockchain assets in one secure interface.
  • Supports Bitcoin, Ethereum, Solana, and Internet Computer (ICP).
  • Addresses are generated on-chain with verified identity binding.
  • Real-time AI risk analysis before every transaction.
  • View complete transaction history and scan logs across chains.
  • Extension version provides instant address checks and safety alerts directly inside your browser.

Fradium Paylink

A Web3 payment link that lets users send and receive crypto safely through a simple URL. Every transaction is verified by Fradium Analyzer, ensuring both sender and receiver are trustworthy.

  • Generate unique payment links for instant transfers.
  • Integrated AI address verification for both parties.
  • Works seamlessly across supported blockchains.

Fradium Escrow

A trustless on-chain escrow system for secure peer-to-peer trading. Funds are locked until both parties confirm, ensuring fairness and eliminating fraud.

  • Safe trading without intermediaries.
  • On-chain contract releases funds only when conditions are met.
  • Perfect for OTC and P2P transactions.

Multi-Chain Analytics Engine (AI On-Chain Detection)

Fradium’s AI engine continuously scans blockchain activities to detect anomalies, scams, and fraud in real time. It learns from both community feedback and on-chain data.

  • Detects threats using evolving datasets.
  • Analyzes address behaviors across multiple networks.
  • Continuously retrained via on-chain AI learning and community input.

Fradium Community Report

Fradium empowers users to shape a safer Web3 through community-driven intelligence.

  • Report suspicious addresses with supporting evidence.
  • Earn $FRADIUM tokens for credible contributions.
  • Vote and stake in governance through Proof of Credible Contribution (PoCC).
  • Transparent tracking of all contributions and reputation metrics.

$FRADIUM Token System

The native utility and governance token powering the Fradium ecosystem.

  • Used for staking, voting, and rewarding credible reports.
  • Required for API access and developer integration.
  • Fully on-chain with transparent tokenomics.

Fradium API Developer

A public API for developers to integrate Fradium Analyzer directly into wallets, dApps, or exchanges.

  • Embed real-time risk detection into your own platform.
  • Authenticate via FRADIUM tokens for usage credits.
  • Boost trust and safety for your Web3 users.

🧪 Beta Testing with Real Users (SUS Framework)

To ensure Fradium is not just powerful but also usable, we ran beta tests with real users, applying the System Usability Scale (SUS) framework. This gave us concrete feedback on clarity, efficiency, and user confidence.

Image 1 Image 2 Image 2 Image 2
Watch the video

🎥 Above is a short video recap of the beta testing process and user feedback: Watch the video


How the Fradium AI Threat Detection Works (White-Box View):

  • Real-Time Address Analysis: Constantly analyzes blockchain addresses across multiple chains (Bitcoin, Ethereum, Solana, ICP) as transactions occur.

  • Advanced Feature Engineering: Extracts 100+ behavioral and transactional features, including:

    • Transaction Patterns: Frequency, timing, and amount distributions of address activity.
    • Network Relationships: Address clustering, interaction patterns, and connection analysis.
    • Behavioral Signatures: UTXO spending patterns, smart contract interactions, and gas usage.
    • Risk Indicators: Known scam patterns, suspicious activity flags, and anomaly detection.
  • Multi-Chain Intelligence: Builds comprehensive threat profiles by analyzing chain-specific behaviors and cross-chain patterns, modeling different attack vectors and fraud techniques.

  • Predictive Modeling: Uses Neural Networks (MLP) via ONNX to predict threat levels, highlighting the most influential features driving security assessments.

What the AI Prioritizes:

Our model has learned that the most critical predictors of malicious activity are:

  • Transaction Clustering Patterns – How addresses group together and interact with known threat actors has the strongest impact on threat scoring.
  • Behavioral Anomalies – Deviations from normal spending/interaction patterns significantly affect risk assessment.
  • Network Position & Gas Usage – How addresses position themselves in the network and their resource consumption patterns.
  • Temporal Analysis – Timing patterns, activity bursts, and coordination with other suspicious addresses.

Other factors such as transaction amounts, contract interactions, and validator patterns still contribute, but with less influence compared to the above.

Technical Architecture Model Performance
ML Framework Neural Networks (MLP) via ONNX
Inference Engine tract-onnx on Internet Computer
Model Training Python (scikit-learn)
Deployment Embedded ONNX models in Wasm canisters
Processing On-chain inference for trustless predictions
Learning Continuous improvement through community feedback

Multi-Chain Coverage:

  • Bitcoin Detection: Analyzes UTXO patterns, transaction clustering, and spending behaviors
  • Ethereum Detection: Examines smart contract interactions, ERC-20 token flows, and gas usage patterns
  • Solana Detection: Evaluates program interactions, token account behaviors, and validator patterns
  • ICP Detection: Monitors canister interaction patterns, cycles consumption behavior, principal authentication analysis, and inter-canister communication patterns
Features Importance Confusion Matrix
Image 1 Image 2
Precision Recall True/False Positive Training Loss
Image 1 Image 2 Image 3

📖 For more details, see the technical explanation.


🚀 Build and Deployment Instructions

Prerequisites

  • Install the IC SDK v0.27.0. If the IC SDK is already installed with an old version, install 0.27.0 with dfxvm.
  • Confirm the IC SDK has been installed with the correct version with dfx --version.
  • Install candid-extractor
  • On macOS, an llvm version that supports the wasm32-unknown-unknown target is required. This is because the zstd crate (used, for example, to decode base64+zstd-encoded responses from Solana's getAccountInfo) depends on LLVM during compilation. The default LLVM bundled with Xcode does not support wasm32-unknown-unknown. To fix this, install the Homebrew version, using brew install llvm.

Begin by opening a terminal window.

Install MOPS

Install the MOPS package manager, e.g., by running

curl -fsSL cli.mops.one/install.sh | sh

Install cargo:

curl https://sh.rustup.rs -sSf | sh

Install Bitcoin Locally with Regtest

Fradium includes Bitcoin functionality. For testing and development, you can run a local Bitcoin regtest instance, allowing you to mine blocks instantly, issue fake BTC, and test transfers securely.

To set up your local Bitcoin regtest environment, follow this official guide:

👉 Install bitcoin on local machine

The guide walks you through:

  • Installing bitcoind
  • Creating bitcoin.conf and bitcoin_data directory
  • Running bitcoind

Once bitcoind is running successfully on your local machine, you can proceed to set up and deploy the application.

Setup Application:

  • Start local Internet Computer replica

     cd fradium/
     dfx start --clean --background
  • Deploy applications

     dfx deploy
  • Run the script to mint Fradium tokens to the backend

     chmod +x ./scripts/fradium.mint_backend.sh
     ./script/fradium.mint_backend.sh

🧪 Fradium PocketIC Test Suite

Fradium’s backend canister has been fully tested using PocketIC, a local in-memory Internet Computer emulator that ensures deterministic, reliable, and isolated testing before deployment.

✅ Test Summary

All major canister modules have passed internal verification:

  • Community Module: Validates basic canister functions and state transitions.
  • Faucet Module: Ensures proper token distribution and cooldown logic.
  • Staking & Rewards: Simulates reward distribution and staking flows end-to-end.
  • Voting Mechanism: Confirms user authentication, voting logic, and data integrity.
  • Comprehensive Suite: Skipped by design (mock file dependency).

Result: 28 tests passed successfully with 0 failures. 9 tests skipped intentionally.

⚙️ Quick Start (Local Testing)

To run the test suite locally:

# Setup Python virtual environment
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

# Start local Internet Computer
dfx start --clean --background

# Build canisters
dfx build

# Run tests
python -m unittest tests.test_community tests.test_faucet tests.test_staking_rewards tests.test_voting_mechanism -v

Expected output:

Ran 28 tests in XXs
OK

🏗️ Architecture Overview

Fradium is built fully on-chain, combining multi-chain analytics, AI inference, and community governance into a seamless security layer for Web3. The architecture ensures every transaction is checked before execution, supported by AI models running inside Internet Computer canisters.

🔹 System Architecture

The high-level design of Fradium, showing how cross-chain data flows into the analytics engine, how AI models run on-chain, and how users interact via wallet, extension, and reporting modules.

Fradium Architecture Diagram

🔹 User Flow

Illustrates the journey of a user interacting with Fradium from scanning an address, receiving an AI-powered risk score, to community-driven reporting and DAO voting for validation.

User Flow Diagram

🔹 Buy Token with Fiat Flow – Transak

This flow demonstrates how users can purchase Fradium tokens directly using fiat currency through Transak, a secure on-ramp provider.

User Flow Diagram

🔥 Complex Features Implemented

  • Chain fusion Technology: Unified integration with multiple blockchain networks, allowing address lookups, transaction insights, and security checks across different ecosystems from a single platform.
  • AI On-Chain Address Analyzer: Advanced machine learning models trained on complex datasets of blockchain activity, converted into ONNX format and deployed directly on Internet Computer canisters for real-time, trustless threat detection.
  • Fradium Wallet Extension: A browser-based companion tool that adds pre-send safety checks, risk explanations, and cross-chain token support, helping users stay safe while interacting with dApps, wallets, and explorers.
  • LLM On-Chain Interaction: Large Language Model successfully deployed inside an ICP canister, enabling intelligent on-chain AI interaction without relying on off-chain servers.
  • DAO-Driven Community Reporting & Voting: A fully on-chain governance system where users can report suspicious addresses, validate evidence, and participate in decentralized voting—forming a security-focused DAO that strengthens collective trust in Web3.
  • Custom $FRADIUM Token: Native utility and governance token built with ICRC-1 and ICRC-2 standards, powering staking, voting, and rewarding credible community contributions.

🗺️ Future Roadmap

Fradium’s development journey is divided into four key phases, each focused on building, testing, scaling, and expanding the ecosystem.

🌱 Emerging Phase

Goal Description
Build Product Develop all core features and products in the target platform.
Integration with SNS Integrate with decentralized networks for community governance.
On-chain Continuous AI Training Strengthen Fradium’s detection model through real-time on-chain learning.

🚀 Early Stage

Goal Description
Build Community Foster ambassadors and early testers to drive organic adoption.
Custdev and Testnet Engage users to test and provide feedback on the product.
University Outreach Build a strong Web3 student community to onboard new crypto users.

💰 Pre-TGE Phase

Goal Description
Token Listing Preparation Announce token listing to build anticipation and awareness.
Marketing Hype Run targeted KOL and campaign strategies to attract investors and users.
Partnership Expansion Collaborate with ecosystem partners, launch early incentives, and cross-community promotions.

🌐 Post-TGE Phase

Goal Description
CRM & Retention Strengthen user loyalty through rewards, governance participation, and education programs.
Maintain Visibility Continue engagement with updates, AMA sessions, and press releases.
Ride the Hype Leverage post-TGE momentum to sustain user and investor interest.

📃 License

Distributed under the MIT License. See LICENSE.txt for more information.

🍀 Our Teams

  • Wildan Syukri Niam (Frontend Developer)
  • Bintang Al-Fath (Product Developer)
  • Ghina Rosvita Maharani (UI/UX Designer)
  • Arga Adolf Lumunon (AI Engineer)
  • Yazid Al Ghozali (Extension Developer)

About

AI-assisted Web3 wallet and transaction-risk platform for cross-chain fraud detection, forensic analysis, swaps, and payment links on ICP.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages