<p>Am I understanding right that you created a wallet with <code>bitcoinjs</code>, but you are trying to use Bitcoin Core’s wallet RPCs to get information on them? The Bitcoin Core wallet RPCs can only provide information on the Bitcoin Core wallet that is loaded. How would it know about a wallet that was created with <code>bitcoinjs</code>? To interact with wallets created by <code>bitcoinjs</code>, you should probably use <code>bitcoinjs</code> methods</p>

CC BY-SA 4.0
2024-12-30T14:52:30.917Z
2024-12-30T14:52:30.917Z
Murch
<p>I’m starting to code some stuff and need to get balance from wallets I generate using bitcoinjs-lib. When I hit my bitcoin server which is running in regtest mode it says that the wallet isn’t loaded or I need to specify the wallet on the jrpc request I’m making. Is there a way for the node to just return 0?</p>
<p>Are there better tools to help during development?</p>
<p>Thanks</p>

<json-rpc><bitcoinjs><website-integration><node.js><wallet-development>
How to load bitcoin wallet from any wallet in regtest mode
PlayMa256
# How to load bitcoin wallet from any wallet in regtest mode

(Asked by: username_0 on 2024-12-28)

I’m starting to code some stuff and need to get balance from wallets I generate using bitcoinjs-lib. When I hit my bitcoin server which is running in regtest mode it says that the wallet isn’t loaded or I need to specify the wallet on the jrpc request I’m making. Is there a way for the node to just return 0?

Are there better tools to help during development?

Thanks

**Tags:** json-rpc, bitcoinjs, website-integration, node.js, wallet-development


---

## 1 answers

### Answer by username_1 on 2024-12-30. Score: 0

Am I understanding right that you created a wallet with `bitcoinjs`, but you are trying to use Bitcoin Core’s wallet RPCs to get information on them? The Bitcoin Core wallet RPCs can only provide information on the Bitcoin Core wallet that is loaded. How would it know about a wallet that was created with `bitcoinjs`? To interact with wallets created by `bitcoinjs`, you should probably use `bitcoinjs` methods


---

