← 返回 Skills 市场
158
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ts-sdk-wallet-adapter
功能描述
How to integrate wallet connection in React frontends using @aptos-labs/wallet-adapter-react. Covers AptosWalletAdapterProvider setup, useWallet() hook, fron...
安全使用建议
This is an instruction-only guide for adding the Aptos wallet adapter to a React app — it does not include code that runs during install and it asks for no secrets. Before using: 1) verify you install the real @aptos-labs packages on npm (watch for typosquatting or similarly named packages); 2) follow the guidance not to handle private keys in the browser and ensure wallet popups/signing are used; 3) implement the referenced local aptos helper (e.g., waitForTransaction) securely on your app or server; 4) be aware autoConnect: true can automatically reconnect wallets — enable it only if that UX is desired; and 5) confirm compatibility between wallet-adapter and other Aptos SDK versions you use. If you need higher assurance, check the original source repository or official Aptos docs to confirm the examples match upstream guidance.
功能分析
Type: OpenClaw Skill
Name: ts-sdk-wallet-adapter
Version: 1.0.0
The skill bundle provides standard documentation and code snippets for integrating the Aptos Wallet Adapter in React applications using the official '@aptos-labs/wallet-adapter-react' package. It explicitly promotes security best practices, such as avoiding the use of raw private keys in the frontend, and contains no evidence of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The name/description (React wallet adapter integration) matches the instructions and examples. All imports and calls shown (wallet-adapter-react, Network, useWallet, signAndSubmitTransaction, waitForTransaction) are consistent with frontend wallet integration.
Instruction Scope
SKILL.md contains only frontend integration instructions and example components. It does not instruct reading system files, environment variables, or transmitting data to unexpected endpoints. (Note: examples reference a local aptos helper module (../lib/aptos) which the integrator must provide; this is a normal implementation detail.)
Install Mechanism
No install spec or downloads are present; the doc recommends installing the official npm package (@aptos-labs/wallet-adapter-react) which is appropriate for the stated task.
Credentials
The skill declares no environment variables or credentials. The guidance explicitly warns against using private keys in the browser, which is appropriate. There are no requests for unrelated secrets or system config.
Persistence & Privilege
The skill does not request persistent or elevated presence (always:false). It's an instruction-only skill and does not modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ts-sdk-wallet-adapter - 安装完成后,直接呼叫该 Skill 的名称或使用
/ts-sdk-wallet-adapter触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the ts-sdk-wallet-adapter skill.
- Provides a comprehensive guide for integrating wallet connection in React apps using @aptos-labs/wallet-adapter-react.
- Explains setup of AptosWalletAdapterProvider and useWallet() hook.
- Details best practices for transaction submission and wallet connection UI.
- Includes "always" and "never" guidelines for secure and correct frontend wallet handling.
- Lists common mistakes and their solutions for smooth integration.
元数据
常见问题
Ts Sdk Wallet Adapter 是什么?
How to integrate wallet connection in React frontends using @aptos-labs/wallet-adapter-react. Covers AptosWalletAdapterProvider setup, useWallet() hook, fron... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 158 次。
如何安装 Ts Sdk Wallet Adapter?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ts-sdk-wallet-adapter」即可一键安装,无需额外配置。
Ts Sdk Wallet Adapter 是免费的吗?
是的,Ts Sdk Wallet Adapter 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Ts Sdk Wallet Adapter 支持哪些平台?
Ts Sdk Wallet Adapter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Ts Sdk Wallet Adapter?
由 iskysun96(@iskysun96)开发并维护,当前版本 v1.0.0。
推荐 Skills