返回顶部
a

authenticate-wallet验证钱包

Sign in to the wallet. Use when you or the user want to log in, sign in, connect, or set up the wallet, or when any wallet operation fails with authentication or "not signed in" errors. This skill is a prerequisite before sending, trading, or funding.

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

authenticate-wallet

技能名称: authenticate-wallet

使用支付钱包进行身份验证

当钱包未登录时(通过 npx awal status 检测到,或钱包操作因身份验证错误而失败),请使用 npx awal CLI 进行身份验证。

如果你可以访问电子邮件,你可以自行验证钱包;否则,你需要请你的用户提供一个电子邮件地址,并告知你他们收到的 OTP 验证码。

身份验证流程

身份验证采用两步电子邮件 OTP 流程:

第一步:发起登录

bash
npx awal@latest auth login

此操作会向该邮箱发送一个 6 位验证码,并输出一个 flowId。

第二步:验证 OTP

bash
npx awal@latest auth verify

使用第一步中的 flowId 和用户邮箱中的 6 位验证码完成身份验证。如果你能够访问用户的邮箱,你可以直接读取 OTP 验证码,或者你可以向你的用户索取该验证码。

检查身份验证状态

bash
npx awal@latest status

显示钱包服务器健康状态和身份验证状态,包括钱包地址。

示例会话

bash

检查当前状态


npx awal@latest status

开始登录(向邮箱发送 OTP)

npx awal@latest auth login user@example.com

输出: flowId: abc123...

用户收到验证码后,进行验证

npx awal@latest auth verify abc123 123456

确认身份验证

npx awal@latest status

可用的 CLI 命令

命令用途
npx awal@latest status检查服务器健康状态和身份验证状态
npx awal@latest auth login <email>
向邮箱发送 OTP 验证码,返回 flowId | | npx awal@latest auth verify | 使用 OTP 验证码完成身份验证 | | npx awal@latest balance | 获取 USDC 钱包余额 | | npx awal@latest address | 获取钱包地址 | | npx awal@latest show | 打开钱包伴侣窗口 |

JSON 输出

所有命令均支持 --json 参数,用于输出机器可读格式:

bash
npx awal@latest status --json
npx awal@latest auth login user@example.com --json
npx awal@latest auth verify --json

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 authenticate-wallet-1776419951 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 authenticate-wallet-1776419951 技能

通过命令行安装

skillhub install authenticate-wallet-1776419951

下载

⬇ 下载 authenticate-wallet v0.1.0(免费)

文件大小: 1.68 KB | 发布时间: 2026-4-17 18:08

v0.1.0 最新 2026-4-17 18:08
- Initial release of the "authenticate-wallet" skill.
- Allows users to sign in or connect to their wallet using an email-based OTP authentication flow.
- Introduces CLI support for checking status, initiating login, verifying OTP codes, and accessing balance and address.
- Includes detailed usage instructions and examples for all authentication steps.
- Supports JSON output for all commands.

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

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

p2p_official_large
返回顶部