Questions tagged [bcoin]

bcoin is a Bitcoin fullnode implementation written in JavaScript.

bcoin is a Bitcoin full node implementation written in JavaScript. You can use bcoin to build a full node, spv wallet, even a miner. Bcoin also includes tools for building scripts and transactions, crypto utilities, making RPC calls, a REST API for interacting with your node and much more. All questions related to bcoin welcome- strange errors, implementation errors, how to do common bitcoin tasks in JavaScript using bcoin, etc.

Get started with bcoin, with docs and guides, at the bcoin homepage: http://bcoin.io

43 questions
6
votes
1 answer

How do I remove Wallet from Bcoin?

I'm playing with bcoin cli and created lots of wallets. Is there any way to remove wallet via WalletDB Api?
Node
  • 316
  • 1
  • 6
3
votes
1 answer

How do I get transactions from the Bitcoin Blockchain with bcoin?

Is this possible with bcoin? Do I need a full node to get transactions or does it work with an SPV?
Bucko
  • 183
  • 8
2
votes
0 answers

Sign transaction externally

I create a transaction with inputs from a given address / public key without signatures. Every input needs to be signed. I use a different method to generate the signatures so I can't provide a private key to sign the transaction. Much like the…
Bernd Strehl
  • 121
  • 2
2
votes
1 answer

How do I disable mining in `bcoin`?

When running bcoin, how does one disable mining by default? I just want to run a full node without mining. There seems to be no config options to control it.
x70766c
  • 23
  • 3
2
votes
1 answer

Estimated Fees in BCOIN

I installed a BCOIN full node and I would like to calculate estimated fees for Bitcoin transactions. This functionality works perfectly in the CLI. For example: bcoin-cli fee 3 Anyway things go wrong when I use the JS api inside my express client…
2
votes
1 answer

How do I connect my `bcoin` wallet to `bitcoind`?

I have bitcoind running in regtest mode. I want to connect my bcoin wallet to it and retrieve all UTXOs relevant to the sender's address. How can I do that?
Deb
  • 123
  • 6
2
votes
1 answer

does bcoin support simplified payment verification (SPV)?

Does bcoin support simplified payment verification (SPV)? I can't seem to find anything about it online
arshbot
  • 1,710
  • 14
  • 35
2
votes
1 answer

Bcoin - chain database location

'use strict'; const Chain = require('bcoin/lib/blockchain/chain'); const chain = new Chain({ network: 'main' }); (async () => { await chain.open(); console.log(chain.tip); })(); The result is: { hash:…
tuxcanfly
  • 395
  • 1
  • 6
2
votes
1 answer

Bcoin - Database backend not found

/root/BCoin/node_modules/bcoin/lib/db/backends.js:16 throw new Error('Database backend "' + name + '" not found.'); ^ Error: Database backend "leveldown" not found. at Object.get…
Thann
  • 70
  • 7
2
votes
1 answer

Resyncing bcoin brings up database version error

I was resyncing my bcoin node and got the following error: Error: Warning: Your database does not match the current database version. This is likely because the database layout or serialization format has changed drastically. If you want to…
Bucko
  • 183
  • 8
2
votes
2 answers

bcoin watch only address

Can anyone tell me how to set up a watch-only address using bcoin? while using the command: bcoin wallet create myNewWallet this will always be a "watchOnly": false wallet by default. Is there any documentation for these commands?
Michael
  • 21
  • 1
2
votes
2 answers

Missing transactions from full node

I am running a full node (bitcoin-core) that connects to the peers network. I am also running and SPV node with a wallet (bcoin). I have made 2 different send transaction from the SPV wallet with very low fee (1 and 3 statoshi per vbyte). I can see…
stopiky
  • 21
  • 3
2
votes
2 answers

What is bcoin and what is it used for?

I would like to know what bcoin is exactly because I'm confused about what it does. Is it an API for communicating with the bitcoin blockchain? Is it to build a wallet system for other users to have their own accounts and use it for transactions…
2
votes
1 answer

how to create second node regtest bcoin

I have created a regtest node bcoin, I would like to know how to create the second regtest node to send transactions between nodes and you could also tell me how to generate addresses for the second node through cli
Parcero
  • 35
  • 3
1
vote
0 answers

How can I use PSBT in a JavaScript project?

I am trying to use PSBT in a Bitcoin project. The idea is to generate keys and sign transactions client-side. I am already familiar with bitcoinjs-lib but I find the API rather complicated. It would be great if I could use bcoin which is usually…
1
2 3