A secure, efficient cross-chain token bridge built on Across Protocol's infrastructure, enabling seamless asset transfers across multiple blockchain networks.
- 🌉 Multi-Chain Token Transfers
- 🔒 Advanced Security Mechanisms
- 📊 Comprehensive Transfer Tracking
- 💸 Dynamic Fee Calculation
- Across Protocol Integration
- Leverages Across Protocol's V3 Core Router
- Seamless cross-chain transfer execution
- Automatic liquidity management
- Unique transfer ID generation
- Detailed transfer metadata tracking
- Cross-chain transfer execution with status tracking
Transfer statuses:
INITIATED
: Transfer startedCOMPLETED
: Transfer successfulFAILED
: Transfer unsuccessful
getUserTransfers()
: Retrieve user's recent transfersgetTransferDetails()
: Get specific transfer detailsgetTotalTransfers()
: Get total number of bridge transfers
- SafeERC20 token handling
- ReentrancyGuard protection
- Ownership-based access control
- Comprehensive input validation
- Dynamic fee calculation via Across Protocol Core Router
- Estimated fee calculation through
getEstimatedBridgeFee()
- Solidity 0.8.19
- OpenZeppelin Contracts
- Across Protocol Interfaces
PRIVATE_KEY
: Deployment wallet private keyACROSS_CORE_ROUTER
: Across Protocol Core Router addressACROSS_SPOKE_POOL
: Spoke Pool contract address
npx hardhat deploy --network [target_network]
npx hardhat test
- Ethereum Mainnet
- Arbitrum
- Optimism
Experimental implementation. Use at your own risk.
MIT License