Skip to content

heyeren2/OFA-Bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OFA Bridge

OFA Bridge is a high-performance cross-chain bridging solution built for the modern multi-chain ecosystem, specifically optimized for secure and high-speed USDC transfers. It enables seamless asset transfers between Arc Testnet, Ethereum Sepolia, Base Sepolia, Optimism Sepolia, and Arbitrum Sepolia using Circle's CCTP and Bridge Kit.

Features

  • Bridging USDC: Transfer USDC across 5+ major testnets with guaranteed settlement.
  • Smart Swaps: Integrated Uniswap V3 logic for automatic ETH → USDC conversions during the bridge process.
  • Real-Time Analytics: Full bridge activity history powered by Goldsky subgraphs.
  • Remint Recovery: Advanced error recovery with SDK attestation caching for failed mint transactions.
  • Custom Recipient: Flexible bridging with support for sending assets to any destination address.
  • Flexible Minting: Seamless toggle between Manual (user-signed) and Auto (gasless) minting modes.

Stack

  • Frontend: React + Vite
  • Styling: Vanilla CSS (High Performance)
  • Web3: Wagmi + Viem + RainbowKit
  • Bridge SDK: Circle Bridge Kit
  • Indexing: Goldsky Subgraphs (GraphQL)
  • Icons: Lucide React

Getting Started

1. Install dependencies

npm install

2. Setup Environment Variables

Create a .env file in the root directory and add your keys (see .env.example for the template):

VITE_WALLETCONNECT_PROJECT_ID=...
VITE_ARC_RPC_URL=...
...

3. Run Development Server

npm run dev

Security & Performance

  • Sanitized Secrets: No hardcoded RPCs or API keys in the source code.
  • Dependency Audit: Regular security patches via npm audit.
  • Responsive Layout: Fully optimized for Desktop, Tablet, and Mobile devices.

X

About

One For All - USDC Cross-chain Bridge

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors