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

How Do I Generate a Testnet Taproot Receive Address?

permalink THAMER
#bitcoin#curl#wab-engine#wallet-api

Short answer

Use net=test and type=taproot to request a Taproot receive address, typically encoded with the tb1p prefix on Bitcoin Testnet.

CURL command

The following command follows the examples published in the THAMER API reference. Set BASE_URL to your own trusted Engine endpoint (the reference uses http://127.0.0.1:7070). Commands requiring authorization use KEY, your private BTC KEY. Install curl and jq locally.

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"

How it works

Confirm the returned address and network before sharing it. Taproot and SegWit are separate wallet address types.

Important distinction

This is a documented command example, not a live execution or proof of a successful wallet operation. API responses and availability depend on the installed Engine, its wallet state, and Bitcoin Core. Never expose BTC KEY or BTC SECRET in logs or public examples.

Questions & Answers

Explore all questions →

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