How to Bridge Crypto Between Chains: Step-by-Step Guide
Move assets between Ethereum, Arbitrum, Base, Solana, and other chains safely. The best bridges, their fees, risks, and how to automate bridging in your bot.
Builder of AI agents, crypto trading bots, and open-source automation tools. Sharing practical guides on how to build, deploy, and profit from AI and DeFi technology.
Crypto lives on multiple chains. To access the best yields, cheapest fees, or specific dApps, you need to move assets between them. Here's how to do it safely.
Why Bridge?
- Lower fees: Ethereum mainnet gas is $5-50 per transaction. Arbitrum charges $0.01-0.20.
- Better yields: Different protocols on different chains offer different APYs
- Specific dApps: Some protocols only exist on one chain
- Bot efficiency: Running a bot on Arbitrum vs Ethereum cuts costs 99%
The Best Bridges by Route
Ethereum โ Arbitrum / Optimism (Official Bridges)
- Fee: ~$5-15 (Ethereum gas only, no bridge fee)
- Speed: ~15 minutes (standard), up to 7 days for withdrawals back to L1
- Risk: Lowest โ official Arbitrum/Optimism bridge
- Use: bridge.arbitrum.io or app.optimism.io/bridge
Multi-chain (Across, Stargate, Hop)
- Fee: 0.05-0.30% of amount
- Speed: 1-5 minutes
- Best for: Fast transfers, any direction
- Across Protocol: Generally best rates for ETH L2 routes
Cross-chain (Solana โ Ethereum)
- Wormhole: The main Solana bridge. ~$3-10 fee, 5-15 minutes
- deBridge: Alternative with competitive rates
Safety Checklist
Bridges are the most-hacked category in DeFi. Before bridging:
- [ ] Verify you're using the official URL (bookmark it, never click links in emails/Discord)
- [ ] Start with a small test amount ($10-20)
- [ ] Check the bridge's audit history
- [ ] Use a bridge that's been running > 1 year without incidents
- [ ] Never bridge more than you can afford to lose to a new bridge
Bridges that have been exploited (avoid or use with extreme caution):
- Ronin Bridge: $624M stolen (2022)
- Horizon Bridge: $100M stolen (2022)
- Nomad Bridge: $190M stolen (2022)
Bridges with clean track records:
- Official L2 bridges (Arbitrum, Optimism, Base)
- Across Protocol
- Hop Protocol
Automating Bridge Transactions
For sophisticated bots, you can trigger bridge transactions programmatically:
from web3 import Web3
# Example: Bridging ETH from Ethereum to Arbitrum via official bridge
# This is simplified โ production code needs full ABI and error handling
ARBITRUM_BRIDGE = "0x4Dbd4fc535Ac27206064B68FfCf827b0A60BAB3f"
def bridge_eth_to_arbitrum(w3: Web3, account, amount_eth: float):
"""
Bridge ETH to Arbitrum via official bridge.
Takes ~15 minutes to arrive on L2.
"""
bridge_abi = [{"inputs":[],"name":"depositEth","outputs":[],"payable":True,"type":"function"}]
bridge = w3.eth.contract(address=ARBITRUM_BRIDGE, abi=bridge_abi)
amount_wei = Web3.to_wei(amount_eth, 'ether')
tx = bridge.functions.depositEth().build_transaction({
'from': account.address,
'value': amount_wei,
'gas': 200000,
'gasPrice': w3.eth.gas_price,
'nonce': w3.eth.get_transaction_count(account.address),
})
signed = account.sign_transaction(tx)
tx_hash = w3.eth.send_raw_transaction(signed.rawTransaction)
print(f"Bridge tx submitted: {tx_hash.hex()}")
print(f"Funds will arrive on Arbitrum in ~15 minutes")
return tx_hash
# Wait for bridge confirmation (poll Arbitrum for receipt)
def wait_for_l2_receipt(arb_w3: Web3, l1_tx_hash: bytes, timeout=1800) -> bool:
"""Check if L1 bridge tx has been processed on Arbitrum."""
import time
start = time.time()
while time.time() - start < timeout:
# Check Arbitrum for corresponding tx
# In practice, use Arbitrum's outbox API or bridge tracking service
time.sleep(60)
return False
Gas Token Management
Each chain needs its native token for gas:
- Ethereum: ETH
- Arbitrum: ETH (bridged)
- Optimism: ETH (bridged)
- Base: ETH (bridged)
- Polygon: MATIC
- Solana: SOL
- BNB Chain: BNB
Always keep a small buffer for gas on every chain you use. $10-20 of the native token is enough for hundreds of DeFi transactions on L2s.
Best Route by Use Case
| Goal | Best Bridge | Why | |------|-------------|-----| | ETH โ Arbitrum | Official | Free, trust minimized | | Fast USDC move | Across | 1-2 min, low fees | | Solana โ ETH | Wormhole | Dominant liquidity | | Best rates | Bungee/LI.FI | Aggregates multiple bridges |
The cross-chain future is arriving fast. In 2025, most serious DeFi users operate on 3+ chains simultaneously, routing capital where yields and opportunities are best.