Arc 主网桥接现已开放,这里分享一份教程。
刚刚按照方法,把 USDC 从 Base 桥接到 Arc,全程顺利,资金已经成功到账。
流程如下:
Base USDC → Gateway 存款 → Circle 最终确认 → 签名 BurnIntent → 获取 Gateway 证明 → Arc 铸造 USDC
具体步骤如下 🧵
1/ 在 Base 上先授权 Circle 的 GatewayWallet 使用你的 USDC,然后调用:
"deposit(USDC, amount)"
Base USDC:
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
GatewayWallet:
0x77777777Dcc4d5A8B6E418Fd04D8997ef11000eE
2/ 等待 Circle 完成存款索引和最终确认,可通过以下接口查询状态:
POST
POST
Base Domain:6
我这笔交易大约 18 分钟后显示可用。
3/ 当余额可用后,创建 Gateway TransferSpec:
- sourceDomain:6
- destinationDomain:26
- sourceSigner:你的钱包
- destinationRecipient:你的 Arc 钱包
Arc USDC:
0x3600000000000000000000000000000000000000
4/ 调用:
POST
获取手续费和 BurnIntent,然后使用 EIP-712 对 BurnIntent 进行签名:
- name:GatewayWallet
- version:1
签名完成后提交至:
POST
5/ 在 Gateway API 请求头中加入:
"X-ARC-PRIVATE-MAINNET-ENABLED: true"
随后 Circle 会返回证明(attestation)和签名(signature)。
最后在 Arc 的 GatewayMinter 合约调用:
"gatewayMint(attestation, signature)"
6/ Arc 网络信息:
Chain ID:5042
GatewayMinter:
0x2222222d7164433c4C09B0b0D809a9b52C04C205
Arc USDC:
0x3600000000000000000000000000000000000000
7/ 我的 Base 存款完成最终确认后,大约 10 秒内就在 Arc 上收到了铸造的 USDC。
实测 Base → Arc 主网桥接已经可以正常使用。
简单来说就是:Base 存款 → 等待最终确认 → 签名 BurnIntent → 获取证明 → 在 Arc 调用 gatewayMint 完成铸造。
$ARCANINE $USDC
顯示更多