← 返回 Skills 市场
harleyscodes

HashPack Wallet

作者 HarleysCodes · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
616
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install hashpack-wallet
功能描述
Integrate HashPack for Hedera blockchain login, transaction signing, DApp connection, and account balance retrieval in web applications.
使用说明 (SKILL.md)

HashPack Wallet Integration

Quick Start

// Detect HashPack
const hashpack = (window as any).hashpack;

// Connect
const result = await hashpack.connect();

// Get account ID
const accountId = result.accountId; // e.g., "0.0.12345"

Account ID Format

Hedera account IDs are format: 0.0.12345 (shard.realm.num)

Key Methods

// Connect (opens popup)
await hashpack.connect();

// Sign and submit transaction
const tx = new TransferTransaction()
  .addHbarTransfer(from, -10)
  .addHbarTransfer(to, 10);
await hashpack.signTransaction(tx);

// Get balance
const balance = await new AccountBalanceQuery()
  .setAccountId(accountId)
  .execute(client);

// Disconnect
hashpack.disconnect();

Environment

  • Mainnet: https://mainnet.hashio.io/api
  • Testnet: https://testnet.hashio.io/api
  • Previewnet: https://previewnet.hashio.io/api

Transaction Types

  • TransferTransaction - Send HBAR/tokens
  • ContractExecuteTransaction - Call contract
  • TokenAssociateTransaction - Associate with token
  • TokenMintTransaction - Mint tokens
  • TopicCreateTransaction - Create HCS topic
安全使用建议
This skill is a coherent, client-side integration guide for the HashPack browser wallet and does not request credentials or perform installs. Before using it: (1) confirm you obtain HashPack from the official source (extension or script) — the skill metadata lacks a homepage/source, which reduces confidence; (2) test in a staging environment and review the permission prompts HashPack shows to users (wallets will ask to approve connections and signatures); (3) never hard-code private keys or requests for secrets in your app; (4) verify the listed endpoints (https://*.hashio.io) are the correct, official Hedera gateway endpoints you intend to use; (5) if you plan to allow an autonomous agent to use this skill, remember an agent that can act on behalf of a connected wallet can initiate transactions once the user has approved connections—ensure you understand when and how approvals happen. If you can provide an official source or homepage for this skill/implementation, confidence can be raised to high.
功能分析
Type: OpenClaw Skill Name: hashpack-wallet Version: 1.0.0 The skill bundle describes the integration of the HashPack wallet for Hedera blockchain interactions, including connecting, signing transactions, and querying balances. The `SKILL.md` file provides descriptive information and TypeScript code examples for these operations. There is no evidence of prompt injection attempts against the AI agent, data exfiltration, malicious execution, persistence mechanisms, or obfuscation. While the ability to sign transactions is a powerful and sensitive capability, it aligns directly with the stated purpose of a wallet integration skill, and the skill bundle itself does not contain any instructions or code indicating malicious intent or unauthorized actions.
能力评估
Purpose & Capability
Name/description (HashPack wallet integration for Hedera) matches the SKILL.md: all examples reference window.hashpack, connect/sign/disconnect, account IDs, and Hedera transaction types. No unrelated capabilities, credentials, or binaries are requested.
Instruction Scope
Runtime instructions are limited to client-side integration (window.hashpack), connecting, signing transactions, and querying balances. The instructions do not ask the agent to read arbitrary files, access unrelated environment variables, or transmit data to unexpected endpoints beyond the listed Hedera/HashPack endpoints.
Install Mechanism
Instruction-only skill with no install spec or code files, which is low risk. Note: there is no link to an official HashPack distribution or homepage in the metadata—you'll need to ensure the HashPack script/extension you include in your app is the official one.
Credentials
The skill declares no environment variables or credentials, and the instructions do not require secrets or unrelated service tokens. The listed API endpoints (mainnet/testnet/previewnet) are appropriate for Hedera/HashPack integration.
Persistence & Privilege
The skill is not always-enabled and does not request elevated persistence or system-wide changes. It does not modify other skills or agent configuration; autonomous invocation defaults are standard and not by themselves concerning here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hashpack-wallet
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hashpack-wallet 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release: Integrate HashPack wallet for Hedera blockchain authentication. - Supports adding HashPack login to web apps. - Enables signing HBAR transactions and accessing account balance. - Provides methods for connecting/disconnecting, and supports multiple transaction types. - Compatible with mainnet, testnet, and previewnet environments.
元数据
Slug hashpack-wallet
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

HashPack Wallet 是什么?

Integrate HashPack for Hedera blockchain login, transaction signing, DApp connection, and account balance retrieval in web applications. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 616 次。

如何安装 HashPack Wallet?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hashpack-wallet」即可一键安装,无需额外配置。

HashPack Wallet 是免费的吗?

是的,HashPack Wallet 完全免费(开源免费),可自由下载、安装和使用。

HashPack Wallet 支持哪些平台?

HashPack Wallet 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 HashPack Wallet?

由 HarleysCodes(@harleyscodes)开发并维护,当前版本 v1.0.0。

💬 留言讨论