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 SegWit Receive Address?

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

Short answer

Use net=test and type=segwit for a Testnet SegWit address. The returned address is for testing, not receiving mainnet BTC.

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.

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

How it works

The command reads .result.address into ADDR_TEST. Check that the response is successful before using it. Do not send real BTC to a Testnet address.

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