HashPack Wallet Integration for Openclaw

A specialized skill for integrating HashPack wallet connectivity and Hedera blockchain transaction management into web applications.

harleyscodes
v1.0.0
Feb 15, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install hashpack-wallet

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install hashpack-wallet using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is HashPack Wallet Integration?

The HashPack Wallet skill provides a robust framework for developers to bridge their web applications with the Hedera network through the HashPack browser extension. By leveraging this Openclaw Skills module, you can implement secure authentication, handle account discovery, and manage complex cryptographic signing processes without building the infrastructure from scratch.

This integration is essential for building decentralized applications (DApps) that require user interaction with the Hedera Ledger. It streamlines the lifecycle of blockchain connectivity, from initial wallet detection to executing smart contracts and querying account balances across different Hedera environments like Mainnet and Testnet.

HashPack Wallet Integration Use Cases

  • Implementing secure user login and authentication for Hedera-based web applications.
  • Signing and submitting Hbar or token transfer transactions directly from the browser.
  • Enabling smart contract interactions and token minting capabilities within a DApp interface.
  • Fetching real-time account balances and managing Hedera account IDs (shard.realm.num).

How HashPack Wallet Integration Works

  1. The skill detects the HashPack provider injected into the global window object by the browser extension.
  2. It triggers a connection request that opens the HashPack popup for user authorization.
  3. Once authorized, it captures the session data, including the user's Hedera account ID.
  4. It interfaces with the Hedera SDK to construct transaction objects (like TransferTransaction) and passes them to the wallet for signing.
  5. Upon user approval, the signed transaction is submitted to the Hedera network, and the skill returns the execution result.

HashPack Wallet Integration Setup

To get started with this integration, ensure you have the HashPack extension installed. You will also need the Hedera SDK in your project:

npm install @hashgraph/sdk

Initialize the connection within your application logic using the following pattern provided by Openclaw Skills:

const hashpack = (window as any).hashpack;
const result = await hashpack.connect();
console.log(result.accountId); // 0.0.12345

HashPack Wallet Integration Data Schema & Taxonomy

The skill manages data according to the Hedera network standards and HashPack API responses:

Attribute Type Description
Account ID String The unique identifier in shard.realm.num format (e.g., 0.0.12345).
Network Type Enum Supports Mainnet, Testnet, and Previewnet API endpoints.
Transaction Type Class Specific Hedera transaction classes like TransferTransaction or TokenMintTransaction.
Balance Object Result of an AccountBalanceQuery containing Hbar and token counts.

HashPack Wallet Integration Advanced Features

  • Support for Hedera Consensus Service (HCS) through TopicCreateTransaction integration.
  • Seamless environment switching between Mainnet, Testnet, and Previewnet for development and production parity.
  • Automated token association handling via TokenAssociateTransaction to ensure users can receive new assets.
  • High-level abstraction for ContractExecuteTransaction to simplify interaction with Hedera Smart Contracts using Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0