SDK playground
Paste a Bitcoin address, pick a backend, hit Run query. We open a real WebSocket to wss://weikeng1.bitcoinpir.org / wss://bitcoin-pir-weikeng-laptop.chenweikeng.com, attest the server binaries, check each operator-signed identity, run the query, and verify the result with per-bucket Merkle proofs. Neither server has a TEE: pir2 now runs on a MacBook. The right panel is the equivalent TypeScript your wallet would write — editable and runnable right here, transpiled and executed entirely in your browser.
DPF-PIR and HarmonyPIR are free while the servers have room: paid lookups go first, and a busy server says so. OnionPIR is free one lookup at a time within an hourly budget; past it a lookup needs credits, and the playground has no wallet yet, so it stops at the first busy frame and shows why. ORAM TEE runs in an AMD SEV-SNP enclave and is also free while the server has room.
Backend
Result
Edit & run the SDK code
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.