{"_id":"@aite550659/hedera-agent-wallet","name":"@aite550659/hedera-agent-wallet","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@aite550659/hedera-agent-wallet","version":"0.2.0","description":"Lightweight Hedera wallet creation for autonomous AI agents - create wallets on the fly without existing accounts","main":"src/index.js","scripts":{"test":"node src/test.js"},"keywords":["hedera","agent","ai","wallet","hbar","autonomous","wallet-creation","keypair"],"author":{"name":"Aite","email":"aite550659@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/aite550659/hedera-agent-wallet.git"},"dependencies":{"@hashgraph/sdk":"^2.58.0"},"_id":"@aite550659/hedera-agent-wallet@0.2.0","bugs":{"url":"https://github.com/aite550659/hedera-agent-wallet/issues"},"homepage":"https://github.com/aite550659/hedera-agent-wallet#readme","_nodeVersion":"25.5.0","_npmVersion":"11.8.0","dist":{"integrity":"sha512-xN+1LHPDOHlkQKm4FJNQrjufResk0eS5IkqIi3HbxyDP/TAe92H1vwOgeGmN/CQTSNRrXwQWM1AGxE+O+u+okA==","shasum":"483ceeddbc0baf0a2000cb8321d14e6af04d1274","tarball":"https://registry.npmjs.org/@aite550659/hedera-agent-wallet/-/hedera-agent-wallet-0.2.0.tgz","fileCount":4,"unpackedSize":9798,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDsb06RcJWOWX/EONhs8S+1Y38tkdYHCyLwu4890OxSIwIhAIXeESjYQNTb2t2tOiYx9q3ZPbc0VB4o0YdcB4kJs+DE"}]},"_npmUser":{"name":"aite550659","email":"aite550659@gmail.com"},"directories":{},"maintainers":[{"name":"aite550659","email":"aite550659@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hedera-agent-wallet_0.2.0_1770524626041_0.43046374700332324"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-08T04:23:45.910Z","0.2.0":"2026-02-08T04:23:46.180Z","modified":"2026-02-08T04:23:46.405Z"},"maintainers":[{"name":"aite550659","email":"aite550659@gmail.com"}],"description":"Lightweight Hedera wallet creation for autonomous AI agents - create wallets on the fly without existing accounts","homepage":"https://github.com/aite550659/hedera-agent-wallet#readme","keywords":["hedera","agent","ai","wallet","hbar","autonomous","wallet-creation","keypair"],"repository":{"type":"git","url":"git+https://github.com/aite550659/hedera-agent-wallet.git"},"author":{"name":"Aite","email":"aite550659@gmail.com"},"bugs":{"url":"https://github.com/aite550659/hedera-agent-wallet/issues"},"license":"MIT","readme":"# hedera-agent-wallet\n\n**Lightweight Hedera wallet creation for autonomous AI agents.**\n\nCreate new Hedera wallets on the fly — no existing account required.\n\n## Why This Exists\n\nThe official [hedera-agent-kit](https://www.npmjs.com/package/hedera-agent-kit) is great for agents that already have wallets. But what if your agent needs to **spawn a fresh wallet autonomously**?\n\nThis tiny package (9 KB vs 8.3 MB) provides:\n- **`createWallet()`** — Generate a new keypair + account ID\n- Basic operations: balance, transfer, HCS messaging\n\nPerfect for:\n- Multi-agent systems where each agent needs its own wallet\n- Autonomous agents that create sub-accounts\n- Testing/dev workflows needing disposable wallets\n\n## Installation\n\n```bash\nnpm install @aite550659/hedera-agent-wallet\n```\n\n## Quick Start\n\n```javascript\nconst { createWallet, loadWallet, getBalance, sendHbar, submitMessage } = require('@aite550659/hedera-agent-wallet');\n\n// Create a brand new wallet (generates keypair)\nconst wallet = createWallet();\nconsole.log('New Account ID:', wallet.accountId);\nconsole.log('Public Key:', wallet.publicKey);\n// Note: Account needs funding before use on mainnet\n\n// Or load an existing wallet\nconst existingWallet = loadWallet('your-private-key-here');\n\n// Get balance\nconst balance = await getBalance(wallet, 'mainnet');\nconsole.log('Balance:', balance, 'HBAR');\n\n// Send HBAR\nconst txId = await sendHbar(wallet, '0.0.123456', 10, 'mainnet');\n\n// Submit HCS message\nconst msgTxId = await submitMessage(wallet, '0.0.topicId', 'Hello from agent!', 'mainnet');\n```\n\n## API\n\n### `createWallet()`\nGenerate a new wallet with fresh keypair.\nReturns: `{ accountId, publicKey, privateKey, client }`\n\n### `loadWallet(privateKey)`\nLoad wallet from existing private key.\nReturns: `{ accountId, publicKey, privateKey, client }`\n\n### `getBalance(wallet, network)`\nGet HBAR balance. Network: `'mainnet'` | `'testnet'`\n\n### `sendHbar(wallet, toAccountId, amount, network)`\nTransfer HBAR to another account.\n\n### `submitMessage(wallet, topicId, message, network)`\nSubmit message to HCS topic.\n\n## Comparison with hedera-agent-kit\n\n| | hedera-agent-kit | hedera-agent-wallet |\n|---|---|---|\n| Size | 8.3 MB | 9 KB |\n| Dependencies | 12 (LangChain, etc) | 1 (@hashgraph/sdk) |\n| **Create new wallet** | ❌ | ✅ |\n| Token operations | ✅ | ❌ |\n| Plugin ecosystem | ✅ | ❌ |\n\n**Use hedera-agent-kit** for full-featured agent development.\n**Use hedera-agent-wallet** when you need lightweight wallet creation.\n\n## Contributing\n\nThis feature (autonomous wallet creation) would be valuable in the official hedera-agent-kit. \nPR pending: [hashgraph/hedera-agent-kit-js](https://github.com/hashgraph/hedera-agent-kit-js)\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-482b2391bc6c2962831169bd5887223f"}