跳转至

17 多链钱包与托管

12 篇 | 本专题核心阅读 | 返回专题索引 · 领域能力优先级

目标不是背更多链名,而是建立一套不会错误泛化的 Chain Adapter、交易并发、归集、签名和恢复模型。 先读概念地图:多链钱包与托管签名 · 托管≠MPC。

ID 标题 频率
S-WALLET-01 多链钱包 Chain Adapter 与能力矩阵 ⭐⭐⭐⭐⭐
S-WALLET-02 Bitcoin UTXO、Coin Selection、PSBT 与手续费替换 ⭐⭐⭐⭐⭐
S-WALLET-03 Solana 账户模型、PDA 与交易生命周期 ⭐⭐⭐⭐⭐
S-WALLET-04 Cosmos SDK、CometBFT、IBC 与账户 Sequence ⭐⭐⭐⭐
S-WALLET-05 Sui Object 与 Aptos Resource 模型对比 ⭐⭐⭐⭐
S-WALLET-06 充值地址、归集、Nonce/UTXO 预占与恢复 ⭐⭐⭐⭐⭐
S-WALLET-07 MPC/TSS 的 DKG、Reshare 与故障恢复 ⭐⭐⭐⭐⭐
S-WALLET-08 Solana Go SDK 离线构建、签名与确认 ⭐⭐⭐⭐⭐
S-WALLET-09 Cosmos SDK TxBuilder 与 DIRECT 签名 ⭐⭐⭐⭐⭐
S-WALLET-10 Aptos Go SDK、BCS 与执行跟踪 ⭐⭐⭐⭐⭐
S-WALLET-11 Sui Object、Address Balance 与能力适配 ⭐⭐⭐⭐⭐
S-WALLET-12 TRON/TRC20 资源、权限与交易生命周期 ⭐⭐⭐⭐⭐

可运行代码

题 ID 目录 命令
S-WALLET-02 examples/senior/coinselect/ go test ./examples/senior/coinselect/...
S-WALLET-08 examples/non-evm-sdk/solana/ cd examples/non-evm-sdk/solana && go test ./...
S-WALLET-09 examples/non-evm-sdk/cosmos/ cd examples/non-evm-sdk/cosmos && go test -p=1 ./...
S-WALLET-10 examples/non-evm-sdk/aptos/ cd examples/non-evm-sdk/aptos && go test ./...
S-WALLET-11 examples/non-evm-sdk/sui/ cd examples/non-evm-sdk/sui && go test ./...

四个 module 的默认测试同时覆盖离线 transaction/capability 逻辑与真实 endpoint 的本地 contract test;testnet smoke 只有设置 endpoint 环境变量才运行,广播还需另行提供已签交易。

推荐顺序

能力矩阵 → Bitcoin → TRON/TRC20 → Solana/Cosmos/Sui/Aptos 原理 → 地址与归集 → MPC 故障恢复 → 四条非 EVM Go 实战。