keygen-wallet

keygen-wallet is a command for Claude Code from hiromaily/go-crypto-wallet. It costs 0 tokens per session (870 once invoked), scanned A, original, MIT.

An offline wallet tool that creates keys, builds multisignature addresses, and makes the first signature for a transaction. A multisignature address requires approvals from multiple keys.

In plain words
What is it for?
It helps generate seeds and hierarchical keys, create multisignature addresses, and export wallet data for use by online monitoring tools or other signers.
Why use it?
It keeps key creation and the first approval away from internet-connected systems, reducing exposure of private keys during wallet setup and signing.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit It helps generate seeds and hierarchical keys, create multisignature addresses, and export wallet data for use by online monitoring tools or other signers.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hiromaily/go-crypto-wallet/keygen-wallet
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/hiromaily/go-crypto-wallet

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for keygen-wallet

README.md
[![agentmods](https://agentmods.dev/badge/commands/hiromaily/go-crypto-wallet/keygen-wallet/github.svg)](https://agentmods.dev/commands/hiromaily/go-crypto-wallet/keygen-wallet)
Your own site
<a href="https://agentmods.dev/commands/hiromaily/go-crypto-wallet/keygen-wallet"><img src="https://agentmods.dev/badge/commands/hiromaily/go-crypto-wallet/keygen-wallet/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for keygen-wallet

Your own site · 80×15
<a href="https://agentmods.dev/commands/hiromaily/go-crypto-wallet/keygen-wallet"><img src="https://agentmods.dev/badge/commands/hiromaily/go-crypto-wallet/keygen-wallet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 870 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00870
Opus 5 $0.00000 $0.00435
Sonnet 5 $0.00000 $0.00174
Haiku 4.5 $0.00000 $0.00087

Measured 8d ago against content hash 05e036058edb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

keygen-wallet scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

template/sections/project/commands/keygen-wallet.md · 150 lines

What it actually says

Keygen Wallet Commands

Keygen Wallet operates offline as a cold wallet. It generates keys, creates multisig addresses, and provides the first signature for multisig transactions.

Create Commands
keygen create seed

Creates a seed for the wallet. If --seed is provided, it will be stored instead of generating a new one.

Options:

  • --seed <string> - Seed value to store (development use only)

Example:

keygen create seed
keygen create key

Creates a single key for debugging purposes.

Example:

keygen create key
keygen create hdkey

Creates HD (Hierarchical Deterministic) keys based on BIP32/BIP44 standards.

Options:

  • --keynum <uint64> - Number of HD keys to generate (default: 0)
  • --account <string> - Target account name
  • --keypair - Generate keypair for XRP (default: false)

Example:

keygen create hdkey --keynum 10 --account deposit
keygen create multisig

Creates a multisig address based on account settings.

Options:

  • --account <string> - Target account name

Example:

keygen create multisig --account deposit
Export Commands
keygen export address

Exports generated public key addresses as a CSV file for import into Watch Wallet.

Options:

  • --account <string> - Target account name

Example:

keygen export address --account deposit
Import Commands
keygen import privkey

Imports generated private keys from the database into the Keygen Wallet.

Options:

  • --account <string> - Target account name

Example:

keygen import privkey --account deposit
keygen import fullpubkey

Imports full public keys generated by Sign Wallet. These are used to create multisig addresses.

Options:

  • --file <path> - Path to the full-pubkey CSV file

Example:

keygen import fullpubkey --file data/fullpubkey/btc/fullpubkey_sign1.csv
Sign Commands
keygen sign signature

Signs an unsigned transaction. This provides the first signature for multisig addresses.

Options:

  • --file <path> - Path to the unsigned transaction file

Example:

keygen sign signature --file data/tx/btc/tx_unsigned_1234567890.json
API Commands

API commands are coin-specific and dynamically configured based on the --coin flag.

Bitcoin/Bitcoin Cash API (keygen api with --coin btc or --coin bch)
  • keygen api encryptwallet - Encrypts the wallet with a passphrase
    • --passphrase <string> - Passphrase for encryption
  • keygen api walletpassphrase - Stores the wallet decryption key in memory
    • --passphrase <string> - Passphrase to unlock the wallet
  • keygen api walletpassphrasechange - Changes the wallet passphrase
    • --old <string> - Old passphrase
    • --new <string> - New passphrase
  • keygen api walletlock - Locks the wallet by removing the encryption key from memory
  • keygen api dumpwallet - Dumps all wallet keys in a human-readable format
    • --file <string> - Output file name
  • keygen api importwallet - Imports keys from a wallet dump file
    • --file <string> - Wallet dump file path
Ethereum API (keygen api with --coin eth)
  • keygen api importrawkey - Imports a raw private key
    • --key <string> - Private key to import
    • --pass <string> - Passphrase for the key

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 150 lines · 0 tokens per session scan A 05e036058edb

Subscribe to this mod's changes

keygen-wallet is a command published in the GitHub repository hiromaily/go-crypto-wallet (127 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 870 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.