npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@aite550659/hedera-agent-wallet

v0.2.0

Published

Lightweight Hedera wallet creation for autonomous AI agents - create wallets on the fly without existing accounts

Readme

hedera-agent-wallet

Lightweight Hedera wallet creation for autonomous AI agents.

Create new Hedera wallets on the fly — no existing account required.

Why This Exists

The official hedera-agent-kit is great for agents that already have wallets. But what if your agent needs to spawn a fresh wallet autonomously?

This tiny package (9 KB vs 8.3 MB) provides:

  • createWallet() — Generate a new keypair + account ID
  • Basic operations: balance, transfer, HCS messaging

Perfect for:

  • Multi-agent systems where each agent needs its own wallet
  • Autonomous agents that create sub-accounts
  • Testing/dev workflows needing disposable wallets

Installation

npm install @aite550659/hedera-agent-wallet

Quick Start

const { createWallet, loadWallet, getBalance, sendHbar, submitMessage } = require('@aite550659/hedera-agent-wallet');

// Create a brand new wallet (generates keypair)
const wallet = createWallet();
console.log('New Account ID:', wallet.accountId);
console.log('Public Key:', wallet.publicKey);
// Note: Account needs funding before use on mainnet

// Or load an existing wallet
const existingWallet = loadWallet('your-private-key-here');

// Get balance
const balance = await getBalance(wallet, 'mainnet');
console.log('Balance:', balance, 'HBAR');

// Send HBAR
const txId = await sendHbar(wallet, '0.0.123456', 10, 'mainnet');

// Submit HCS message
const msgTxId = await submitMessage(wallet, '0.0.topicId', 'Hello from agent!', 'mainnet');

API

createWallet()

Generate a new wallet with fresh keypair. Returns: { accountId, publicKey, privateKey, client }

loadWallet(privateKey)

Load wallet from existing private key. Returns: { accountId, publicKey, privateKey, client }

getBalance(wallet, network)

Get HBAR balance. Network: 'mainnet' | 'testnet'

sendHbar(wallet, toAccountId, amount, network)

Transfer HBAR to another account.

submitMessage(wallet, topicId, message, network)

Submit message to HCS topic.

Comparison with hedera-agent-kit

| | hedera-agent-kit | hedera-agent-wallet | |---|---|---| | Size | 8.3 MB | 9 KB | | Dependencies | 12 (LangChain, etc) | 1 (@hashgraph/sdk) | | Create new wallet | ❌ | ✅ | | Token operations | ✅ | ❌ | | Plugin ecosystem | ✅ | ❌ |

Use hedera-agent-kit for full-featured agent development. Use hedera-agent-wallet when you need lightweight wallet creation.

Contributing

This feature (autonomous wallet creation) would be valuable in the official hedera-agent-kit. PR pending: hashgraph/hedera-agent-kit-js

License

MIT