[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CT1H93XJDN088N1K2VANVV":3,"skill-same:01M6CT1H93XJDN088N1K2VANVV":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":14,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M6CT1H93XJDN088N1K2VANVV","cross-chain",null,"Cross-chain bridge routing, fee comparison, transaction monitoring, and security assessment for crypto bridging","lucid-fdn\u002Flucid-plugins","lucid-fdn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F93290671?v=4","01M6CT12EHKN5DWVD9NAK6WSXT","Lucid","01M6CT12K0ARYZ8D28MK4G89F8",0,"MIT","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-defi\u002Fskill\u002Freferences\u002Fcross-chain\u002FSKILL.md",[],[19,20,21,22,23,24,5,25,26],"cross chain","security","assessment","routing","monitoring","bridge","security assessment","crypto","2026-11-10 10:12:30",false,"---\nname: cross-chain\ndescription: \"Cross-chain bridge routing, fee comparison, transaction monitoring, and security assessment for crypto bridging\"\n---\n\n# Cross-Chain\n\nRoute cross-chain token transfers via the optimal bridge, compare fees and speeds, monitor bridge transaction status, assess bridge security, and manage multi-chain portfolios.\n\n## Bridging Procedure\n\nWhen the user asks to bridge tokens or compare bridge options, follow this procedure:\n\n1. **Identify the bridging parameters**:\n   - Source chain\n   - Destination chain\n   - Token to bridge\n   - Amount\n   - Priority: cheapest, fastest, or most secure\n\n2. **Query available routes** from bridge aggregators and individual bridge protocols.\n\n3. **Compare routes** on cost, speed, and security (see route comparison below).\n\n4. **Recommend the optimal route** based on user priority.\n\n5. **Monitor the transaction** through completion if executed.\n\n## Supported Chains\n\n| Chain | Chain ID | Native Token | Bridge Support |\n|-------|----------|-------------|---------------|\n| Ethereum | 1 | ETH | All bridges |\n| Solana | solana | SOL | Wormhole, deBridge |\n| BSC | 56 | BNB | Stargate, LayerZero, Across |\n| Arbitrum | 42161 | ETH | Stargate, Across, Hop, Synapse |\n| Base | 8453 | ETH | Stargate, Across, Hop |\n| Polygon | 137 | MATIC | Stargate, Across, Hop, Synapse |\n| Optimism | 10 | ETH | Stargate, Across, Hop, Synapse |\n| Avalanche | 43114 | AVAX | Stargate, Wormhole, LayerZero, Synapse |\n\n## Route Comparison\n\n### Cost Components\n\n```\nTotal Bridge Cost = Gas Fee (source) + Bridge Fee + Gas Fee (destination) + Slippage\n\nGas Fee (source):\n  Transaction gas on source chain to initiate bridge\n  Varies by chain congestion\n\nBridge Fee:\n  Protocol fee charged by the bridge (fixed or percentage)\n  Typically 0.01% - 0.3% of amount\n\nGas Fee (destination):\n  Some bridges require destination gas\n  Others include it in the bridge fee (relayer pays)\n\nSlippage:\n  Difference between quoted and actual received amount\n  Higher for larger amounts or low-liquidity routes\n```\n\n### Speed Categories\n\n| Speed | Time Range | Use Case |\n|-------|-----------|----------|\n| Fast | \u003C 5 minutes | Urgent transfers, arbitrage |\n| Standard | 5-30 minutes | Normal transfers |\n| Slow | 30 min - 2 hours | Large transfers prioritizing cost |\n| Very Slow | 2-7 hours | Native bridges (L2 -> L1 rollup exits) |\n\n### Route Selection Algorithm\n\n```\nfunction selectOptimalRoute(routes, priority, amount):\n    # Filter out routes that don't support the token\u002Fchain pair\n    valid_routes = filter(routes, supports(source, dest, token))\n\n    # Filter out routes with insufficient liquidity\n    valid_routes = filter(valid_routes, liquidity >= amount * 1.1)\n\n    if priority == \"cheapest\":\n        return sorted(valid_routes, by: total_cost, ascending)[0]\n\n    elif priority == \"fastest\":\n        return sorted(valid_routes, by: estimated_time, ascending)[0]\n\n    elif priority == \"most_secure\":\n        return sorted(valid_routes, by: security_score, descending)[0]\n\n    elif priority == \"balanced\":\n        # Weighted score: 40% cost, 30% speed, 30% security\n        for each route:\n            route.score = (\n                (1 - normalize(route.cost)) * 0.40 +\n                (1 - normalize(route.time)) * 0.30 +\n                normalize(route.security_score) * 0.30\n            )\n        return sorted(valid_routes, by: score, descending)[0]\n```\n\n### Route Comparison Table Format\n\n```\nBridging: 1.0 ETH from Ethereum -> Arbitrum\n\n| Bridge    | Fee      | Est. Time | Output     | Security | Route           |\n|-----------|----------|-----------|------------|----------|-----------------|\n| Stargate  | $2.50    | ~2 min    | 0.9990 ETH | 85\u002F100   | Direct          |\n| Across    | $1.80    | ~3 min    | 0.9992 ETH | 80\u002F100   | Direct          |\n| Hop       | $3.20    | ~5 min    | 0.9985 ETH | 75\u002F100   | Via AMM         |\n| Synapse   | $2.80    | ~5 min    | 0.9988 ETH | 75\u002F100   | Via nETH        |\n| Native    | $8.00    | ~7 days   | 1.0000 ETH | 95\u002F100   | Rollup bridge   |\n\nRecommended: Across (cheapest with good speed and security)\n```\n\n## Bridge Protocols\n\nSee `references\u002Fbridge-protocols.md` for detailed protocol information.\n\n### Protocol Quick Reference\n\n| Protocol | Mechanism | Speed | Typical Fee | Security Model |\n|----------|----------|-------|-------------|---------------|\n| Wormhole | Message passing | 5-15 min | 0.01-0.1% | Guardian network (19 validators) |\n| Stargate | Liquidity pools | 1-5 min | 0.06% | LayerZero oracles + relayers |\n| LayerZero | Message protocol | 1-5 min | Gas only | Ultra-light node + oracle |\n| Across | Optimistic | 1-5 min | 0.04-0.12% | Optimistic verification + UMA |\n| Hop | AMM | 5-15 min | 0.04-0.3% | Bonded relayers + AMM |\n| Synapse | AMM + message | 5-15 min | 0.05-0.2% | AMM liquidity + validators |\n\n## Fee Estimation\n\n### Detailed Fee Breakdown\n\n```\nfunction estimateBridgeFee(bridge, source_chain, dest_chain, token, amount):\n    # Source chain gas\n    source_gas = estimateGas(bridge.source_contract, source_chain)\n    source_gas_usd = source_gas * gasPrice(source_chain) * nativeTokenPrice(source_chain)\n\n    # Bridge protocol fee\n    bridge_fee = amount * bridge.fee_percentage\n    # Some bridges have minimum fees\n    bridge_fee = max(bridge_fee, bridge.minimum_fee)\n\n    # Destination gas (if not included by relayer)\n    if bridge.relayer_pays_dest_gas:\n        dest_gas_usd = 0\n    else:\n        dest_gas_usd = estimateGas(bridge.dest_contract, dest_chain) *\n                       gasPrice(dest_chain) * nativeTokenPrice(dest_chain)\n\n    # Slippage estimate for AMM-based bridges\n    if bridge.uses_amm:\n        slippage = estimateSlippage(amount, bridge.pool_liquidity)\n    else:\n        slippage = 0\n\n    total_cost = source_gas_usd + bridge_fee + dest_gas_usd + slippage\n    output_amount = amount - bridge_fee - slippage\n\n    return {\n        source_gas: source_gas_usd,\n        bridge_fee: bridge_fee,\n        dest_gas: dest_gas_usd,\n        slippage: slippage,\n        total_cost: total_cost,\n        output_amount: output_amount,\n        effective_fee_pct: (1 - output_amount \u002F amount) * 100\n    }\n```\n\n### Fee Estimates by Route\n\n| Route | Typical Fee Range | Gas Component |\n|-------|------------------|---------------|\n| Ethereum -> L2 | $5-50 | High source gas |\n| L2 -> Ethereum | $1-10 + wait time | Low source gas, slow native exit |\n| L2 -> L2 | $0.50-5 | Low both sides |\n| Ethereum -> Solana | $5-30 | Ethereum gas + bridge fee |\n| Solana -> Ethereum | $1-20 | Low source, bridge fee dominant |\n| BSC -> L2 | $1-5 | Low both sides |\n\n## Transaction Monitoring\n\n### Bridge Transaction Lifecycle\n\n```\nINITIATED -> PENDING -> CONFIRMED -> FINALIZED -> COMPLETED\n\nINITIATED:   Source chain transaction submitted to bridge contract\nPENDING:     Transaction included in source chain block, waiting for confirmations\nCONFIRMED:   Sufficient confirmations on source chain, bridge processing\nFINALIZED:   Bridge has relayed\u002Fproven the message to destination chain\nCOMPLETED:   Tokens received in destination wallet\n\nTime per stage varies by bridge:\n  INITIATED -> PENDING:     1-30 seconds (source block time)\n  PENDING -> CONFIRMED:     1-15 minutes (block confirmations)\n  CONFIRMED -> FINALIZED:   Bridge-specific (seconds to hours)\n  FINALIZED -> COMPLETED:   Near-instant once finalized\n```\n\n### Tracking Endpoints\n\n| Bridge | Track Via | URL Format |\n|--------|----------|-----------|\n| Wormhole | Wormhole Explorer | `https:\u002F\u002Fwormholescan.io\u002F#\u002Ftx\u002F{txHash}` |\n| Stargate | LayerZero Scan | `https:\u002F\u002Flayerzeroscan.com\u002Ftx\u002F{txHash}` |\n| Across | Across Explorer | `https:\u002F\u002Fapp.across.to\u002Ftransactions?hash={txHash}` |\n| Hop | Hop Explorer | `https:\u002F\u002Fexplorer.hop.exchange\u002Ftx\u002F{txHash}` |\n| Synapse | Synapse Explorer | `https:\u002F\u002Fexplorer.synapseprotocol.com\u002Ftx\u002F{txHash}` |\n\n### Transaction Status Check\n\n```\nfunction checkBridgeStatus(txHash, bridge):\n    # Query bridge-specific API for status\n    status = bridge.getTransactionStatus(txHash)\n\n    return {\n        status: status.state,  # PENDING, CONFIRMED, FINALIZED, COMPLETED\n        source_chain: status.source_chain,\n        dest_chain: status.dest_chain,\n        source_tx: status.source_tx_hash,\n        dest_tx: status.dest_tx_hash,  # null if not yet completed\n        amount: status.amount,\n        token: status.token,\n        estimated_completion: status.eta,\n        confirmations: status.source_confirmations + \"\u002F\" + status.required_confirmations\n    }\n```\n\n### Monitoring Alerts\n\n| Alert | Trigger | Action |\n|-------|---------|--------|\n| Transaction Completed | Dest chain tx confirmed | Notify user, verify received amount |\n| Transaction Delayed | Time > 2x estimated | Check bridge status, advise patience |\n| Transaction Failed | Source tx reverted | Advise retry, check gas\u002Fapproval |\n| Bridge Congested | Queue time > 30 min | Suggest alternative bridge |\n| Funds Stuck | > 24h without completion | Escalate — check bridge support channels |\n\n## Security Assessment\n\nSee `references\u002Frisk-assessment.md` for detailed bridge security scoring.\n\n### Quick Security Check\n\nBefore using any bridge, verify:\n\n```\nSecurity Checklist:\n  [ ] Bridge TVL > $100M (sufficient liquidity and battle-testing)\n  [ ] No exploits in past 6 months\n  [ ] Professional audit completed\n  [ ] Active bug bounty program\n  [ ] Multi-sig or decentralized validation\n  [ ] Transaction has been verified on source chain\n\nRisk Level:\n  All checks pass:     LOW RISK\n  1-2 checks fail:     MEDIUM RISK (proceed with caution)\n  3+ checks fail:      HIGH RISK (consider alternative)\n```\n\n## Liquidity Checking\n\n### Pre-Bridge Liquidity Verification\n\n```\nfunction checkBridgeLiquidity(bridge, dest_chain, token, amount):\n    available_liquidity = bridge.getLiquidity(dest_chain, token)\n\n    if available_liquidity >= amount * 1.5:\n        return { status: \"SUFFICIENT\", slippage_risk: \"LOW\" }\n    elif available_liquidity >= amount:\n        return { status: \"TIGHT\", slippage_risk: \"MEDIUM\" }\n    else:\n        return { status: \"INSUFFICIENT\", slippage_risk: \"HIGH\",\n                 max_bridge_amount: available_liquidity * 0.8 }\n```\n\n### Large Transfer Guidance\n\n| Amount | Recommendation |\n|--------|---------------|\n| \u003C $10K | Use any reputable bridge; single transaction |\n| $10K - $100K | Compare multiple bridges; check liquidity |\n| $100K - $1M | Split across 2-3 bridges; verify liquidity on each |\n| > $1M | Contact bridge team; use native bridges when possible; split transfers |\n\n## Multi-Chain Portfolio Management\n\n### Cross-Chain Balance Aggregation\n\n```\nfunction getMultiChainBalance(wallets):\n    total_balance = {}\n\n    for each wallet in wallets:\n        for each chain in supported_chains:\n            tokens = getTokenBalances(wallet.address, chain)\n            for each token in tokens:\n                key = token.symbol\n                total_balance[key] = (total_balance[key] || 0) + token.value_usd\n\n    return total_balance\n\nPresent as:\n  Token | Ethereum | Solana | Arbitrum | Base | Total\n  ETH   | $5,000   | -      | $2,000   | $500 | $7,500\n  USDC  | $3,000   | $1,000 | $500     | $200 | $4,700\n```\n\n### Rebalancing Across Chains\n\n```\nfunction recommendRebalancing(balances, target_allocation):\n    recommendations = []\n\n    for each chain:\n        current_pct = balances[chain] \u002F total_balance * 100\n        target_pct = target_allocation[chain]\n        diff = current_pct - target_pct\n\n        if abs(diff) > 5:  # 5% threshold to trigger rebalancing\n            if diff > 0:\n                amount = total_balance * diff \u002F 100\n                recommendations.push(\"MOVE $\" + amount + \" FROM \" + chain)\n            else:\n                amount = total_balance * abs(diff) \u002F 100\n                recommendations.push(\"MOVE $\" + amount + \" TO \" + chain)\n\n    # For each recommended move, find optimal bridge route\n    for each recommendation:\n        route = selectOptimalRoute(...)\n        recommendation.route = route\n\n    return recommendations\n```","# Cross-Chain\n\nRoute cross-chain token transfers via the optimal bridge, compare fees and speeds, monitor bridge transaction status, assess bridge security, and manage multi-chain portfolios.\n\n## Bridging Procedure\n\nWhen the user asks to bridge tokens or compare bridge options, follow this procedure:\n\n1. **Identify the bridging parameters**:\n   - Source chain\n   - Destination chain\n   - Token to bridge\n   - Amount\n   - Priority: cheapest, fastest, or most secure\n\n2. **Query available routes** from bridge aggregators and individual bridge protocols.\n\n3. **Compare routes** on cost, speed, and security (see route comparison below).\n\n4. **Recommend the optimal route** based on user priority.\n\n5. **Monitor the transaction** through completion if executed.\n\n## Supported Chains\n\n| Chain | Chain ID | Native Token | Bridge Support |\n|-------|----------|-------------|---------------|\n| Ethereum | 1 | ETH | All bridges |\n| Solana | solana | SOL | Wormhole, deBridge |\n| BSC | 56 | BNB | Stargate, LayerZero, Across |\n| Arbitrum | 42161 | ETH | Stargate, Across, Hop, Synapse |\n| Base | 8453 | ETH | Stargate, Across, Hop |\n| Polygon | 137 | MATIC | Stargate, Across, Hop, Synapse |\n| Optimism | 10 | ETH | Stargate, Across, Hop, Synapse |\n| Avalanche | 43114 | AVAX | Stargate, Wormhole, LayerZero, Synapse |\n\n## Route Comparison\n\n### Cost Components\n\n```\nTotal Bridge Cost = Gas Fee (source) + Bridge Fee + Gas Fee (destination) + Slippage\n\nGas Fee (source):\n  Transaction gas on source chain to initiate bridge\n  Varies by chain congestion\n\nBridge Fee:\n  Protocol fee charged by the bridge (fixed or percentage)\n  Typically 0.01% - 0.3% of amount\n\nGas Fee (destination):\n  Some bridges require destination gas\n  Others include it in the bridge fee (relayer pays)\n\nSlippage:\n  Difference between quoted and actual received amount\n  Higher for larger amounts or low-liquidity routes\n```\n\n### Speed Categories\n\n| Speed | Time Range | Use Case |\n|-------|-----------|----------|\n| Fast | \u003C 5 minutes | Urgent transfers, arbitrage |\n| Standard | 5-30 minutes | Normal transfers |\n| Slow | 30 min - 2 hours | Large transfers prioritizing cost |\n| Very Slow | 2-7 hours | Native bridges (L2 -> L1 rollup exits) |\n\n### Route Selection Algorithm\n\n```\nfunction selectOptimalRoute(routes, priority, amount):\n    # Filter out routes that don't support the token\u002Fchain pair\n    valid_routes = filter(routes, supports(source, dest, token))\n\n    # Filter out routes with insufficient liquidity\n    valid_routes = filter(valid_routes, liquidity >= amount * 1.1)\n\n    if priority == \"cheapest\":\n        return sorted(valid_routes, by: total_cost, ascending)[0]\n\n    elif priority == \"fastest\":\n        return sorted(valid_routes, by: estimated_time, ascending)[0]\n\n    elif priority == \"most_secure\":\n        return sorted(valid_routes, by: security_score, descending)[0]\n\n    elif priority == \"balanced\":\n        # Weighted score: 40% cost, 30% speed, 30% security\n        for each route:\n            route.score = (\n                (1 - normalize(route.cost)) * 0.40 +\n                (1 - normalize(route.time)) * 0.30 +\n                normalize(route.security_score) * 0.30\n            )\n        return sorted(valid_routes, by: score, descending)[0]\n```\n\n### Route Comparison Table Format\n\n```\nBridging: 1.0 ETH from Ethereum -> Arbitrum\n\n| Bridge    | Fee      | Est. Time | Output     | Security | Route           |\n|-----------|----------|-----------|------------|----------|-----------------|\n| Stargate  | $2.50    | ~2 min    | 0.9990 ETH | 85\u002F100   | Direct          |\n| Across    | $1.80    | ~3 min    | 0.9992 ETH | 80\u002F100   | Direct          |\n| Hop       | $3.20    | ~5 min    | 0.9985 ETH | 75\u002F100   | Via AMM         |\n| Synapse   | $2.80    | ~5 min    | 0.9988 ETH | 75\u002F100   | Via nETH        |\n| Native    | $8.00    | ~7 days   | 1.0000 ETH | 95\u002F100   | Rollup bridge   |\n\nRecommended: Across (cheapest with good speed and security)\n```\n\n## Bridge Protocols\n\nSee `references\u002Fbridge-protocols.md` for detailed protocol information.\n\n### Protocol Quick Reference\n\n| Protocol | Mechanism | Speed | Typical Fee | Security Model |\n|----------|----------|-------|-------------|---------------|\n| Wormhole | Message passing | 5-15 min | 0.01-0.1% | Guardian network (19 validators) |\n| Stargate | Liquidity pools | 1-5 min | 0.06% | LayerZero oracles + relayers |\n| LayerZero | Message protocol | 1-5 min | Gas only | Ultra-light node + oracle |\n| Across | Optimistic | 1-5 min | 0.04-0.12% | Optimistic verification + UMA |\n| Hop | AMM | 5-15 min | 0.04-0.3% | Bonded relayers + AMM |\n| Synapse | AMM + message | 5-15 min | 0.05-0.2% | AMM liquidity + validators |\n\n## Fee Estimation\n\n### Detailed Fee Breakdown\n\n```\nfunction estimateBridgeFee(bridge, source_chain, dest_chain, token, amount):\n    # Source chain gas\n    source_gas = estimateGas(bridge.source_contract, source_chain)\n    source_gas_usd = source_gas * gasPrice(source_chain) * nativeTokenPrice(source_chain)\n\n    # Bridge protocol fee\n    bridge_fee = amount * bridge.fee_percentage\n    # Some bridges have minimum fees\n    bridge_fee = max(bridge_fee, bridge.minimum_fee)\n\n    # Destination gas (if not included by relayer)\n    if bridge.relayer_pays_dest_gas:\n        dest_gas_usd = 0\n    else:\n        dest_gas_usd = estimateGas(bridge.dest_contract, dest_chain) *\n                       gasPrice(dest_chain) * nativeTokenPrice(dest_chain)\n\n    # Slippage estimate for AMM-based bridges\n    if bridge.uses_amm:\n        slippage = estimateSlippage(amount, bridge.pool_liquidity)\n    else:\n        slippage = 0\n\n    total_cost = source_gas_usd + bridge_fee + dest_gas_usd + slippage\n    output_amount = amount - bridge_fee - slippage\n\n    return {\n        source_gas: source_gas_usd,\n        bridge_fee: bridge_fee,\n        dest_gas: dest_gas_usd,\n        slippage: slippage,\n        total_cost: total_cost,\n        output_amount: output_amount,\n        effective_fee_pct: (1 - output_amount \u002F amount) * 100\n    }\n```\n\n### Fee Estimates by Route\n\n| Route | Typical Fee Range | Gas Component |\n|-------|------------------|---------------|\n| Ethereum -> L2 | $5-50 | High source gas |\n| L2 -> Ethereum | $1-10 + wait time | Low source gas, slow native exit |\n| L2 -> L2 | $0.50-5 | Low both sides |\n| Ethereum -> Solana | $5-30 | Ethereum gas + bridge fee |\n| Solana -> Ethereum | $1-20 | Low source, bridge fee dominant |\n| BSC -> L2 | $1-5 | Low both sides |\n\n## Transaction Monitoring\n\n### Bridge Transaction Lifecycle\n\n```\nINITIATED -> PENDING -> CONFIRMED -> FINALIZED -> COMPLETED\n\nINITIATED:   Source chain transaction submitted to bridge contract\nPENDING:     Transaction included in source chain block, waiting for confirmations\nCONFIRMED:   Sufficient confirmations on source chain, bridge processing\nFINALIZED:   Bridge has relayed\u002Fproven the message to destination chain\nCOMPLETED:   Tokens received in destination wallet\n\nTime per stage varies by bridge:\n  INITIATED -> PENDING:     1-30 seconds (source block time)\n  PENDING -> CONFIRMED:     1-15 minutes (block confirmations)\n  CONFIRMED -> FINALIZED:   Bridge-specific (seconds to hours)\n  FINALIZED -> COMPLETED:   Near-instant once finalized\n```\n\n### Tracking Endpoints\n\n| Bridge | Track Via | URL Format |\n|--------|----------|-----------|\n| Wormhole | Wormhole Explorer | `https:\u002F\u002Fwormholescan.io\u002F#\u002Ftx\u002F{txHash}` |\n| Stargate | LayerZero Scan | `https:\u002F\u002Flayerzeroscan.com\u002Ftx\u002F{txHash}` |\n| Across | Across Explorer | `https:\u002F\u002Fapp.across.to\u002Ftransactions?hash={txHash}` |\n| Hop | Hop Explorer | `https:\u002F\u002Fexplorer.hop.exchange\u002Ftx\u002F{txHash}` |\n| Synapse | Synapse Explorer | `https:\u002F\u002Fexplorer.synapseprotocol.com\u002Ftx\u002F{txHash}` |\n\n### Transaction Status Check\n\n```\nfunction checkBridgeStatus(txHash, bridge):\n    # Query bridge-specific API for status\n    status = bridge.getTransactionStatus(txHash)\n\n    return {\n        status: status.state,  # PENDING, CONFIRMED, FINALIZED, COMPLETED\n        source_chain: status.source_chain,\n        dest_chain: status.dest_chain,\n        source_tx: status.source_tx_hash,\n        dest_tx: status.dest_tx_hash,  # null if not yet completed\n        amount: status.amount,\n        token: status.token,\n        estimated_completion: status.eta,\n        confirmations: status.source_confirmations + \"\u002F\" + status.required_confirmations\n    }\n```\n\n### Monitoring Alerts\n\n| Alert | Trigger | Action |\n|-------|---------|--------|\n| Transaction Completed | Dest chain tx confirmed | Notify user, verify received amount |\n| Transaction Delayed | Time > 2x estimated | Check bridge status, advise patience |\n| Transaction Failed | Source tx reverted | Advise retry, check gas\u002Fapproval |\n| Bridge Congested | Queue time > 30 min | Suggest alternative bridge |\n| Funds Stuck | > 24h without completion | Escalate — check bridge support channels |\n\n## Security Assessment\n\nSee `references\u002Frisk-assessment.md` for detailed bridge security scoring.\n\n### Quick Security Check\n\nBefore using any bridge, verify:\n\n```\nSecurity Checklist:\n  [ ] Bridge TVL > $100M (sufficient liquidity and battle-testing)\n  [ ] No exploits in past 6 months\n  [ ] Professional audit completed\n  [ ] Active bug bounty program\n  [ ] Multi-sig or decentralized validation\n  [ ] Transaction has been verified on source chain\n\nRisk Level:\n  All checks pass:     LOW RISK\n  1-2 checks fail:     MEDIUM RISK (proceed with caution)\n  3+ checks fail:      HIGH RISK (consider alternative)\n```\n\n## Liquidity Checking\n\n### Pre-Bridge Liquidity Verification\n\n```\nfunction checkBridgeLiquidity(bridge, dest_chain, token, amount):\n    available_liquidity = bridge.getLiquidity(dest_chain, token)\n\n    if available_liquidity >= amount * 1.5:\n        return { status: \"SUFFICIENT\", slippage_risk: \"LOW\" }\n    elif available_liquidity >= amount:\n        return { status: \"TIGHT\", slippage_risk: \"MEDIUM\" }\n    else:\n        return { status: \"INSUFFICIENT\", slippage_risk: \"HIGH\",\n                 max_bridge_amount: available_liquidity * 0.8 }\n```\n\n### Large Transfer Guidance\n\n| Amount | Recommendation |\n|--------|---------------|\n| \u003C $10K | Use any reputable bridge; single transaction |\n| $10K - $100K | Compare multiple bridges; check liquidity |\n| $100K - $1M | Split across 2-3 bridges; verify liquidity on each |\n| > $1M | Contact bridge team; use native bridges when possible; split transfers |\n\n## Multi-Chain Portfolio Management\n\n### Cross-Chain Balance Aggregation\n\n```\nfunction getMultiChainBalance(wallets):\n    total_balance = {}\n\n    for each wallet in wallets:\n        for each chain in supported_chains:\n            tokens = getTokenBalances(wallet.address, chain)\n            for each token in tokens:\n                key = token.symbol\n                total_balance[key] = (total_balance[key] || 0) + token.value_usd\n\n    return total_balance\n\nPresent as:\n  Token | Ethereum | Solana | Arbitrum | Base | Total\n  ETH   | $5,000   | -      | $2,000   | $500 | $7,500\n  USDC  | $3,000   | $1,000 | $500     | $200 | $4,700\n```\n\n### Rebalancing Across Chains\n\n```\nfunction recommendRebalancing(balances, target_allocation):\n    recommendations = []\n\n    for each chain:\n        current_pct = balances[chain] \u002F total_balance * 100\n        target_pct = target_allocation[chain]\n        diff = current_pct - target_pct\n\n        if abs(diff) > 5:  # 5% threshold to trigger rebalancing\n            if diff > 0:\n                amount = total_balance * diff \u002F 100\n                recommendations.push(\"MOVE $\" + amount + \" FROM \" + chain)\n            else:\n                amount = total_balance * abs(diff) \u002F 100\n                recommendations.push(\"MOVE $\" + amount + \" TO \" + chain)\n\n    # For each recommended move, find optimal bridge route\n    for each recommendation:\n        route = selectOptimalRoute(...)\n        recommendation.route = route\n\n    return recommendations\n```",{"name":5,"description":7},"main","60a187a694df4ce725464b7578e08ad46a73340f","lucid-defi\u002Fskill\u002Freferences\u002Fcross-chain","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins","https:\u002F\u002Fgithub.com\u002Flucid-fdn","2026-03-26 06:06:06",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add lucid-fdn\u002Flucid-plugins --skill cross-chain",{"tool":44,"command":45},"bunx","bunx skills add lucid-fdn\u002Flucid-plugins --skill cross-chain",{"tool":47,"command":48},"pnpm","pnpm dlx skills add lucid-fdn\u002Flucid-plugins --skill cross-chain","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-defi\u002Fskill\u002Freferences\u002Fcross-chain\u002FSKILL.md",true,[52,58],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fbridge-protocols.md","REFERENCE","参考文档",8740,"https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-defi\u002Fskill\u002Freferences\u002Fcross-chain\u002Freferences\u002Fbridge-protocols.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Frisk-assessment.md",8981,"https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-defi\u002Fskill\u002Freferences\u002Fcross-chain\u002Freferences\u002Frisk-assessment.md",[63,72,97,109,125,144],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":27},"01M6CT442ZA942TW2E4GM9B47B","lucid-PLUGIN_NAME","PLUGIN_DESCRIPTION","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Ftemplates\u002Fplugin-template\u002Fdocs\u002FSKILL.md",[],[70,71],"lucid PLUGIN NAME","plugin",{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":88,"publishedAt":27},"01M6CT41PA1EKESRMFV5V775TW","social-content","Generate short-form video content optimized for social media platforms","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-video\u002Fskill\u002Freferences\u002Fsocial-content\u002FSKILL.md",[78,83],{"categoryNo":79,"categoryName":80,"taxonomyType":81,"taxonomyTypeDesc":82},"01JBSEEDCAT000000000000016","图像与多媒体","SCENARIO","使用场景",{"categoryNo":84,"categoryName":85,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[89,90,91,92,93,94,95,96],"social","social content","content","short","social media","Media","Video","generate",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":104,"publishedAt":27},"01M6CT3Z4SPEJQYJNZ60ZBDKMF","personalized-outreach","Generate 1:1 personalized video for sales prospecting and customer success","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-video\u002Fskill\u002Freferences\u002Fpersonalized-outreach\u002FSKILL.md",[103],{"categoryNo":79,"categoryName":80,"taxonomyType":81,"taxonomyTypeDesc":82},[105,96,106,95,107,108],"personalized outreach","sales","prospecting","customer",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":118,"publishedAt":27},"01M6CT3WH4C1TMMSWY25XBEM19","data-reports","Generate animated data report videos from KPIs, charts, and analytics","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-video\u002Fskill\u002Freferences\u002Fdata-reports\u002FSKILL.md",[115],{"categoryNo":116,"categoryName":117,"taxonomyType":86,"taxonomyTypeDesc":87},"01JBSEEDCAT000000000000033","数据分析师",[119,120,121,122,123,96,124],"data","data reports","reports","Charts","report","analytics",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":135,"publishedAt":27},"01M6CT3TJTWDVGM0CY356RS99V","lucid-video","Agent-native video generation using Remotion — MCP server + OpenClaw plugin","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-video\u002Fskill\u002FSKILL.md",[131,132],{"categoryNo":79,"categoryName":80,"taxonomyType":81,"taxonomyTypeDesc":82},{"categoryNo":133,"categoryName":134,"taxonomyType":81,"taxonomyTypeDesc":82},"01JBSEEDCAT000000000000023","Skill与智能体开发",[136,95,137,138,139,140,141,142,143,71],"lucid video","server","MCP","openclaw","mcp server","openclaw plugin","video generation","Remotion",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":27},"01M6CT3RP3ZWEJBA5Q3X8J4XV4","lucid-veille","Content monitoring, AI digest generation, and multi-platform auto-publishing","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-veille\u002Fskill\u002Freferences\u002Flucid-veille\u002FSKILL.md",[],[151,152,23,153,154,155,91],"lucid veille","supabase","auto","publishing","digest"]