Author

Topic: Sample code to transfer funds using bcoin (Read 213 times)

legendary
Activity: 3388
Merit: 3154
October 13, 2018, 10:23:51 AM
#3
Hello Jessica.

Please take a look at the bcoin docs, there you will find all the information you need.

http://bcoin.io/docs/

If you can't find the right info you are searching, then contact us by this channel, but you should ask google first, he is an excellent guide.
legendary
Activity: 1624
Merit: 2509
October 10, 2018, 07:19:19 AM
#2
I don't exactly understand what you want from us..

If the inputs are the senders priv key, address, change address and receivers address, simply call the function with all of these parameters.

For examples (code snippets), look at github (e.g. https://github.com/bcoin-org/bcoin/blob/master/docs/Examples/create-sign-tx.js).
newbie
Activity: 16
Merit: 1
October 09, 2018, 07:58:42 AM
#1
I am running bcoin node. I wanted to get a sample code to transfer bitcoins from one bitcoin account to another using javascript and bcoin. The inputs are sender's private key and address, receiver's address, and may be a change address. I will really appreciate any help.
Jump to: