返回顶部
s

smart-accounts智能账户管理

Deploy and manage multi-signature smart accounts. Use when you or the user want to create a smart wallet, deploy a multi-sig, add or remove owners, change threshold, set up shared wallets, or manage account ownership. Covers "create a multi-sig", "add an owner to my account", "deploy a smart wallet", "change signing threshold".

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
222
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

smart-accounts

智能账户管理

在任何支持的EVM链上部署多重签名智能账户,并管理其所有权(添加/移除所有者、更改签名阈值)。

确认钱包已认证

bash
fdx status

如果钱包未认证,请参考authenticate技能。

部署智能账户

在特定链上创建新的智能账户:

bash
fdx call deploySmartAccount \
--chainKey <链>

deploySmartAccount 参数

参数必填说明
--chainKey部署的区块链(例如 ethereum、polygon、base、arbitrum)
--initialOwners
否 | 所有者地址列表,用逗号分隔 | | --threshold | 否 | 执行交易所需的签名数量 |

示例

bash

在以太坊上部署简单智能账户


fdx call deploySmartAccount --chainKey ethereum

部署2/3多重签名

fdx call deploySmartAccount \ --chainKey ethereum \ --initialOwners 0xOwner1...,0xOwner2...,0xOwner3... \ --threshold 2

管理所有权

在现有智能账户上添加所有者、移除所有者或更改签名阈值:

bash
fdx call manageSmartAccountOwnership \
--chainKey <链> \
--accountAddress <智能账户地址> \
--action <操作>

manageSmartAccountOwnership 参数

参数必填说明
--chainKey智能账户所在的区块链
--accountAddress
是 | 要管理的智能账户地址 | | --action | 是 | 要执行的操作(例如 addOwner、removeOwner、changeThreshold) | | --ownerAddress | 否 | 要添加或移除的所有者地址(addOwner/removeOwner 必填) | | --newThreshold | 否 | 新的签名阈值(changeThreshold 必填) |

示例

bash

添加新所有者


fdx call manageSmartAccountOwnership \
--chainKey ethereum \
--accountAddress 0xSmartAccount... \
--action addOwner \
--ownerAddress 0xNewOwner...

移除所有者

fdx call manageSmartAccountOwnership \ --chainKey ethereum \ --accountAddress 0xSmartAccount... \ --action removeOwner \ --ownerAddress 0xOldOwner...

将阈值更改为3/5

fdx call manageSmartAccountOwnership \ --chainKey ethereum \ --accountAddress 0xSmartAccount... \ --action changeThreshold \ --newThreshold 3

查看智能账户详情

检查智能账户的持仓和活动:

bash
fdx call getWalletOverview \
--chainKey <链> \
--accountAddress <智能账户地址>

流程

  1. 1. 使用 fdx status 检查认证状态
  2. 使用 fdx call deploySmartAccount 部署智能账户
  3. 记录返回的智能账户地址
  4. 根据需要,使用 fdx call manageSmartAccountOwnership 管理所有权
  5. 在 send-tokens 或 swap-tokens 技能中,通过 --fromAccountAddress 使用智能账户地址

重要提示: 多重签名账户的所有权变更是敏感操作。执行前务必与您的相关人员确认操作、地址和新阈值。移除过多所有者或设置过高的阈值可能导致账户被锁定。

前提条件

  • - 必须已认证(使用 fdx status 检查,参见 authenticate 技能)
  • 智能账户仅部署在EVM链上(非Solana)

错误处理

  • - 未认证 — 先运行 fdx setup,或参见 authenticate 技能
  • 无效的账户地址 — 验证智能账户地址在指定链上存在
  • 阈值超过所有者数量 — 阈值必须 ≤ 所有者数量

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 smart-accounts-1776187168 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 smart-accounts-1776187168 技能

通过命令行安装

skillhub install smart-accounts-1776187168

下载

⬇ 下载 smart-accounts v0.1.0(免费)

文件大小: 2.07 KB | 发布时间: 2026-4-15 12:07

v0.1.0 最新 2026-4-15 12:07
- Initial release of the smart-accounts skill.
- Supports deploying multi-signature smart accounts on major EVM chains.
- Allows adding/removing account owners and changing the signing threshold.
- Provides commands to view wallet details and manage account ownership.
- Covers workflows for creating multi-sigs and managing smart wallet ownership.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部