README.md
TEXT FILE671 B · Public source code for developers, search crawlers and AI agents
1# How to Connect WordPress to a Self-Hosted Bitcoin Wallet API
2
3Keep BTC_KEY in the server environment and use the WordPress HTTP API from a private backend function. Replace the fixed placeholder wallet origin with your trusted HTTPS endpoint. The example calls RECEIVE on testnet only and disables redirects. Never accept an arbitrary engine URL from a browser. Add authenticated session creation, rate limits and full address checksum validation before exposing a public endpoint. The BTC KEY may authorize more than RECEIVE, so isolate the engine behind a restricted service. Do not log request headers.
4
5Educational example; no live integration test. License: 0BSD.Read-only source · Select a line number to link directly · Raw download above
