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?
-
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 – Prayank Nov 10 '20 at 16:24
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.
You can make the following query on Github https://github.com/search?q=bitcoin+core+javascript
As result, you have the most popular library that exists at the moment!
I used bitcoind-rpc by bitpay and worked well for me, but can exist some other library that works for you just search on github/gitlab and another repository.
https://github.com/bitcoinjs/bitcoinjs-lib Bitcoinjs-lib lets you create and sign transactions