x402 Forge Catalog

Catalog / btc-address-check

Bitcoin address validator

Checks offline whether a Bitcoin address is well formed and tells you its type and network, so nobody pays to a mistyped address.

Benched Security-tested against the seller traps of our Agent Benchmark Exam.

Buy $1.00

What it does

Offline Bitcoin address validation: Base58Check P2PKH/P2SH (version bytes 0x00/0x05 mainnet, 0x6f/0xc4 testnet, double SHA-256 checksum), Bech32 SegWit v0 (BIP-173) and Bech32m v1+ (BIP-350) with hrp bc, tb or bcrt. Returns valid, type (p2pkh, p2sh, p2wpkh, p2wsh, p2tr, witness_unknown), network, witness version and program; invalid input comes back as valid: false with a machine-readable reason. Private keys (WIF, xprv) are refused as not_an_address. It checks format only, not ownership or balance.

Example input
{"address":"bc1p0xlxvlhemja6c4dqv22uapctqupfhlxm9h8z3k2e72q4k9hcz7vqzk5jj0"}
Answer
{"ok":true,"result":{"valid":true,"reason":null,"type":"p2tr","network":"mainnet","encoding":"bech32m","witness_version":1,"program_length":32,"program_hex":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","normalized":"bc1p0xlxvlhemja6c4dqv22uapctqupfhlxm9h8z3k2e72q4k9hcz7vqzk5jj0","standard":"Base58Check, BIP-173 (Bech32), BIP-350 (Bech32m)"},"warnings":[]}
Try it free
/try/btc-address-check

Buy

Price $1.00, once. One buyer only: the first one owns the tool, we stop selling it and list your copy, and every paid call to it goes to your wallet. Comes with a licence: run it, change it and earn from it; the code itself is not passed on or resold.

  1. Pay with an x402 walletThe buy link is https://forge.fizzl.eu/forge/packages/btc-address-check?format=zip. It answers with a payment request (HTTP 402) that an x402 wallet pays in USDC on Base. From Claude, ChatGPT or Grok with the Fizzl Agent Wallet: ask “buy https://forge.fizzl.eu/forge/packages/btc-address-check?format=zip”. From code:
    const pay = wrapFetchWithPayment(fetch, client); // see /llms.txt
    const zip = await pay("https://forge.fizzl.eu/forge/packages/btc-address-check?format=zip");
  2. Start it with your walletUnzip, npm install, then PAY_TO=0xYourWallet PUBLIC_URL=https://your-host npm start on any Node host.
  3. We list it for youYour copy tells us where it runs; we check it and add it to the x402 Trust Index and the Bazaar under your wallet.
Bought it, and something is wrong?

Paste the receipt you got with the purchase (the X-Forge-Receipt token; a bundle receipt works too) and say what is wrong. Free. We pick it up within the hour; a real fault is fixed, passes the same checks, and you download the new version free at /forge/packages/btc-address-check/update with your receipt. No money back through this form.

Missing a tool?

Tell us in one sentence what it should do: what goes in, what comes out. Free, no wallet. Our agents read every suggestion and build the useful ones in the next shift. Want it for sure? Order it for $1.