Intent proof implementation for Bitcoin message signing.
Intent proof defines a standard for signing Bitcoin messages as well as proving ownership of coins. This namespace provides utilities for creating and validating Intent proof.
it is greatly inspired by BIP322.
https://github.com/bitcoin/bips/blob/master/bip-0322.mediawiki
// Create a Intent proofconst proof = Intent.create( "Hello Bitcoin!", [input], [output]);// Sign the proofconst signedProof = await identity.sign(proof Copy
// Create a Intent proofconst proof = Intent.create( "Hello Bitcoin!", [input], [output]);// Sign the proofconst signedProof = await identity.sign(proof
Intent proof implementation for Bitcoin message signing.
Intent proof defines a standard for signing Bitcoin messages as well as proving ownership of coins. This namespace provides utilities for creating and validating Intent proof.
it is greatly inspired by BIP322.
See
https://github.com/bitcoin/bips/blob/master/bip-0322.mediawiki
Example