Rechercher

PythonReactSEOPDF
OpenClaw

Hashpack Wallet

HashPack Wallet Integration

harleyscodes0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install harleyscodes/hashpack-wallet

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

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

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/harleyscodes/hashpack-wallet
Version
—
Commit
1ca3a06fb55a20dd86feb3a00f74d5ced305d01e
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# HashPack Wallet Integration

## Quick Start

```typescript
// 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

```typescript
// 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

Skills associés

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.