Questions tagged [node.js]
56 questions
39
votes
4 answers
What are the keys used in the blockchain levelDB (ie what are the key:value pairs)?
I am wondering if I can use node.js and levelup to access a copy of the blockchain database directly.
But from what I can see, I need to know the name of the key(s) before I can get any data, as this is used in the get method of levelup.
However, I…
T9b
- 1,334
- 1
- 11
- 16
7
votes
1 answer
How to watch for the transactions over blockchain via nodejs?
I am using this bitcore npm package.
https://bitcore.io/api/lib
And i want to monitor all the transactions over the blockchain, and read the input address, output address and amount associated with that transaction.
But i am unable to find the…
codeofnode
- 171
- 3
7
votes
1 answer
Which language has better Bitcoin API experience, C# or Node.js?
At the moment it seems to me on the .NET side NBitcoin would compete with Bitcoin.js on the other.
Update: I decided on NBitcoin. It has a great book to learn from.
Note I will not form opinion on my question, I contributed a great chunk of this…
nopara73
- 796
- 5
- 21
5
votes
1 answer
Bitcoin RPC ECONNREFUSED
Trying to RPC my local active Bitcoin Full Node, but getting ECONNREFUSED on client.getBalance. Am I missing additional configuration? Is there a better RPC wrapper to use? Any advice or working examples would be greatly appreciated!
CODE:
var…
Corbin
- 265
- 2
- 8
4
votes
4 answers
Preventing the exposure of public addresses on a website
Rather than having a single, fixed address, I want to generate a new address on my website every time a user request comes in.
I'm concerned about google or another web crawler indexing my website and tying my Bitcoin address to my website…
ken Code
- 41
- 2
3
votes
1 answer
Using Bitcore API for Escrow
Has anyone experience using the Bitcore API for Escrow purposes with node.js?
I assume, you'd need to create a new a address, then somehow create a new transaction using the newly created address, the probe that address for it's balance until its…
rjmacarthy
- 235
- 1
- 11
2
votes
2 answers
Can you run a full Bitcoin node on Node.js?
Are there bitcoin full node implementations running on Node.js?
Node.js is the server side language that I'm most familiar with so I was wondering if I can run a full bitcoin node on Node.js?
I just want to learn more about how a node works and…
Ivelin
- 65
- 6
2
votes
1 answer
How do I interact with Bitcoin Core from NodeJS?
I am new to the Bitcoin world. I have installed Bitcoin Core 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…
user3885282
- 41
- 1
- 2
2
votes
2 answers
How to send Bitcoin from one addresss to another using nodejs
which api i can use to tranfer BTC from one address to another. I have knowledge about bitcoin-transaction api but it does not allow to setup fees. We have try this api but it cost too much high for micro transactions.
If there is any option to…
Rushabh Madhu
- 163
- 1
- 9
2
votes
3 answers
get the real last block
I have this code:
from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException
import logging
rpc_user='-------' #User name is hidden
rpc_password='-------' #Password…
asd2791
- 51
- 1
- 5
2
votes
3 answers
Litecoin litecore-lib receive UTXO and current balance
I have coded NodeJS script for bitcoin for send all balance from by address to some other one. Now I want to do this for the litecoin. For bitcoin I have used bitcore-lib and bitcore-explorers libs to do that.
For litecoin I have found forked and…
Dmytro Zarezenko
- 123
- 1
- 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
2 answers
how to use bitcoin blockchain be useful to authenticate documents?
have read a little about blockchains and found there is lot of blockchain npm libraries available.
How can I take benefit of the bitcoin blockchain to authenticate documents : to obtain a proof a document has not been alterated ot changed.
Any…
yarek
- 123
- 3
2
votes
1 answer
Authenticating with npm nodejs bitcoin-core module
https://github.com/seegno/bitcoin-core
After using npm to install, I get an auth error when I try to run it.
The github repo isn't clear how to auth...
const Client = require('bitcoin-core');
const client = new Client({ network: 'mainnet'…
J. Andrew
- 23
- 5
2
votes
1 answer
Bitcoin HD wallet forwarder without depending on a 3rd party?
I want to setup a REST API service that does 3 simple things.
Ask it to generate a new address (ideally from a BIP32 xpub key tree)
Notify my server application when a deposit and confirmation X happens.
Once the deposit is confirmed, forward the…
sradforth
- 121
- 3