Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

The tag has no usage guidance.

0
votes
0answers
13 views

sending & receiving bitcoin transactions - Semi - Automated

Hi I'm looking for a way to send transactions and track incoming transactions using some kind of software&/database/code that will let me choose how much to send dependant on preset formulas from ...
0
votes
0answers
9 views

How to make hd wallet in node.js?

I am trying to make HD wallet such as BTC, ETH and LTC in node.js. Which package are used? I didn't find the correct answer. If anyone know it, please help me. Thanks.
0
votes
0answers
22 views

jsonRPCClient bitcoin not generating transaction id however new address is generated

I'm using jsonRPClient to connect to my, I'm able to generate new wallet address using getnewaddress however when i make a transfer using sendtoaddress transaction id is not generated. sendtoaddress ...
1
vote
1answer
28 views

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 ...
0
votes
1answer
70 views

How do I specify many utxo in a bitcoin cash transaction?

I want to create a Tx with bitcoincashjs: create-a-transaction But how do I specify multi inputs: from(utxo) and multi outputs: to ?
0
votes
1answer
31 views

How to create (many address)/receive/send bitcoin without download blockchain?

I need to create a lot of address on my wallet to get bitcoin. Check balance and make transfers. I do not have a hard disk of 200 GB, can I use bitcoin without downloading the blockchain? Need ...
0
votes
0answers
89 views

Get value from leveldb bitcoin using node.js?

I request information about the block 100001 using leveldb and node js. Below is my code example. var level = require('level'); var db = level('E:/download/blockchain/block'); var str = '...
1
vote
1answer
122 views

Creating Testnet Bitcoin Transaction with bitcoinjs-lib

I'm trying to setup a simple bitcoin testnet transaction using the bitcoinjs-lib npm module. It seems like I'm building the transaction correctly, and I receive the hex code but I think I'm unable to ...
1
vote
1answer
60 views

Transaction fee in Bitcored

Does the transaction fee of bitcored or bitcoind change everyday? Am I required to set transaction fee of bitcoind by using settxfee method?
0
votes
0answers
35 views

i can sync only “headers block”?

My question about the "bitcoin core", i need "header blocks" only, i can sync only "headers block"? in other words i do not need "transaction data" because its size is very large. Is there any ...
1
vote
3answers
239 views

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 hidden logging....
0
votes
1answer
56 views

Calculate Any Address Balance Using Bitcoinn RPC getrawtransaction

I'm trying to use getrawtransaction to get transaction details (for any address) from my local blockchain. What I have is an address in readable format, "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa" but the ...
0
votes
0answers
30 views

Carlos Guerrero bitcoin-miner question

I'm using the bitcoin-miner developed by Carlos Guerrero to learn more about mining and the blockchain. This has been a tremendous resource and many thanks to Mr. Guerrero for his time and efforts. ...
0
votes
1answer
272 views

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 ...
0
votes
1answer
218 views

Is there a way to query the blockchain locally if I am running a full node?

I'm running a full node on my PC and wondering if there is a way to query the blockchain locally via NodeJS instead of going through blockchain.info? It is very inefficient/slow to run queries through ...
0
votes
1answer
440 views

Can I use walletnotify or blocknotify remotely with a NodeJS application?

I'd like to get information from my bitcoin node running on a cloud server to be used to make changes in my NodeJS app running on my computer. So, in the bitcoin.conf file, should I have something ...
0
votes
0answers
171 views

Bitcoin core ESOCKETTIMEDOUT on nodejs

I tries simply use bitcoin-core and always get Unhandled rejection Error: ESOCKETTIMEDOUT code: bitcoin.getDifficulty().then ((n) =>{ res.send(201, n); }); ...
0
votes
0answers
180 views

How do I remotely connect to a bitcoin node with bitcoin-core? JS

I've been at this for a while and can't seem to connect despite using the same code as seen in the examples. Here's what I have: const Client = require('bitcoin-core'); const client = new Client( { ...
1
vote
0answers
30 views

Using blockcypher BitcoinJs at clientside is secure or not?

I am trying to create new transaction using bitcoinjs at client side. Is it a secure way to create a transaction from Client side, which includes curl call. Scenario, if I start from creating the new ...
0
votes
0answers
371 views

How to get all transactions of address with bitcoin api in node.js?

I want to find all transactions of address in regtest. How it is possible to do? I have this solution, but I get response (201) before for ends. I think it's bitcoin timeout false. bitcoin....
0
votes
0answers
140 views

My cryptonote miningpool is not sending payments to miners

My pool has found a block but the miners have not received any balance or payment. I am using this Forknote pool project: https://github.com/forknote/forknote-pool All of the miners appear with no ...
1
vote
2answers
66 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
172 views

Litecoin: why getBlockHash is not a function?

I have the following code: var litecoin = require('litecoin'); var clientLTC = new litecoin.Client({...}); ... clientLTC.getBlockCount(function(err, blockIndex) { console.log('blockIndex: ' + ...
2
votes
3answers
495 views

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 ...
0
votes
0answers
78 views

Bitcoin payment PHP(or other web techonology) SDK

I have gone through most of the similar questions however none of them was able to fully answer my questions. I'm new to bitcoin technology, but looks like a good solution for accepting payments via ...
1
vote
3answers
1k views

bitcoin setup using nodejs

I have to to use bitcoin api using nodejs. but I cannot understand from where I have to start.Search some node module like bitcoin-core and bitcoin. Can anyone describe the step how can I set up ...
1
vote
1answer
191 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
161 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/...
4
votes
1answer
723 views

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

How to do sendRawTransaction to bitcoind JSON-RPC using bitcoin-core package in nodejs

I am trying to do sendrawtransaction <transaction_hex> from nodejs using bitcoin-core package i did npm install bitcoin-core --save i already have latest bitcoind setup and running with ...
1
vote
2answers
393 views

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 ...
2
votes
1answer
487 views

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 ...
0
votes
0answers
389 views

NodeJS web app connect to node

I am making a web app that would act as an advanced blockchain explorer with a subset of the features. How do I start a node, and connect to it, and then receive data about new blocks, and ...
0
votes
1answer
278 views

Invalid Argument Error when broadcasting a transaction with Bitcore

When I try to broadcast a transaction, I'm having this error: /home/aziz/node_modules/bitcore-explorers/node_modules/bitcore-lib/lib/util/preconditions.js:14 throw new errors.InvalidArgument(...
1
vote
0answers
255 views

Decrypting BitcoinJ/MultiBit key (scrypt/aes-256) from protobuf with NodeJS

I'm trying to decrypt an encrypted private key from an encrypted Multibit Classic .wallet file but the resulting public key / wif doesn't match the original. Here is my code: 'use strict' var fs = ...
2
votes
1answer
236 views

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 ...
1
vote
1answer
231 views

OP_EQUALVERIFY Problem

I'm making a full-service wallet, I already made the UTXOs selection algorithm and now I want to push the transaction hex bytes. It works when I push only a transaction with only 1 input, but if I try ...
7
votes
1answer
666 views

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 ...
2
votes
1answer
503 views

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, ...
0
votes
1answer
889 views

Dogecoin daemon (dogecoind) returning “Method not found” error

I am trying to play with dogecoin deamon useing node-dogecoin library. Unfortunately most calls I try return "Method not found" error for example : dogecoin .auth('MyUserName', 'mypassword') ....
1
vote
0answers
309 views

Bitcoin, detecting deposits to the node.js server (code review)

I'm trying to detect deposits that user will made. I explained it with comment lines in below. Can you are there any flaw in it? var _ = require('underscore') var check = function(client, site) { ...
4
votes
4answers
185 views

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

Create OP_RETURN tx with Bitcoinjs-lib

I know how to create a basic TX: var bitcoin = require('bitcoinjs-lib') var tx = new bitcoin.Transaction() // Add the input (who is paying) of the form [previous transaction hash, index of the ...
33
votes
2answers
9k views

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