<p>I highly recommend looking at Bcoin. It is a full node implementation used by Purse.io but also includes a rich API for interacting with the Node and wallets. All of it running in NodeJS. Documentation is sparse but getting better.</p>

<p><a href="http://bcoin.io/" rel="nofollow noreferrer">http://bcoin.io/</a></p>

<p>Otherwise, bitcoinjs <a href="https://github.com/bitcoinjs/bitcoinjs-lib" rel="nofollow noreferrer">https://github.com/bitcoinjs/bitcoinjs-lib</a> is a Javascript library that lets you parse, create, and sign transactions. But it doesn't handle the hard part of querying the network, caching information about transactions and wallets, or picking inputs and calculating fees when you want to spend.</p>

CC BY-SA 4.0
2018-09-25T13:26:47.690Z
For bitcoinjs-lib, Can I can configure it to connect to my local running bitcoin core full node ?
user3885282
CC BY-SA 4.0
2018-09-25T17:10:05.393Z
BitcoinJs does not handle th networking for you. You’d have to do the calls to the Core node yourself and use bitcoinjs to parse the data. I know, not friendly. Hence why I recommend bcoin instead.
Paul Puey
CC BY-SA 4.0
2018-09-25T17:11:38.080Z
My company also builds a mobile wallet Edge. It is built as a JavaScript SDK for React Native and the web, but in theory it runs fine on NodeJS as that’s how we test it. It CAN connect to your node if you run ElectrumX on top of your node. It can fully handle the networking between wallet and node and can even connect to multiple nodes concurrently. Sending and receiving is abstracted out to just a couple JavaScript calls. It may be worth trying out. https://GitHub.com/EdgeApp/edge-core-js
Paul Puey
CC BY-SA 4.0
2018-09-26T01:46:51.850Z
Can you suggest me how I get started with bcoin. I want to run a full node and then write nodejs code to get balance/transfer funds. Any sample code will be really helpful.
user3885282
CC BY-SA 4.0
2018-09-26T05:20:00.520Z
Sorry. I can only recommend heading to bcoin.io and looking at the docs. They also have a Slack channel where you can ask questions.
Paul Puey
CC BY-SA 4.0
2018-09-25T01:19:36.693Z
2018-09-25T01:19:36.693Z
Paul Puey
<p>I am new to the Bitcoin world. I have installed <a href="https://bitcoincore.org/en/download/" rel="nofollow noreferrer">Bitcoin Core</a> on a Windows machine and am running the full node. I want to develop a nodejs app that would be running on the same machine interacting with the Bitcoin node for 'balance/transfer funds/create wallet/etc'. I will really appreciate any pointers or sample code to achieve that.</p>

CC BY-SA 4.0
2018-09-24T13:39:50.460Z
Searching for "Bitcoin RPC protocol" might help you a lot.
MCCCS
<bitcoind><json-rpc><node.js>
How do I interact with Bitcoin Core from NodeJS?
user3885282
# How do I interact with Bitcoin Core from NodeJS?

(Asked by: username_0 on 2018-09-24)

I am new to the Bitcoin world. I have installed [Bitcoin Core](https://bitcoincore.org/en/download/) on a Windows machine and am running the full node. I want to develop a nodejs app that would be running on the same machine interacting with the Bitcoin node for 'balance/transfer funds/create wallet/etc'. I will really appreciate any pointers or sample code to achieve that.

**Tags:** bitcoind, json-rpc, node.js

> **Comments:**
> **username_1**: Searching for "Bitcoin RPC protocol" might help you a lot.  

---

## 1 answers

### Answer by username_2 on 2018-09-25. Score: 1

I highly recommend looking at Bcoin. It is a full node implementation used by Purse.io but also includes a rich API for interacting with the Node and wallets. All of it running in NodeJS. Documentation is sparse but getting better.

<http://bcoin.io/>

Otherwise, bitcoinjs <https://github.com/bitcoinjs/bitcoinjs-lib> is a Javascript library that lets you parse, create, and sign transactions. But it doesn't handle the hard part of querying the network, caching information about transactions and wallets, or picking inputs and calculating fees when you want to spend.

> **Comments:**
> **username_0**: For bitcoinjs-lib, Can I can configure it to connect to my local running bitcoin core full node ?  
> **username_2**: BitcoinJs does not handle th networking for you. You’d have to do the calls to the Core node yourself and use bitcoinjs to parse the data. I know, not friendly. Hence why I recommend bcoin instead.  
> **username_2**: My company also builds a mobile wallet Edge. It is built as a JavaScript SDK for React Native and the web, but in theory it runs fine on NodeJS as that’s how we test it. It CAN connect to your node if you run ElectrumX on top of your node. It can fully handle the networking between wallet and node and can even connect to multiple nodes concurrently. Sending and receiving is abstracted out to just a couple JavaScript calls. It may be worth trying out. https://GitHub.com/EdgeApp/edge-core-js  
> **username_0**: Can you suggest me how I get started with bcoin. I want to run a full node and then write nodejs code to get balance/transfer funds. Any sample code will be really helpful.  
> **username_2**: Sorry. I can only recommend heading to bcoin.io and looking at the docs. They also have a Slack channel where you can ask questions.  

---

