Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 725 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 725 Bytes

Building an extremely sophisticated Bitcoin Wallet

Remember this is a purely for Node.js. Any other environment might not function properly. Even browserify.

Running

To see the solution :

npm start

This will start the server on port localhost:3000.

Testing

To run the tests:

Click on `Parse Transaction Hex` button for the first question.
Click on `Evaluate Script` button for the second question.
Note: 
The transaction hex and redeem script are already hardcoded in the index.js file.
The transaction builder is unstable, so I used the builder from bitcoinjs-lib to save time.

This will run the tests and show the results.