Skip to content

Node.JS implementation of Zero-Knowledge Contingent Payment

License

Notifications You must be signed in to change notification settings

Shootle/preimage-bitcoin-lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

preimage-bitcoin-lib

##Node.JS implementation of Zero-Knowledge Contingent Payment

This library contains the code necessary to create a scriptPubKey as described in The first successful Zero-Knowledge Contingent Payment.

See an example in example.js. Use as a module by requiring preimagebitcoin.js.

TODO

  • Add method to generate the spend scriptSig.
  • Add method to build the buyer transaction.
  • Add method to build the seller final transaction.

About

Node.JS implementation of Zero-Knowledge Contingent Payment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%