Skip to content

Communication with bitcoin nodes via RPC calls, but in the easy way with node.js

License

Notifications You must be signed in to change notification settings

marco-jardim/bitcoin-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitcoin-lib

Sending custom transactions on bitcoin via RPC calls, but in the easy way with node.js. Just open the wallet on your node, add the amount, the destination and the desired fee. No more counter-intuitive default send RPC method that so many other libs implements and sends the change of your transaction to a new address. It works with every Bitcoin forks.

Example

const node = new Node(client, senderPK);
node.sendTransaction(senderAddress, destinationAddress, amount, fee)
.then(txid => console.log('Transaction id:', txid));

More usage details here.

About

Communication with bitcoin nodes via RPC calls, but in the easy way with node.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published