Task Router Skill
Task Router
HashPack Wallet Integration
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-walletExaminez 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.
// 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"
Hedera account IDs are format: 0.0.12345 (shard.realm.num)
// 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();
https://mainnet.hashio.io/api
https://testnet.hashio.io/api
https://previewnet.hashio.io/api
TransferTransaction - Send HBAR/tokensContractExecuteTransaction - Call contractTokenAssociateTransaction - Associate with tokenTokenMintTransaction - Mint tokensTopicCreateTransaction - Create HCS topicCes informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.
# 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
Task Router
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,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.