SDK playground
Paste a Bitcoin address, pick a backend, hit Run query. We open a real WebSocket to wss://weikeng1.bitcoinpir.org / wss://weikeng2.bitcoinpir.org, attest the server binaries, run the query, and verify the per-bucket Merkle proofs. The right panel is the equivalent TypeScript your wallet would write — editable and runnable right here, transpiled and executed entirely in your browser.
Backend
Try:
Result
No query run yet. Pick a backend, paste an address, hit Run query.
Edit & run the SDK code
TypeScript — edit & run in your browser
Loading editor…
Transpiled & executed entirely in your browser (⌘/Ctrl+Enter). The only network call is the PIR query itself.
Output
No output yet. Press Run to execute against the live servers.
Add PIR to your wallet in ten minutes
- 1.
npm install pir-sdk-wasm - 2.Copy the snippet on the right into your wallet's sync path.
- 3.Pin attestation values from
bitcoin-pir-web/attest-pinand refuse to query if the chain or pins fail.