David Tse, Nikhil Vanjani and Psi Vesely propose a witness-encryption method called Praxis that ties access to encrypted information to a valid mathematical proof. One possible use is a Bitcoin bridge where proof that a claim on another chain was retired unlocks authority to spend Bitcoin.
The proposal is a cryptographic technique, not a working bridge.
Bitcoin can check an ordinary signature, but its limited scripting language makes verifying a complicated proof directly on-chain more difficult. An earlier proposal, Bitcoin PIPEs v2, instead locks a signing key behind a proof condition: the proof unlocks the key off-chain, and Bitcoin checks the resulting signature. A bridge would still need to bind that authority to the correct funds, recipient and amount.
For a stated 100-bit security level, the Praxis authors estimate an encrypted package size of 7.88 GiB. For the same condition, key length and security level, they calculate that both package size and encryption work are below one ten-billionth of the costs of earlier designs by Hair and Sahai. Anyone opening the package would still need access to several gigabytes of data, and those estimates count the work only after a valid proof is available.
A bridge would also have to generate the proof and make the encrypted package available when needed. The example’s proof system requires an honestly run setup: the authors warn that someone who kept the setup secret could create proofs that pass the check and open packages tied to it. Praxis supports a wider range of efficiently checkable conditions than earlier BABE research, which used witness encryption for a specific mathematical check.




