We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [bcoin]

bcoin is a Bitcoin fullnode implementation written in JavaScript.

Filter by
Sorted by
Tagged with
1
vote
1answer
46 views

How to sign a raw multisig transaction from an external private key

I am creating a 2-of-3 multisig wallet, where the 2 hot keys are external HSM devices. I am using Bcoin to create my transactions. After the transactions are created, I will send the raw transaction ...
1
vote
1answer
65 views

Hardened address generation with BIP44 watch-only wallet with xpub

I am puzzled by the hardened key derivation from a watch-only BIP44 wallet. Let me first explain what I am trying to do. I am implementing a 2-of-3 multisig scheme I am using Bcoin node and wallet ...
1
vote
1answer
94 views

Bcoin vs Bitcoin Core: query your node to list transactions of any address

I am trying to set up a Bitcoin node. It should be possible to query the node through JSON RPC to get a list of all transactions (including UTXOs) of any Bitcoin Address, which doesn't necessarily ...
1
vote
1answer
34 views

Creating a multisig wallet with bcoin and receiving transactions

I am trying to create a multisig wallet from two externally generated xpubs. The process I am taking is to create two multisig wallets with the two xpubs, add each others keys as shared keys and ...
1
vote
1answer
50 views

Create a transaction from a wallet coins (UTXOs) with the bcoin library

I have a multisig setup where the signing is done through external HSM's. I am using Bcoin and its wallet to receive funds. What I am trying to do is to create a transaction and sign it with the HSMs. ...
1
vote
1answer
43 views

Bcoin initial blockchain sync progress isn't saved

I'm using bcoin and it's class FullNode to run a full Bitcoin Node. Here's the configuration: const node = new bcoin.FullNode({ prefix: '/mnt/d/bcoin', network: 'testnet', ...
1
vote
1answer
74 views

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?
0
votes
1answer
38 views

How to create an application which constructs a transaction using `bcoin` (javascript)?

I am new to development. I am working on a project and I am trying to use bcoin. I want to create an application which has a UI, where the user will be asked to enter Destination address and amount. ...
1
vote
0answers
30 views

Sample code to transfer funds using bcoin [closed]

I am new to bitcoin world. I wanted to get a sample code to transfer bitcoins from one bitcoin account to another using javascript and bcoin. The inputs are sender's private key and address, receiver'...
-1
votes
1answer
218 views

How to get balance history of a bitcoin address using BCOIN node

Is there any way to get history balance of an address. Balance is unspent transaction outputs (UTXOs). I am using BCOIN node. Bcoin has given a API for /coin/address/:address but it is giving ...
0
votes
1answer
228 views

How to make a persistent SPV wallet? (bcoin)

I created a wallet on a SPV node. The wallet is initialized from a mnemonic. After receiving some transactions, the wallet's balance looks like: { account: -1, tx: 3, coin: 3, unconfirmed: 136300, ...
2
votes
1answer
103 views

does bcoin support simplified payment verification (SPV)?

Does bcoin support simplified payment verification (SPV)? I can't seem to find anything about it online
1
vote
1answer
115 views

Bcoin wallet always has unconfirmed balance

I have locally running bcoin node in testnet and acquired test bitcoins through faucet. Now, when calling balance check via bcoin cli wallet balance (when synchronization completed) I always receiving ...
0
votes
0answers
360 views

Bcoin node and testnet faucet

I started bcoin in daemon mode (s I understand it is the same as full-node) with specifying network: testnet. As I understand it connected to the world-wide testnet. Now I want to get some test BTC. ...
1
vote
1answer
77 views

Is it possible to alter the source code and still have a valid Bitcoin transaction?

Say I wanted to run an alternative version of Bitcoin, and I changed 1 line in the bitcoin source code. Is the signature/hash of the completed transaction going be the same or different when I run ...
0
votes
1answer
533 views

How do I spend a non-standard P2SH transaction

I was sent a P2SH puzzle address. I have solved the puzzle, which is to say I have created a script that matches the hash, and I know what to put on the stack before the script. Sadly, what I am ...
1
vote
2answers
112 views

Error: Unknown network starting a bcoin node

Getting an error Unknown Network running a bcoin node, but I'm not sure what's causing it since I'm defining the network very quickly. Error Message: (node:10579) UnhandledPromiseRejectionWarning: ...
0
votes
1answer
530 views

Default http port for lcoin?

What is the default http port that lcoin listens on? bcoin listens on port 18332 for http by default, however lcoin documentation links only point to bcoin doc links
0
votes
1answer
227 views

How to import Multibit HD Wallet in bcoin?

I created a wallet using Multibit HD and noted the mnemonic. I sent some money to an address that showed up in Multibit HD. Worked fine. Transaktions are displayed and balance is adjusted. Can be ...
1
vote
1answer
382 views

bcoin chainldb Resource Temporarily unavailable

I'm trying to run a script that retrieves transactions from the blockchain. When I run the script though I get the following error: Error: IO error: lock /home/bucko/.bcoin/testnet/chain.ldb/LOCK: ...
2
votes
1answer
175 views

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 ...
5
votes
1answer
1k views

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?
2
votes
1answer
184 views

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 (/root/...
3
votes
1answer
244 views

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?
2
votes
1answer
144 views

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 ...
1
vote
2answers
376 views

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 ...