Created
August 24, 2014 04:36
-
-
Save JackTanRoo/f4d709d081c4889fa564 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tx = new bitcoin.Transaction() | |
// Add the input (who is paying) of the form [previous transaction hash, index of the output to use] | |
tx.addInput("aa94ab02c182214f090e99a0d57021caffd0f195a81c24602b1028b130b63e31", 0) <---- Where do i get the previous transaction hash?? | |
// Add the output (who to pay to) of the form [payee's address, amount in satoshis] | |
tx.addOutput("1Gokm82v6DmtwKEB8AiVhm82hyFSsEvBDK", 15000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment