From Bitcoin Testnet to Mainnet: Engineering the Production Boundary
Research status: Engineering philosophy based on the stated product design and reported laboratory results. New procedures are illustrative; no new live execution is claimed.
Testnet is an engineering environment
“Self-hosted Bitcoin software · Mainnet & Testnet · CURL-first integration” describes a common programming model across two environments. It does not promise identical network conditions, liquidity, fees or confirmation delays. Testnet is valuable because developers can exercise real Bitcoin transaction rules without using mainnet funds.
A self-hosted engine does not eliminate network dependencies. Bitcoin Core needs access to peers and sufficient synchronized chain state. Recovery material must remain available. A pruned node also has historical data limitations that must be considered during restoration. Do not modify the proven node configuration merely to make an SDK example work.
Promotion gates
| Gate | Evidence required |
|---|---|
| Contract | Typed requests and response/error handling |
| Network | Explicit chain selection and isolation |
| Address | BIP84/BIP86 receiving and destination checks |
| Execution | Authorized testnet transfers and output matching |
| Recovery | Restore and remove behavior tested |
| Economics | Actual output and fee accounting |
| Operations | Credential protection, logs and failure recovery |
A testnet success does not authorize mainnet spending. A production deployment should require a separate explicit owner decision, a reviewed destination and a bounded amount. Agent spending policies belong in the external authorization layer and must not rewrite the wallet's immutable signed fee law.
Public laboratory boundary
A future public LAB API can lower the cost of experimentation for independent developers and AI agents. It should expose only the intended test network, isolate user state and protect BTC KEY credentials. No traditional account requirement is not the same as unrestricted execution. These are proposed deployment controls, not claims that the public laboratory is already operating.
Evidence and limits
The reported Codex experiments demonstrate testnet funding, cross-family transfers and external HTLC settlement and refund. Earlier mainnet laboratory reports describe actual transfers, but they do not establish comprehensive production security or universal application compatibility. Promote an integration only after its own acceptance criteria are met. Preserve the engine and signed policy; improve the client around them.
Primary references and related research
- [Testnet network compatibility](/docs/wab-agent-testnet-network-compatibility)
- [Flying Wallet architecture](/docs/wab-philosophy-flying-wallet-architecture)
