1

I have downloaded and installed Bitcoin full node on my Linux server and I'd like to start working with the bitcoin core to create wallet, addresses, and transactions. What is the best JS libraries available to facilitate using all the necessary methods in this regard?

1
  • The question can be opinion based I don't like JS and won't consider anything as BEST. However I found interesting resources on bitcoin-studio.com and they are using BitcoinJS
    – user103136
    Commented Nov 10, 2020 at 16:24

3 Answers 3

1

I highly recommend bcoin:

https://bcoin.io/ https://github.com/bcoin-org/bcoin

It is a nodejs library that can also run a fully validating node, SPV node, and BIP44 wallet. It's used in production by many long-standing bitcoin companies such as Purse.io

You can even use the bcoin client to make RPC calls to bitcoin core, and of course you do not need to run the bcoin full node to take advantage of the library for TX construction and wallet functions.

0

https://github.com/bitcoinjs/bitcoinjs-lib Bitcoinjs-lib lets you create and sign transactions

1
  • Couldn't get their library to create valid addresses on testnet. Commented Feb 19, 2023 at 22:41
0

You can search github for popular open-source projects with the query "bitcoin core javascript".

The results will show you the most popular libraries on github at the moment!

I used bitcoind-rpc by bitpay, and it worked well for me. There may be other libraries that work better for you. Just search on github, gitlab, or other open-source repository hosts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.