← 返回
AI智能 中文

Uniswap Bridge Tokens

Bridge tokens from one chain to another without swapping. Simplified cross-chain transfer where the output token is the same as the input token. Use when the user wants to move tokens between chains.
{"answer":"在链间桥接代币,无需兑换。简化的跨链转账,输出代币与输入代币相同。适用于用户在链间转移代币。"}
wpank
AI智能 clawhub v0.1.0 1 版本 99735 Key: 无需
★ 0
Stars
📥 1,129
下载
💾 31
安装
1
版本
#latest

概述

Bridge Tokens

Overview

Bridges tokens from one chain to another — a simplified cross-chain operation where the token stays the same (e.g., USDC on Ethereum to USDC on Base). Delegates to the cross-chain-executor agent with tokenOut = tokenIn to streamline the workflow.

This is the simpler sibling of cross-chain-swap. Use this when the user just wants to move tokens, not swap them.

When to Use

Activate when the user asks:

  • "Bridge 1000 USDC from Ethereum to Base"
  • "Move my ETH to Arbitrum"
  • "Transfer USDC to Optimism"
  • "Send tokens to another chain"
  • "Bridge tokens"
  • "Move all my USDC from Polygon to Base"

Parameters

ParameterRequiredDefaultDescription
---------------------------------------------------------------------------------------
tokenYesToken symbol or address to bridge
amountYesAmount to bridge (human-readable)
sourceChainYesSource chain name (e.g., "ethereum")
destChainYesDestination chain name (e.g., "base")
recipientNoSame walletRecipient address on destination chain

Workflow

  1. Extract parameters from the user's request. Identify:
    • Which token to bridge.
    • The amount.
    • Source and destination chains.
    • Resolve the same token's address on both chains via mcp__uniswap__getTokenInfo.
  1. Validate inputs:
    • Verify both chains are supported via mcp__uniswap__getSupportedChains.
    • Verify the token exists on both chains.
    • If source and destination chain are the same: inform the user no bridge is needed.
  1. Delegate to cross-chain-executor: Invoke Task(subagent_type:cross-chain-executor) with:
    • tokenIn = token (on source chain).
    • tokenOut = same token (on destination chain).
    • amount, sourceChain, destChain, recipient.
    • The agent handles quoting, safety, execution, monitoring, and confirmation.
  1. Present results: Format the bridge report for the user, highlighting:
    • Amount sent and received (should be very close, minus bridge fee).
    • Bridge fee.
    • Settlement time.

Output Format

Bridge Complete

  Token:       USDC
  Sent:        1,000.00 USDC on Ethereum
  Received:    999.50 USDC on Base
  Bridge Fee:  0.50 USDC ($0.50)
  Settlement:  1 min 48 sec

  Source Tx:   0xabc...123
  Bridge ID:   0x789...abc
  Dest Tx:     0xdef...456

  Risk: LOW | Safety: APPROVED

Important Notes

  • Bridge operations transfer the same token between chains. The received amount will be slightly less due to bridge fees.
  • Settlement times vary by chain pair (typically 1-10 minutes).
  • Not all tokens are bridgeable between all chains. The executor will check availability.
  • For moving tokens AND swapping to a different token, use cross-chain-swap instead.

Error Handling

ErrorUser-Facing MessageSuggested Action
----------------------------------------------------------------------------------------------------------------------------------
Token not available on dest"[Token] is not available on [destChain]."Use cross-chain-swap to swap to a native token
Same chain"Source and destination are the same chain. No bridge needed."No action needed
Unsupported chain"Chain [name] is not supported."Check supported chains
Safety veto"This bridge was blocked by safety checks: [reason]."Reduce amount or check configuration
Bridge stuck"Bridge settlement is delayed. Monitoring continues."Wait — recovery instructions provided
Insufficient balance"Not enough [token] on [chain]."Check balance and reduce amount

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-29 03:55 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 710 📥 243,602
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,352 📥 317,835
developer-tools

Code Review

wpank
涵盖安全、性能、可维护性、正确性和测试的系统化代码审查模式,包含严重等级、结构化反馈指南、审查流程及需避免的反模式。适用于审查 PR、建立审查标准或提升审查质量。
★ 31 📥 17,075