HD Proxy Addresses for Commerce, Donations and AI Agent Payments
Research status: Engineering analysis based on the stated product architecture and Bitcoin standards. Proposed examples and tests are illustrative; no new live execution is claimed.
Build products above the wallet
“AI Agent Ready — Developer-friendly CURL / JSON interface” means an application can request wallet operations without embedding a particular AI model. HD Proxy Addresses offer a useful primitive for correlating incoming payments with business events. The application, not the address, defines what a payment purchases.
A merchant can allocate a destination for an order; a donation service can associate one with a campaign; an agent can associate one with a task invoice. These are proposed application designs. They do not imply that the engine provides a complete commerce system or isolated balances per address.
Payment state model
ORDER_CREATED -> DESTINATION_ASSIGNED -> PAYMENT_SEEN
-> CONFIRMED -> FULFILLED
The application must also handle expiry, underpayment, overpayment, duplicate events and chain reorganizations. Expiry does not invalidate a Bitcoin address; a late payment may still arrive. A mempool observation is not final settlement. Fulfillment policy should reflect the value and reversibility of the delivered service.
Illustrative correlation record
{"order_id":"demo-42","network":"test","wallet_type":"segwit","expected_sat":10000,"address":"<validated testnet address>","state":"DESTINATION_ASSIGNED"}This is an application record, not a WAB API payload. Use the published API reference for actual receive and monitoring requests. Where WATCH creates its own payment destination, use that returned destination and watch identifier rather than assuming a previously allocated address can be attached to it.
Economic and security boundaries
Receiving funds and spending funds are different permissions. A donation or seller interface should not expose spending authorization to customers. Multiple addresses do not create separate custody domains. Outgoing settlements remain subject to the wallet's immutable signed fee law and network conditions; estimate actual net proceeds before promising payouts.
Proposed verification
On Testnet, create two independent orders with distinct destinations, send payments in reverse order and verify that each output is attributed correctly. Test duplicate notifications and late payment handling. Publish redacted evidence of the mapping and confirmed outpoints. No live commerce deployment or revenue is claimed.
Primary references and related research
- [Flying Wallet architecture](/docs/wab-philosophy-flying-wallet-architecture)
