← zk-playground

Binius64: prove you own a Bitcoin address

Prove you control the private key behind a Bitcoin P2PKH address, for a challenge the verifier chose, without revealing the key and without producing an ECDSA signature. The circuit runs the whole address derivation (secp256k1 point multiplication, SHA-256, RIPEMD-160); the proof is hash-based, so this kind of ownership proof does not rest on the discrete-log assumption ECDSA does. Test keys only: never send funds to them.

Run everything

Proves ownership, verifies, then checks that four kinds of cheating are caught.


      

1 · The key (stays in this tab)

Address (public):

—

hash160, the 20 bytes the address encodes:

—

2 · Owner: prove

No proof yet.

3 · Verifier: check

The verifier knows only the address and its challenge. Change either to see the proof fail.

—

4 · Tamper with the proof

Numbers

Log

Circuit: binius64's P2PKH gadget with the address as a public input (its own example keeps the address private, which proves nothing about a particular address); zero-knowledge mode, the challenge signed into the proof. Package: libraries/binius/ in the repository.