1.8 KiB
1.8 KiB
Bridge System - Complete Guide
Quick Links:
Quick Start
Complete Setup (One Command)
./scripts/setup-complete-bridge.sh [private_key] [weth9_eth_mainnet] [weth10_eth_mainnet]
Step-by-Step
# 1. Check status
./scripts/check-bridge-config.sh
# 2. Configure bridges
./scripts/configure-all-bridge-destinations.sh [private_key]
# 3. Test with dry run
./scripts/dry-run-bridge-to-ethereum.sh 0.1 [address]
# 4. Bridge tokens
./scripts/wrap-and-bridge-to-ethereum.sh 1.0 [private_key]
Available Scripts
Configuration
check-bridge-config.sh- Check bridge destinationsconfigure-all-bridge-destinations.sh- Configure all destinationsfix-bridge-errors.sh- Fix Ethereum Mainnet
Operations
dry-run-bridge-to-ethereum.sh- Simulate bridge (no transactions)wrap-and-bridge-to-ethereum.sh- Wrap and bridge to Ethereum Mainnet
Verification
verify-weth9-ratio.sh- Verify 1:1 ratiotest-weth9-deposit.sh- Comprehensive testsinspect-weth9-contract.sh- Inspect WETH9inspect-weth10-contract.sh- Inspect WETH10
Utilities
get-token-info.sh- Get token informationfix-wallet-display.sh- Wallet display fixessetup-complete-bridge.sh- Master setup script
Contract Addresses
- WETH9:
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 - WETH10:
0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f - WETH9 Bridge:
0x89dd12025bfCD38A168455A44B400e913ED33BE2 - WETH10 Bridge:
0xe0E93247376aa097dB308B92e6Ba36bA015535D0
Documentation
See docs/ directory for complete documentation.
Last Updated: $(date)