Skip to content

biotrend252/trustbridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌉 TrustBridge

🎥 Demo Video

Watch the demo: [https://youtu.be/vSeUUpgZyJU]

Privacy-Preserving Cross-Border Remittance Platform

Chainlink Hackathon License: MIT

Reducing remittance costs by 92% using Chainlink Runtime Environment, AI routing, and privacy-preserving technology.

🎯 Problem

Traditional cross-border remittances cost 6-7% in fees and take 2-5 days. This costs users $30 billion annually in unnecessary fees.

💡 Solution

TrustBridge uses Chainlink Runtime Environment (CRE) to orchestrate:

  • AI-powered routing - Finds cheapest cross-chain paths
  • Real-time FX rates - Best rates from multiple sources
  • Privacy-preserving KYC - Confidential compliance checks
  • Risk assessment - Real-time fraud detection
  • Smart contracts - Automated settlement

Result: 0.50% fees, 5-minute transfers, 92% cost savings

🏆 Prize Tracks

  • Privacy Track ($16K) - Confidential HTTP + Private Transactions
  • CRE & AI Track ($17K) - AI routing optimization
  • Risk & Compliance ($16K) - Real-time risk scoring
  • DeFi & Tokenization ($20K) - Smart contract infrastructure

✨ Features

  • Real FX API - Live exchange rates from exchangerate-api.com
  • AI Routing - Multi-chain path optimization
  • Risk Engine - Blocks high-risk transactions
  • Web3 Interface - Wallet connection & real transactions
  • Smart Contracts - Deployed and tested (Foundry)
  • 100% Test Coverage - All tests passing

🚀 Quick Start

# Clone repository
git clone https://github.com/YOUR_USERNAME/trustbridge.git
cd trustbridge

# Run tests
./test.sh

# Start Web3 app
./start-web3.sh

Open http://localhost:3000 for full Web3 interface!

📊 Performance

Metric TrustBridge Traditional Improvement
Fee 0.50% 6-7% 92% savings
Speed 5 minutes 2-5 days 99% faster
Reliability 99% Variable Consistent

🏗️ Architecture

User Request → CRE Workflow Orchestration
  ├─ KYC Verification (Confidential)
  ├─ AI Route Optimization
  ├─ FX Rate Aggregation (Real API)
  ├─ Risk Assessment
  ├─ Proof of Reserve Check
  └─ Smart Contract Execution

🧪 Testing

# Run all tests
./test.sh

# Test contracts
forge test -vv

# Test with local blockchain
./test-local.sh

Results: 8/8 tests passing (100%)

📁 Project Structure

trustbridge/
├── workflows/          # CRE TypeScript workflows
├── src/                # Solidity contracts
├── test/               # Test suites
├── web3-app.html       # Full Web3 interface
└── docs/               # Documentation

🛠️ Tech Stack

  • Frontend: HTML/CSS/JavaScript, ethers.js
  • Backend: TypeScript, Bun runtime
  • Blockchain: Solidity, Foundry, OpenZeppelin
  • Infrastructure: Chainlink Runtime Environment (CRE)
  • APIs: exchangerate-api.com (FX rates)

📝 Documentation

📄 License

MIT License


Built with ❤️ for the Chainlink Convergence Hackathon 2026

About

Privacy-preserving cross-border remittance platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors