Bitcoin PIR

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

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. 1.npm install pir-sdk-wasm
  2. 2.Copy the snippet on the right into your wallet's sync path.
  3. 3.Pin attestation values from bitcoin-pir-web/attest-pin and refuse to query if the chain or pins fail.