Skip to content

kobigurk/preimage-bitcoin-lib

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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