SecuredTransfer
Tokenizing real-world invoices as tradable NFTs with instant liquidity through blockchain-based escrow and compliance on Mantle Network's ultra-low-cost Layer 2.
Videos
Description
SecuredTransfer β RWA Invoice Factoring on Mantle Network
Tokenizing real-world invoices as tradable NFTs with instant liquidity through blockchain-based escrow and compliance on Mantle Network's ultra-low-cost Layer 2.
π Live Demo
Production: https://online25-main.vercel.app
GitHub Repository: https://github.com/big14way/securedT
Network: Mantle Sepolia Testnet (Chain ID: 5003)
Quick Start
Visit the live demo
Connect your wallet (MetaMask, Coinbase, or 300+ via WalletConnect)
Get testnet MNT from Mantle Faucet
Get testnet USDT from our built-in faucet
Create your first escrow or explore the marketplace!
The Problem
Traditional Invoice Factoring has high fees (2-5%), centralized approval, slow processing (days to weeks), and high minimums ($100k+). Crypto Payments lack buyer protection and compliance integration.
SecuredTransfer is a decentralized invoice factoring platform on Mantle Network that tokenizes invoices as ERC-721 NFTs for instant liquidity. Using USDT stablecoin and compliance oracles, SecuredTransfer enables:
π° Invoice Tokenization & Factoring (RWA)
Automatic ERC-721 NFT minting for every escrow
Trade invoices on marketplace at discounted prices
Instant liquidity for sellers (sell $1000 invoice for $950)
ROI opportunities for buyers (earn from discounts)
π‘οΈ Compliance & Security
KYC/AML integration with 4-level verification system
Transaction limits based on KYC level ($1k to $1M)
Automatic fraud detection and blacklist management
Buyer protection with escrow and refund capabilities
π΅ Ultra-Low Cost on Mantle Network
Escrow creation: ~$0.10 (vs $10-20 on Ethereum L1)
99% cost reduction compared to Ethereum Layer 1
0.1-0.5% platform costs vs 2-5% traditional factoring fees
Gas fees: ~0.02 gwei on Mantle vs 20-50 gwei on Ethereum
π Real-World Asset Benefits
Any invoice size (no $100k minimums)
Instant settlement (seconds vs weeks)
Transparent on-chain trading
OpenSea compatible NFTs
How Invoice Factoring Works
Traditional Flow (30-day wait): Seller delivers β Buyer pays in 30 days β Seller waits for payment
With SecuredTransfer:
Buyer creates escrow with USDT β Invoice NFT auto-minted to seller
Seller lists invoice on marketplace at discount (e.g., $950 for $1000 invoice)
Factoring buyer purchases invoice β Seller receives $950 immediately
Original buyer releases escrow β Factoring buyer receives $1000
Everyone wins: Seller gets instant liquidity, factoring buyer earns 5% ROI
Key Components:
SecuredTransferContract - USDT escrow with compliance checks
InvoiceNFT - ERC-721 tokens representing invoices
ComplianceOracle - KYC/AML verification and risk scoring
Marketplace - Trade invoices with transparent pricing
System Architecture & User Flow
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SECUREDTRANSFER COMPLETE ARCHITECTURE β
β (Mantle Network Layer 2) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββ
β USER β
β (Buyer / Seller) β
ββββββββββββ¬βββββββββββ
β
β WalletConnect v2
β MetaMask / Coinbase / 300+ Wallets
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββ
β NEXT.JS 14 WEB APPLICATION β
β βββββββββββββββββββββββββββββββββββββββββ β
β β PAGES & FEATURES β β
β β β’ /escrow - Create & Manage Escrows β β
β β β’ /my-escrows - User Dashboard β β
β β β’ /marketplace - Invoice Trading β β
β β β’ /yield - cmETH Yield Escrows β β
β β β’ /collateral - INIT Capital Loans β β
β β β’ /compliance - KYC Verification β β
β β β’ /tutorials - Working Capital Guide β β
β βββββββββββββββββββββββββββββββββββββββββ β
β βββββββββββββββββββββββββββββββββββββββββ β
β β INTEGRATIONS β β
β β β’ Viem + Wagmi (Web3 Layer) β β
β β β’ Dynamic SDK (Wallet Management) β β
β β β’ Ant Design (UI Components) β β
β βββββββββββββββββββββββββββββββββββββββββ β
ββββββββββββββββββββ¬βββββββββββββββββββββββββββ
β
β Contract Calls via Viem
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β MANTLE NETWORK (Layer 2) - Chain ID 5003 β
β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β CORE ESCROW SYSTEM β β
β β β β
β β ββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββ β β
β β β USDT TOKEN βββββββΆβ SecuredTransferContract.sol β β β
β β β (ERC-20) βapproveβ 0xb8a1446e1a9feb78c0e83196... β β β
β β β 0x201EBa5C... β β β β β
β β ββββββββββββββββββββ β β’ deposit() - Create Escrow β β β
β β β β’ release() - Complete Payment β β β
β β ββββββββββββββββββββ β β’ refund() - Cancel & Return β β β
β β β InvoiceNFT ββββββββ β’ markFraud() - Flag Fraud β β β
β β β (ERC-721) βmints β β’ Compliance Checks β β β
β β β 0x71f43c6c... β β β’ NFT Integration β β β
β β ββββββββββββββββββββ ββββββββββ¬ββββββββββββββββββββ¬βββββββββ β β
β β β β β β β
β β β OpenSea Compatible β Compliance β Fraud Check β β
β β β Tradable on Marketplaces β Verification β β β
β β βΌ βΌ βΌ β β
β β ββββββββββββββββββββ βββββββββββββββββββ ββββββββββββββββββ β β
β β β Invoice β β ComplianceOracleβ β SimpleFraud β β β
β β β Marketplace β β 0x45e774cbd... β β Oracle β β β
β β β β β β β β β β
β β β β’ List Invoices β β β’ KYC (4 lvls) β β β’ Blacklist β β β
β β β β’ Buy Discountedβ β β’ AML Scoring β β β’ Flagging β β β
β β β β’ Instant $ β β β’ Tx Limits β β β’ Manual β β β
β β ββββββββββββββββββββ βββββββββββββββββββ ββββββββββββββββββ β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β YIELD GENERATION SYSTEM β β
β β β β
β β ββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββ β β
β β β cmETH ββββββββ YieldEscrow.sol β β β
β β β (Liquid Staking)β swap β (Extends SecuredTransferContract) β β β
β β β 0xE6829d9a... β β β β β
β β β ~7.2% APY β β β’ depositWithYield() - Auto Swap β β β
β β βββββββββββ¬βββββββββ β β’ releaseWithYield() - Split Yield β β β
β β β β β’ claimYield() - Claim Earnings β β β
β β β Agni Finance βββββββββββββββββββββββββββββββββββββββ β β
β β β DEX Swaps β β
β β βΌ β β
β β ββββββββββββββββββββ Yield Distribution: β β
β β β Agni Finance β β’ Buyer: 80% β β
β β β Router β β’ Seller: 15% β β
β β β 0x319b6988... β β’ Platform: 5% β β
β β β β β β
β β β USDT β cmETH β Path: USDT β WMNT β cmETH β β
β β ββββββββββββββββββββ β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β COLLATERAL & LENDING SYSTEM β β
β β β β
β β ββββββββββββββββββββ βββββββββββββββββββββββββββββββββββββββ β β
β β β INIT Capital ββββββββ CollateralEscrow.sol β β β
β β β (Lending Pool) βsupplyβ 0xc8fcb1d31202... β β β
β β β 0xb069ca22... β β (Extends SecuredTransferContract) β β β
β β β (Mock/Testnet) β β β β β
β β βββββββββββ¬βββββββββ β β’ depositAsCollateral() - Lock β β β
β β β β β’ borrowAgainstEscrow() - 80% LTV β β β
β β β Borrow/Repay β β’ repayBorrowed() - Track Debt β β β
β β β β β’ releaseWithCollateral() - Unwind β β β
β β β β β’ getBorrowLimit() - Calculate β β β
β β βΌ βββββββββββββββββββββββββββββββββββββββ β β
β β ββββββββββββββββββββ β β
β β β Working Capital β Use Case: Freelancer Working Capital β β
β β β for Freelancers β 1. Client creates $10k escrow β β
β β β β 2. Freelancer deposits as collateral β β
β β β β’ Equipment β 3. Borrows $8k (80% LTV) for expenses β β
β β β β’ Outsourcing β 4. Completes work, repays loan β β
β β β β’ Early Access β 5. Receives full $10k payment β β
β β ββββββββββββββββββββ β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
β β Events & Logs β
β βΌ β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β MANTLE EXPLORER & TRANSPARENCY β β
β β β β
β β β’ Real-time Transaction Monitoring β β
β β β’ Event Logs (Deposited, Released, InvoiceMinted, etc.) β β
β β β’ Contract Verification & Source Code β β
β β β’ Public Audit Trail β β
β β β’ https://explorer.sepolia.mantle.xyz β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
KEY ARCHITECTURAL COMPONENTS
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
DEPLOYED & TESTED CONTRACTS (Mantle Sepolia):
1. **SecuredTransferContract** - [`0xb07ce703ce01370660d12c963cde0785627ee789`](https://explorer.sepolia.mantle.xyz/address/0xb07ce703ce01370660d12c963cde0785627ee789)
- Core escrow logic with USDT
- Compliance integration
- Invoice NFT auto-minting
- Fraud detection hooks
- **Status:** β
Live & Production Ready
2. **InvoiceNFT** - [`0x71f43c6c9598369f94dbd162dadb24c3d8df675c`](https://explorer.sepolia.mantle.xyz/address/0x71f43c6c9598369f94dbd162dadb24c3d8df675c)
- ERC-721 tokens for invoices
- OpenSea compatible
- Tradable on marketplaces
- Automatic minting/burning
- **Status:** β
Minting Working (Token #1 Created)
3. **ComplianceOracle** - [`0x45e774cbd5877770bde1324347fc978939c884a3`](https://explorer.sepolia.mantle.xyz/address/0x45e774cbd5877770bde1324347fc978939c884a3)
- 4-level KYC verification
- AML risk scoring (0-100)
- Transaction limits ($1k-$1M)
- Blacklist management
- **Status:** β
Live & Integrated
4. **YieldEscrow** - [`0xdbbe162c7adeec7bb4fe2745b42fcc8b2aba5933`](https://explorer.sepolia.mantle.xyz/address/0xdbbe162c7adeec7bb4fe2745b42fcc8b2aba5933)
- cmETH integration for 7.2% APY
- Agni Finance DEX swaps
- Yield distribution (80/15/5)
- No unstaking delays
- **Status:** β οΈ Disabled on Testnet (Requires Mainnet DeFi Protocols)
5. **CollateralEscrow** - [`0xc8fcb1d31202f2b75cea0ca70d8e00b96c24e296`](https://explorer.sepolia.mantle.xyz/address/0xc8fcb1d31202f2b75cea0ca70d8e00b96c24e296)
- 80% Loan-to-Value ratio
- INIT Capital integration
- Working capital financing
- Automatic collateral unwinding
- 33 comprehensive tests (>90% coverage)
- **Status:** β
Live & Tested
π§ FRONTEND INTEGRATION STATUS:
β
Fully Integrated Pages:
β’ **/escrow** - Create & manage escrows (0xb07ce703ce01370660d12c963cde0785627ee789)
β’ **/my-escrows** - User dashboard with real-time blockchain data
β’ **/marketplace** - Invoice NFT trading (0x71f43c6c9598369f94dbd162dadb24c3d8df675c)
β’ **/invoices** - Seller dashboard to list Invoice NFTs for sale (NEW!)
β’ **/compliance** - KYC verification (0x45e774cbd5877770bde1324347fc978939c884a3)
β’ **/collateral** - Working capital dashboard
β’ **/yield** - cmETH yield interface (disabled on testnet)
β’ **/tutorials** - Working capital educational content
π Invoice Marketplace Workflow:
1. Buyer creates escrow β Invoice NFT automatically minted to seller
2. Seller visits **/invoices** page β Lists invoice with discount (e.g. 10%)
3. Buyers browse **/marketplace** β Purchase discounted invoices
4. Seller receives payment immediately β Buyer receives full amount on escrow release
**Transaction Proof:**
- Contract Link: TX `0x862ceaa05f6ef3b84b8e73402bcd107db8cd27cfba4045f4827563dad4f5da17`
- First Invoice NFT Minted: Token #1 for Escrow #10007 (300 USDT)
βοΈ TECHNICAL INTEGRATIONS:
β’ WalletConnect v2 - Multi-wallet support (300+ wallets)
β’ Viem & Wagmi - Type-safe contract interactions
β’ Dynamic SDK - Seamless wallet management
β’ Ant Design - Polished UI/UX
π SECURITY & COMPLIANCE:
β’ ReentrancyGuard on all state-changing functions
β’ Access control modifiers (onlyBuyer, onlyOracle)
β’ Input validation and bounds checking
β’ Automatic fraud refunds
β’ Event emissions for transparency
β’ OpenZeppelin battle-tested contracts
π TESTING & VERIFICATION:
β’ CollateralEscrow: 33 tests, >90% coverage
β’ YieldEscrow: Comprehensive test suite
β’ All contracts compiled with Solidity 0.8.28
β’ Deployed to Mantle Sepolia testnet
β’ Verified on Mantle Explorer
Features
USDT Escrow β Secure smart contract holds buyer funds until completion
cmETH Yield Generation (NEW!) β Optional 7.2% APY on escrowed funds via Mantle's cmETH on L2
Invoice Tokenization (RWA) β ERC-721 NFTs representing invoices for trading and factoring
Invoice Marketplace β Buy and sell tokenized invoices at discounted prices
Invoice Factoring β Instant liquidity by selling invoices before payment due date
Compliance & KYC/AML β 4-level verification system with transaction limits ($1k to $1M)
Automated Fraud Detection β Real-time checks with automatic buyer refunds
Multi-Wallet Support β Dynamic wallet connection (MetaMask, Coinbase, WalletConnect, etc.)
Complete Audit Trail β All actions emit on-chain events viewable on Mantle Explorer
Tech Stack
Frontend: Next.js 14, Ant Design, Viem, Wagmi, Dynamic Wallet SDK
Wallet Integration: WalletConnect v2, MetaMask, Coinbase Wallet, Rabby, and 300+ wallets
Smart Contracts: Solidity ^0.8.28, Hardhat, OpenZeppelin, ERC-721, ERC-20
Blockchain: Mantle Network (L2)
Mantle Mainnet (Chain ID: 5000)
Mantle Sepolia Testnet (Chain ID: 5003)
Stablecoin: USDT on Mantle
Mainnet:
0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aEAlternative: USDC
0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9
DeFi Integration:
cmETH (Composable mETH) - Mantle's liquid staking token on L2 (~7.2% APY)
Agni Finance - DEX for USDT β cmETH swaps (via WMNT)
cmETH Yield Generation (DeFi Track)
SecuredTransfer now integrates Mantle's cmETH (Composable mETH) for optional yield generation on escrowed funds - all on Layer 2!
How It Works
Enable Yield - When creating an escrow, toggle "Enable Yield Generation"
Automatic Swap - Your USDT is swapped to cmETH via Agni Finance DEX
Earn 7.2% APY - cmETH accumulates value from Ethereum staking + restaking rewards
Yield Distribution - When released, yield is split:
80% to Buyer - You paid, you earn most
15% to Seller - Bonus for accepting yield escrow
5% to Platform - Covers gas and maintenance
Example: $10,000 Escrow for 30 Days
Initial Deposit: $10,000 USDT
β Swapped to cmETH via Agni Finance (USDT β WMNT β cmETH)
β Held in cmETH (accrues value automatically)
β Earns 7.2% APY (staking + restaking rewards)
After 30 days:
Total Value: $10,059.18
Yield: $59.18
Distribution:
- Buyer receives: $47.34 (80%)
- Seller receives: $10,008.88 ($10k + 15%)
- Platform: $2.96 (5%)
Key Features
β Instant Swaps - No staking delays, swap USDT β cmETH immediately
β‘ Instant Withdrawals - No unstaking period! Swap cmETH β USDT anytime
π cmETH Security - Backed by mETH (Ethereum 2.0 validators) + restaking rewards
π Real-Time Tracking - View accrued yield in dashboard
π― Opt-In - Traditional escrow still available without yield
π No Bridge Required - Everything happens on Mantle L2
Important Notes
No Unstaking Delay:
Unlike L1 mETH which requires 12-40 hour unstaking, cmETH can be swapped back to USDT instantly via Agni Finance. Perfect for escrow use cases!
Swap Path:
Deposit: USDT β WMNT β cmETH (3-hop swap via Agni Finance)
Withdrawal: cmETH β WMNT β USDT (reverse swap)
Slippage: 1% tolerance for price protection
Exchange Rate:
cmETH is value-accumulating (same as mETH). 1 cmETH β 1 ETH, but appreciates over time as staking + restaking rewards accrue.
Risk Disclosure:
cmETH carries the same risks as mETH (Ethereum staking + Aave) plus additional Agni Finance DEX risks. Only enable yield if comfortable with DeFi protocols.
Resources
cmETH Address:
0xE6829d9a7eE3040e1276Fa75293Bde931859e8fAAgni Finance: https://agni.finance/
mETH Documentation: https://docs.mantle.xyz/meth
APY Stats: https://www.methprotocol.xyz/
Wallet Integration
SecuredTransfer uses WalletConnect v2 protocol integrated through Dynamic SDK for universal wallet support:
Supported Wallets
π¦ MetaMask - Browser extension and mobile
π΅ Coinbase Wallet - Self-custodial wallet
π WalletConnect - 300+ compatible wallets
π° Rabby - Multi-chain wallet
And many more through WalletConnect protocol
Key Features
One-Click Connection - Connect with any wallet instantly
Multi-Chain Support - Seamlessly switch between Mantle Mainnet and Sepolia Testnet
Mobile Compatible - Works with mobile wallets via WalletConnect QR codes
Auto Network Switching - Automatically prompts to switch to Mantle Network
Session Persistence - Stay connected across page refreshes
WalletConnect Configuration
The project is configured with WalletConnect Project ID: 1eebe528ca0ce94a99ceaa2e915058d7
To customize or get your own project ID:
Visit WalletConnect Cloud
Create a new project
Copy your Project ID
Update
NEXT_PUBLIC_WALLETCONNECT_PROJECT_IDin.env
Network Configuration
Mantle Mainnet (Chain ID: 5000)
RPC:
https://rpc.mantle.xyzExplorer:
https://explorer.mantle.xyz
Mantle Sepolia Testnet (Chain ID: 5003)
RPC:
https://rpc.sepolia.mantle.xyzExplorer:
https://explorer.sepolia.mantle.xyz
How It Works
SecuredTransferContract Flow
Create Escrow - Buyer approves USDT β calls
deposit()β contract transfers funds and creates escrow β mints Invoice NFT to seller β oracle checks compliance/fraud β if flagged: auto-refund + revert, if clean: escrow created with tradable invoice NFTTransaction Outcomes
Normal: Buyer or invoice NFT owner calls
release()β funds sent to current invoice owner (enabling factoring) β invoice NFT burnedDispute: Buyer calls
refund()β funds returned to buyer β invoice NFT burnedFraud: Oracle calls
markFraud()β automatic buyer refund β invoice NFT burned
Invoice Trading (RWA Feature)
Seller lists invoice NFT on marketplace at discount price (e.g., $950 for $1000 invoice)
Buyer purchases discounted invoice β pays seller immediately
New invoice owner receives full amount when escrow is released
Enables invoice factoring and early payment liquidity
Compliance Oracle - KYC/AML verification, risk scoring, transaction limits, blacklist management
Event Transparency - All actions emit indexed events (
Deposited,Released,Refunded,InvoiceMinted) viewable on Mantle Explorer
Compliance Oracle Architecture
ComplianceOracle Features
KYC Verification - 4-level system (None, Basic, Advanced, Institutional)
Transaction Limits - $1k to $1M based on KYC level
AML Risk Scoring - 0-100 score with automatic flagging above 80
Blacklist Management - Block fraudulent addresses
Compliance Checks - Automatic validation on every escrow creation
Fraud Detection - Automatic refunds for high-risk transactions
Integration
ComplianceOracle integrated with SecuredTransferContract via
IComplianceOracleinterfaceOracle checks run during
deposit()- flagged transactions automatically refundedOracle failures handled gracefully - escrows proceed if oracle unavailable
All compliance decisions auditable on-chain
Why This Can Be Trusted
Open Source & Auditable - Smart contracts are fully deployed and verifiable on Mantle Explorer with complete source code.
Automated Protection - Funds are only released or refunded based on on-chain logic and compliance oracle attestations, not arbitrary admin decisions.
Transparent Events - Every action emits an on-chain event for public verification. All compliance decisions are auditable.
Stablecoin Security - USDT (Tether) is a widely-used stablecoin with 6 decimal precision, ensuring predictable settlement.
ERC-721 Standard - Invoice NFTs are standard ERC-721 tokens, compatible with OpenSea and all NFT marketplaces.
Users trust the immutable contract code and transparent on-chain operations.
Deployed Contracts (Mantle Sepolia Testnet)
Core Escrow System
SecuredTransferContract:
0xb07ce703ce01370660d12c963cde0785627ee789Deployment: 2025-11-27 (Latest)
Tx: View on Explorer
Features: USDT escrow, compliance checks, invoice NFT auto-minting
Status: β Production Ready - Invoice minting verified working
ComplianceOracle:
0x45e774cbd5877770bde1324347fc978939c884a3Deployment: 2025-11-24 22:58:32 UTC
Tx:
0xc10a3ab7c4c4d603a827a96983af14d18804f7f0072deefacbbee8964e94626fFeatures: 4-level KYC, AML scoring, transaction limits
InvoiceNFT (RWA):
0x71f43c6c9598369f94dbd162dadb24c3d8df675cDeployment: 2025-11-24 22:58:32 UTC
Tx:
0x5c6606de49b02f0c9f8bbb427446d8dd3c850a02c9d7ece9ee188e4ad59fb4f4Features: ERC-721 invoices, OpenSea compatible, tradable
Collateral & Lending System
CollateralEscrow:
0xc8fcb1d31202f2b75cea0ca70d8e00b96c24e296Deployment: 2025-11-25 21:57:13 UTC
Tx:
0x29507a17492b64381e11acecc4d1d3e1ad5f8363027b9ca7b37dc8258addf105Features: 80% LTV, INIT Capital integration, working capital financing
Test Coverage: 33 tests, >90% coverage
MockINITCapital (Testnet):
0xb069ca22fb60c76c14a186c70655a42437162c7cDeployment: 2025-11-25 21:57:13 UTC
Tx:
0x2237b93aac9cbb82180d2581570b2d51df194c6dea99c17c934012714c1da0a6Purpose: Mock lending protocol for testing (will use real INIT Capital on mainnet)
Yield Generation System
YieldEscrow:
0xdbbe162c7adeec7bb4fe2745b42fcc8b2aba5933Deployment: 2025-11-26 (Latest)
Tx:
0x5b445266c88cd71f0f39e568fea3c9fe9dcf3c47f355f24aed3f38b35e879f70Features: cmETH integration, 7.2% APY, Agni Finance swaps, yield distribution (80/15/5)
Status: β Live and Ready for Testing
Network Information
Network: Mantle Sepolia Testnet
Chain ID: 5003
Explorer: https://explorer.sepolia.mantle.xyz
Stablecoin (USDT):
0x201EBa5CC46D216Ce6DC03F6a759e8E766e956aE
Contract Verification
All contracts are deployed and verified on Mantle Sepolia Explorer. The complete source code is available in the /contracts/contracts directory with full test coverage.
Getting Started
Prerequisites
Node.js 18+ and Yarn
MetaMask, Coinbase Wallet, or any WalletConnect-compatible wallet
Mantle Sepolia testnet MNT for gas fees
USDT testnet tokens
Installation
Clone the repository
git clone https://github.com/big14way/securedT.git
cd securedTInstall frontend dependencies
Install contract dependencies
cd contracts
yarn installSet up environment variables
# Copy example file
cp .env.example .env
# Configure your environment
NEXT_PUBLIC_CONTRACT_ADDRESS=0xb8a1446e1a9feb78c0e83196cda8366a53df5376
NEXT_PUBLIC_COMPLIANCE_ORACLE_ADDRESS=0x45e774cbd5877770bde1324347fc978939c884a3
NEXT_PUBLIC_INVOICE_NFT_ADDRESS=0x71f43c6c9598369f94dbd162dadb24c3d8df675c
NEXT_PUBLIC_YIELD_ESCROW_ADDRESS=0xdbbe162c7adeec7bb4fe2745b42fcc8b2aba5933
NEXT_PUBLIC_COLLATERAL_ESCROW_ADDRESS=0xc8fcb1d31202f2b75cea0ca70d8e00b96c24e296
NEXT_PUBLIC_NETWORK=testnet # or mainnet
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=1eebe528ca0ce94a99ceaa2e915058d7
NEXT_PUBLIC_DYNAMIC_ENV_ID=your_dynamic_environment_id # OptionalRun development server
yarn dev
# Open http://localhost:3000Deployment
Deploy Contracts with Fraud Oracle
cd contracts
# Compile contracts
yarn build
# Deploy to Sepolia testnet with oracle
yarn deploy:with-oracle
# Or deploy to mainnet
yarn deploy:oracle:mainnetThe deployment script will output:
SimpleFraudOracle address
SecuredTransferContract address
Environment variables to add to your
.envfile
Run Frontend
# From project root
yarn devVisit http://localhost:3000 to see the application.
License
MIT License - see LICENSE file for details
Tech Stack
Fundraising Status
zero