Developer Independence Through a Minimal Bitcoin Execution Contract
Research status: Engineering philosophy based on stated product architecture and reported laboratory evidence. New examples and tests are illustrative and have not been executed.
The interface as a boundary
“AI Agent Ready — Developer-friendly CURL / JSON interface.” The architectural value is not the curl executable itself. HTTP and JSON provide a contract that can be implemented by Go, Rust, Python, mobile applications or a shell script. The wallet engine need not prescribe the developer’s application framework.
Contract ownership
A client should distinguish transport success from operation success. An HTTP response can contain an application error; a timeout can leave execution uncertain. The WAB response envelope uses ok, request_id and result for successful operations. Clients should parse structured data, validate expected fields and retain correlation identifiers. They should not infer success from a human-readable message or HTTP status alone.
Illustrative read-only integration
curl -sS "$BASE_URL/health"Here BASE_URL denotes the configured API base including its version prefix where required. Consult discovery and the deployed API documentation before choosing paths. The example does not assume a public endpoint or expose wallet credentials. For authenticated operations, inject secrets from a protected runtime configuration rather than embedding them in source code.
SDKs as optional adapters
An SDK can provide typed requests, validation and error mapping. It should not become the sole route to execution. A developer can replace an adapter while retaining the underlying contract. Version-specific behavior should be tested against the deployed engine rather than guessed from a library version. Avoid silently converting integer satoshi amounts to floating-point BTC.
Proposed compatibility test
Implement the same read-only request in two independent languages. Compare normalized responses, network selection, error classification and request correlation. Test missing authentication and malformed input in an isolated Testnet environment. Do not retry uncertain financial writes with fresh identifiers. These tests are proposed and do not certify any SDK.
Engineering conclusion
A minimal execution contract makes application design a developer decision. Compatibility still requires precise documentation and regression testing.
