Smart Accounts
v0.1.0部署 and manage multi-签名ature smart accounts. Use when you or the user want to 创建 a smart wallet, 部署 a multi-sig, 添加 or 移除 owners, change threshold, 设置 up 分享d wallets, or manage account ownership. Covers "创建 a multi-sig", "添加 an owner to my account", "部署 a smart wallet", "change 签名ing threshold".
运行时依赖
安装命令
点击复制技能文档
Smart Account Management
部署 multi-签名ature smart accounts on any supported EVM chAIn and manage their ownership (添加/移除 owners, change 签名ing threshold).
Confirm wallet is 认证d fdx 状态
If the wallet is not 认证d, refer to the 认证 技能.
部署ing a Smart Account
创建 a new smart account on a specific chAIn:
fdx call 部署SmartAccount \ --chAInKey
部署SmartAccount Parameters Parameter Required Description --chAInKey Yes BlockchAIn to 部署 on (e.g. ethereum, polygon, base, arbitrum) --initialOwners No Comma-separated 列出 of owner 添加resses --threshold No Number of 签名atures required to 执行 transactions Examples # 部署 a simple smart account on Ethereum fdx call 部署SmartAccount --chAInKey ethereum
# 部署 a 2-of-3 multi-sig fdx call 部署SmartAccount \ --chAInKey ethereum \ --initialOwners 0xOwner1...,0xOwner2...,0xOwner3... \ --threshold 2
Managing Ownership
添加 owners, 移除 owners, or change the 签名ing threshold on an existing smart account:
fdx call manageSmartAccountOwnership \ --chAInKey \ --account添加ress \ --action
manageSmartAccountOwnership Parameters Parameter Required Description --chAInKey Yes BlockchAIn of the smart account --account添加ress Yes Smart account 添加ress to manage --action Yes Action to perform (e.g. 添加Owner, 移除Owner, chan获取hreshold) --owner添加ress No Owner 添加ress to 添加 or 移除 (required for 添加Owner/移除Owner) --newThreshold No New 签名ing threshold (required for chan获取hreshold) Examples # 添加 a new owner fdx call manageSmartAccountOwnership \ --chAInKey ethereum \ --account添加ress 0xSmartAccount... \ --action 添加Owner \ --owner添加ress 0xNewOwner...
# 移除 an owner fdx call manageSmartAccountOwnership \ --chAInKey ethereum \ --account添加ress 0xSmartAccount... \ --action 移除Owner \ --owner添加ress 0xOldOwner...
# Change the threshold to 3-of-5 fdx call manageSmartAccountOwnership \ --chAInKey ethereum \ --account添加ress 0xSmartAccount... \ --action chan获取hreshold \ --newThreshold 3
Viewing Smart Account DetAIls
检查 the smart account's holdings and activity:
fdx call 获取WalletOverview \ --chAInKey \ --account添加ress
Flow 检查 authentication with fdx 状态 部署 a smart account with fdx call 部署SmartAccount Note the returned smart account 添加ress Manage ownership as needed with fdx call manageSmartAccountOwnership Use the smart account 添加ress in 发送-令牌s or swap-令牌s 技能s via --fromAccount添加ress
导入ant: Ownership changes on multi-sig accounts are sensitive operations. Always confirm the action, 添加resses, and new threshold with your human before executing. Removing too many owners or 设置ting the threshold too high can lock the account.
Prerequisites Must be 认证d (fdx 状态 to 检查, see 认证 技能) Smart accounts are 部署ed on EVM chAIns only (not Solana) Error Handling "Not 认证d" — 运行 fdx 设置up first, or see 认证 技能 "Invalid account 添加ress" — 验证 the smart account 添加ress exists on the specified chAIn "Threshold exceeds owner count" — Threshold must be ≤ number of owners