1247/across-bridge/SKILL.md
Bridge ETH and ERC-20 tokens between EVM chains using Across Protocol v3. Supports Ethereum, Arbitrum, Optimism, Base, Polygon, BSC, Linea, and zkSync Era.
npx skillsauth add starchild-ai-agent/community-skills @1247/across-bridgeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Bridge ETH and ERC-20 tokens between EVM chains using Across Protocol v3 SpokePool.
| Chain | Chain ID | |-------|----------| | Ethereum | 1 | | Arbitrum | 42161 | | Optimism | 10 | | Base | 8453 | | Polygon | 137 | | BSC | 56 | | Linea | 59144 | | zkSync Era | 324 |
| Token | Notes | |-------|-------| | ETH | Native ETH (bridged via WETH internally) | | USDC | Native USDC where available | | USDT | Major chains | | WBTC | Ethereum, Arbitrum, Optimism | | DAI | Major chains |
pip install requests eth-abi
python3 skills/across-bridge/scripts/bridge.py <from_chain_id> <to_chain_id> <amount_wei> <wallet_address> [token_symbol]
Examples:
Bridge 0.01415 ETH from Arbitrum to Ethereum:
python3 skills/across-bridge/scripts/bridge.py 42161 1 14150000000000000 0xYourWallet
Bridge 100 USDC from Base to Arbitrum:
python3 skills/across-bridge/scripts/bridge.py 8453 42161 100000000 0xYourWallet USDC
The script outputs a JSON object with:
to — SpokePool contract address on origin chainvalue — ETH value to send (amount for ETH bridges, "0" for ERC-20)data — encoded depositV3() calldataoutput_amount_wei — amount you'll receive on destinationestimated_fill_time_sec — estimated seconds to receive fundsnote — for ERC-20: reminder to approve the SpokePool before sendingFor ERC-20 tokens (USDC, USDT, etc.), approve the SpokePool to spend your tokens first:
# Approve call: token.approve(spokePool, amount)
# Use wallet_transfer with the token contract's approve() calldata
The script output includes a note field with the token address and SpokePool address when approval is needed.
wallet_transfer(
to="<SpokePool address from script>",
amount="<value from script>", # amount_wei for ETH, "0" for ERC-20
chain_id=<origin chain id>,
data="<data from script>"
)
After broadcasting, check fill status using the deposit tx hash:
python3 skills/across-bridge/scripts/bridge.py status <origin_chain_id> <deposit_tx_hash>
Or verify arrival directly:
wallet_balance(chain=<destination_chain>)
Across relayers typically fill within seconds to a few minutes. The estimated_fill_time_sec from the quote gives a per-route estimate.
User: "Bridge 50 USDC from Base to Arbitrum"
note field — approve USDC to SpokePool if neededwallet_transfer with the encoded calldatastatus check or call wallet_balance(chain="arbitrum") to confirm arrivalmsg.value = amount (no approval needed)msg.value = 0, token approval required firstapp.across.to/api/suggested-fees — valid for ~30sexclusivityDeadline is handled correctly whether the API returns an offset or absolute timestamprequests
eth-abi
Install: pip install requests eth-abi
tools
TQX (tqx.trade) HK/US stock quant workflow via tqx-cli: cross-sectional factor analysis, event-driven strategy backtests on the panda_backtest engine, and agent-driven automated paper trading. Use when the user wants to run factor IC/IR analysis, backtest a Python trading strategy on Hong Kong or US stocks, or set up agent-automated trading (e.g. "backtest a moving-average strategy on AAPL", "analyze a momentum factor on HK stocks", "let the agent trade my paper account").
tools
中学物理实验教学参赛方案套件。包含四个完整实验(单摆测g、声悬浮测声速、向心力定量演示仪、电磁阻尼定量研究),每套含固件源码、3D打印图纸、教学PPT、教学文稿、采购清单、调试手册、视频分镜脚本、模拟器。Use when a teacher/student needs a complete, classroom-ready physics experiment package for competition or teaching.
development
End-to-end blog management for AI agents. Write, import, build, preview, and publish articles using the blog template. Covers draft workflow, article import, SEO, OG images, and deployment.
development
ESP8266/ESP32 + 磁簧开关/霍尔传感器 单摆测重力加速度实验套件。 硬件搭建→固件烧录→数据采集→Web仪表盘→g值计算→教学文档,一站式完成。 Use when the user wants to build a pendulum g-measurement experiment, measure gravity with a micro-controller, or needs a complete physics experiment package with hardware + firmware + dashboard + teaching materials.