cross-chain-bridge-guide
БесплатноБез исполняемых скриптовНе проверенGuide to cross-chain bridges — bridge architectures, trust assumptions, security risks, major bridges comparison, and bridging best practices. Covers…
от nirholas★ 289 звёзд на GitHubОб этом скилле
Cross-Chain Bridge Guide
Bridges move assets between blockchains. This guide covers how they work, which to use, and how to stay safe.
Why Bridges Exist
Each blockchain is an isolated system. Bridges connect them:
Ethereum ←──Bridge──→ Arbitrum
↕ ↕
Bridge Bridge
↕ ↕
Base ←──Bridge──→ Polygon
Use cases:
- Move ETH from Ethereum to Arbitrum for cheaper DeFi
- Access protocols only available on specific chains
- Consolidate assets scattered across chains
Bridge Architectures
Type 1: Native Bridges (Official L2 Bridges)
Used by rollup L2s to move between L1 and L2.
| Bridge | Route | Deposit Time | Withdrawal Time |
|---|---|---|---|
| Arbitrum Bridge | ETH ↔ Arbitrum | ~10 min | 7 days (fraud proof) |
| Optimism Bridge | ETH ↔ Optimism | ~10 min | 7 days (fraud proof) |
| Base Bridge | ETH ↔ Base | ~10 min | 7 days |
| zkSync Bridge | ETH ↔ zkSync | ~10 min | ~1 hour (ZK proof) |
The 7-day problem: Optimistic rollups require a 7-day challenge period for withdrawals to L1. This is why third-party bridges exist.
Type 2: Liquidity Network Bridges
Pre-fund liquidity on both chains. Users swap locally:
User deposits ETH on Chain A → Receives ETH from liquidity pool on Chain B
(No actual cross-chain message needed — just liquidity matching)
| Bridge | Speed | Chains | Best For |
|---|---|---|---|
| Stargate | 1–5 min | 15+ | Stablecoins, large amounts |
| Across | 2–10 min | 10+ | ETH, fast transfers |
| Hop | 5–20 min | 5+ | ETH, stablecoins |
Pros: Fast, no 7-day wait Cons: Limited by available liquidity, fees
Type 3: Message-Passing Bridges
Send a message cross-chain, mint/release on destination:
| Bridge | Mechanism | Chains |
|---|---|---|
| Wormhole | Guardian network validates | 30+ |
| LayerZero | Oracle + relayer (ultralight) | 30+ |
| Axelar | PoS validator network | 50+ |
Pros: Support many chains and token types Cons: Trust additional validator set, historically targeted by hackers
Type 4: Lock-and-Mint
1. Lock tokens on Chain A
2. Mint wrapped tokens on Chain B
3. To return: Burn on Chain B → Unlock on Chain A
Used by: Wormhole (wETH), Multichain (any-token), many protocol-specific bridges
Risk: If bridge contract is hacked, all locked tokens are at risk.
Bridge Comparison
| Bridge | Speed | Cost | Security | Best For |
|---|---|---|---|---|
| Official L2 Bridge | 10 min in / 7 days out | Gas only | Highest (L1 security) | Large amounts, no rush |
| Stargate | 1–5 min | ~$0.50–5 | High (LayerZero) | Stablecoins |
| Across | 2–10 min | ~$0.50–3 | High (UMA optimistic) | ETH, fast transfers |
| Hop | 5–20 min | ~$1–5 | High (AMM model) | Proven, reliable |
| Wormhole | 5–15 min | Variable | Medium (guardian set) | Multi-chain (Solana) |
| Synapse | 5–15 min | ~$1–5 | Medium | Wide chain support |
Security History
Bridges have been the #1 target for hacks in crypto:
| Bridge | Date | Loss | What Happened |
|---|---|---|---|
| Ronin (Axie) | Mar 2022 | $625M | Validator keys compromised |
| Wormhole | Feb 2022 | $325M | Smart contract bug |
| Nomad | Aug 2022 | $190M | Logic error in verification |
| Multichain | Jul 2023 | $130M | Admin key compromise |
| Harmony | Jun 2022 | $100M | Multisig key theft |
Lesson: Bridges are high-value targets. Use established bridges with strong security track records.
Bridging to Arbitrum (Sperax's Home Chain)
To use Sperax (USDs, SPA staking, Farms), you need assets on Arbitrum:
Recommended Paths
| From | Asset | Recommended Bridge | Time | Cost |
|---|---|---|---|---|
| Ethereum | ETH | Across or Stargate | 2–5 min | ~$1–3 |
| Ethereum | USDC | Stargate | 1–5 min | ~$0.50–2 |
| Ethereum | Any ERC-20 | Arbitrum Official Bridge | 10 min | Gas only |
| Base | ETH/USDC | Stargate or Across | 2–5 min | ~$0.50–2 |
| Optimism | ETH/USDC | Stargate or Across | 2–5 min | ~$0.50–2 |
| Polygon | USDC | Stargate | 1–5 min | ~$0.50 |
Step-by-Step: Bridge ETH to Arbitrum
1. Go to bridge.arbitrum.io (official) or across.to (faster)
2. Connect wallet
3. Select: From Ethereum → To Arbitrum
4. Enter ETH amount
5. Review fees and estimated time
6. Approve and send transaction
7. Wait for confirmation on Arbitrum
8. Verify on Arbiscan that funds arrived
Best Practices
Safety Checklist
- Use established bridges only — Stargate, Across, Hop, official L2 bridges
- Verify the URL — bookmark bridge sites, don't click links
- Start with a small test — bridge $10 first before large amounts
- Check bridge TVL — higher TVL = more battle-tested
- Verify on destination — confirm tokens arrived on the destination chain
Установить cross-chain-bridge-guide в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл cross-chain-bridge-guide?
Guide to cross-chain bridges — bridge architectures, trust assumptions, security risks, major bridges comparison, and bridging best practices. Covers Stargate, Across, Hop, Wormhole, and official L2 bridges. Use when helping users move assets between chains safely.
Как установить скилл cross-chain-bridge-guide?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cross-chain-bridge-guide запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic