THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

Create Wallet WAB Factory · two interfaces, one wallet creation service

Developers and AI agents can use CURL, or open the web interface at /create. Both paths use the same wallet factory; neither creates a wallet inside the Engine.

curl -sS -X POST https://thamer.org/create | jq

Create Wallet in Browser

Fee acceptance: Creating a wallet is subject to its permanent signed 10% inclusive software usage fee law. Read the fee terms before invoking CURL. Under the currently published API behavior, calling POST /create without a JSON body constitutes acceptance; the browser interface requires explicit consent.

Store BTC ID, BTC KEY and BTC SECRET securely. Never share wallet secrets or paste them into third-party websites.

WAB ENGINE API Reference

Verified local CURL POST examples for the self-hosted Development Wallet AI Bitcoin Engine. These commands are documentation only; this website does not execute wallet operations.

Wallet Identity & Recovery

Run these commands against your own engine. Requires curl and jq. Keep BTC KEY and BTC SECRET private; avoid storing them in shared shell history, logs or public files.

Connection & credentials

Set these placeholders in your own local shell. Never paste real credentials into this website.

export BASE_URL="http://127.0.0.1:7070"

ID='BTC-...'
KEY='bk_...'
SECRET='bts1_...'

REMOVE

Deletes local wallet records only. It does not delete Bitcoin funds, the sovereign wallet, or its immutable recovery material.

curl -sS -X POST "$BASE_URL/api/v5/id/remove" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  --data-binary "$(jq -n \
    --arg id "$ID" \
    --arg secret "$SECRET" \
    '{btc_id:$id,btc_secret:$secret,confirm:"REMOVE"}')" | jq .

RESTORE

Restores the wallet into local engine state using BTC ID, BTC KEY and BTC SECRET.

curl -sS -X POST "$BASE_URL/api/v5/id/restore" \
  -H "Content-Type: application/json" \
  -d "$(jq -n \
    --arg id "$ID" \
    --arg key "$KEY" \
    --arg secret "$SECRET" \
    '{btc_id:$id,btc_key:$key,btc_secret:$secret}')" | jq .

RECOVERY

Retrieves the wallet recovery secret using BTC KEY authorization. Treat the response as sensitive.

curl -sS -X POST "$BASE_URL/api/v5/id/recovery" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{}' | jq .

Important: REMOVE deletes local wallet records only, not the wallet or on-chain funds. RESTORE rebuilds local state. RECOVERY returns sensitive recovery material. Do not expose secrets in logs or screenshots.

Wallet Operations

Official CURL examples from the engine operator, grouped by network and address type. Run these commands on your own trusted engine. Commands below use KEY, TXID and other shell variables from the environment setup.

Security: Never use real credentials in a third-party website. Mainnet SEND can spend actual funds. Destination values such as bc1qDESTINATION are placeholders, not valid Bitcoin addresses.

Runtime environment

export BASE_URL="http://127.0.0.1:7070"
export ID=""
export KEY=""
export SECRET=""
export ADDR_TEST=""
export ADDR_TR_TEST=""
export ADDR_MAIN=""
export ADDR_TR_MAIN=""
export TXID=""
export WATCH_ID=""

System

BTC HEALTH System

curl -sS "$BASE_URL/api/v5/btc/health" | jq .
curl -sS "$BASE_URL/api/v5" | jq .

HEALTHZ System

curl -sS "$BASE_URL/healthz" | jq .

ID / ME System

RESP=$(curl -sS "$BASE_URL/api/v5/id/me" \
  -H "X-BTC-KEY: $KEY")
echo "$RESP" | jq .

Test / Segwit

RECEIVE TEST · SEGWIT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/receive" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"test","type":"segwit"}')
echo "$RESP" | jq .
export ADDR_TEST=$(echo "$RESP" | jq -r '.result.address')
echo "ADDR_TEST=$ADDR_TEST"

BALANCE TEST · SEGWIT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/balance" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"test","type":"segwit"}')
echo "$RESP" | jq .

UTXOS TEST · SEGWIT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/utxos" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"test","type":"segwit"}')
echo "$RESP" | jq .
export TXID=$(echo "$RESP" | jq -r '.result.utxos[0].txid')

SEND TEST · SEGWIT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/send" \
  -H "X-BTC-KEY: $KEY" \
  -H "X-BTC-IDEMPOTENCY: send-$(date +%s)" \
  -H "Content-Type: application/json" \
  -d '{"net":"test","type":"segwit","to":"tb1qDESTINATION","amount_sat":13000}')
echo "$RESP" | jq .
export TXID=$(echo "$RESP" | jq -r '.result.txid // .txid')
echo "TXID=$TXID"

WATCH CREATE TEST · SEGWIT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/watch/create" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"test","type":"segwit","expected_sat":50000,"ttl_sec":3600}')
echo "$RESP" | jq .
export WATCH_ID=$(echo "$RESP" | jq -r '.result.watch_id')
echo "WATCH_ID=$WATCH_ID"

WATCH LIST TEST · SEGWIT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/watch/list" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"test","type":"segwit"}')
echo "$RESP" | jq .

Test / Taproot

RECEIVE TEST · TAPROOT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/receive" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"test","type":"taproot"}')
echo "$RESP" | jq .
export ADDR_TR_TEST=$(echo "$RESP" | jq -r '.result.address')
echo "ADDR_TR_TEST=$ADDR_TR_TEST"

BALANCE TEST · TAPROOT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/balance" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"test","type":"taproot"}')
echo "$RESP" | jq .

UTXOS TEST · TAPROOT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/utxos" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"test","type":"taproot"}')
echo "$RESP" | jq .

SEND TEST · TAPROOT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/send" \
  -H "X-BTC-KEY: $KEY" \
  -H "X-BTC-IDEMPOTENCY: taproot-send-$(date +%s)" \
  -H "Content-Type: application/json" \
  -d '{"net":"test","type":"taproot","to":"tb1pDESTINATION","amount_sat":13000}')
echo "$RESP" | jq .
export TXID=$(echo "$RESP" | jq -r '.result.txid // .txid')
echo "TXID=$TXID"

WATCH CREATE TEST · TAPROOT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/watch/create" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"test","type":"taproot","expected_sat":50000,"ttl_sec":3600}')
echo "$RESP" | jq .
export WATCH_ID=$(echo "$RESP" | jq -r '.result.watch_id')
echo "WATCH_ID=$WATCH_ID"

WATCH LIST TEST · TAPROOT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/watch/list" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"test","type":"taproot"}')
echo "$RESP" | jq .

Main / Segwit

RECEIVE MAIN · SEGWIT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/receive" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"main","type":"segwit"}')
echo "$RESP" | jq .
export ADDR_MAIN=$(echo "$RESP" | jq -r '.result.address')
echo "ADDR_MAIN=$ADDR_MAIN"

BALANCE MAIN · SEGWIT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/balance" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"main","type":"segwit"}')
echo "$RESP" | jq .

UTXOS MAIN · SEGWIT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/utxos" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"main","type":"segwit"}')
echo "$RESP" | jq .

SEND MAIN · SEGWIT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/send" \
  -H "X-BTC-KEY: $KEY" \
  -H "X-BTC-IDEMPOTENCY: send-$(date +%s)" \
  -H "Content-Type: application/json" \
  -d '{"net":"main","type":"segwit","to":"bc1qDESTINATION","amount_sat":13000}')
echo "$RESP" | jq .
export TXID=$(echo "$RESP" | jq -r '.result.txid // .txid')
echo "TXID=$TXID"

Mainnet: This SEND command can broadcast a real Bitcoin transaction. Replace the destination placeholder, verify the amount and fee law, and test on Testnet first.

WATCH CREATE MAIN · SEGWIT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/watch/create" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"main","type":"segwit","expected_sat":50000,"ttl_sec":3600}')
echo "$RESP" | jq .
export WATCH_ID=$(echo "$RESP" | jq -r '.result.watch_id')
echo "WATCH_ID=$WATCH_ID"

Mainnet: Registers a payment watch and derives a Mainnet receive address; it does not send Bitcoin. Confirm the expected amount and TTL before use.

WATCH LIST MAIN · SEGWIT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/watch/list" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"main","type":"segwit"}')
echo "$RESP" | jq .

Main / Taproot

RECEIVE MAIN · TAPROOT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/receive" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"main","type":"taproot"}')
echo "$RESP" | jq .
export ADDR_TR_MAIN=$(echo "$RESP" | jq -r '.result.address')
echo "ADDR_TR_MAIN=$ADDR_TR_MAIN"

BALANCE MAIN · TAPROOT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/balance" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"main","type":"taproot"}')
echo "$RESP" | jq .

UTXOS MAIN · TAPROOT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/utxos" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"main","type":"taproot"}')
echo "$RESP" | jq .

SEND MAIN · TAPROOT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/wallet/send" \
  -H "X-BTC-KEY: $KEY" \
  -H "X-BTC-IDEMPOTENCY: taproot-send-$(date +%s)" \
  -H "Content-Type: application/json" \
  -d '{"net":"main","type":"taproot","to":"bc1pDESTINATION","amount_sat":13000}')
echo "$RESP" | jq .
export TXID=$(echo "$RESP" | jq -r '.result.txid // .txid')
echo "TXID=$TXID"

Mainnet: This SEND command can broadcast a real Bitcoin transaction. Replace the destination placeholder, verify the amount and fee law, and test on Testnet first.

WATCH CREATE MAIN · TAPROOT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/watch/create" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"main","type":"taproot","expected_sat":50000,"ttl_sec":3600}')
echo "$RESP" | jq .
export WATCH_ID=$(echo "$RESP" | jq -r '.result.watch_id')
echo "WATCH_ID=$WATCH_ID"

Mainnet: Registers a payment watch and derives a Mainnet receive address; it does not send Bitcoin. Confirm the expected amount and TTL before use.

WATCH LIST MAIN · TAPROOT

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/watch/list" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"net":"main","type":"taproot"}')
echo "$RESP" | jq .

Tx Status

TX STATUS TX STATUS

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/tx/status" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d "{\"net\":\"test\",\"txid\":\"$TXID\"}")
echo "$RESP" | jq .

TX STATUS TX STATUS

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/tx/status" \
  -H "X-BTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d "{\"net\":\"main\",\"txid\":\"$TXID\"}")
echo "$RESP" | jq .

Watch List (All)

WATCH LIST WATCH LIST (ALL)

RESP=$(curl -sS -X POST "$BASE_URL/api/v5/btc/watch/list" \
  -H "X-BTC-KEY: $KEY")
echo "$RESP" | jq .

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects