Questions tagged [nodejs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
89 views

Mnemonic from Node.js app not restoring in other wallets

I'm working on a Node.js app that makes RPC calls to my node, and I'm having trouble restoring a mnemonic created with bitcoinjs-lib, bip32, and bip39. First, I create a blank wallet that accepts ...
Cannabijoy's user avatar
3 votes
1 answer
456 views

How to get the derivation path of a multi-wallet seed phrase?

I only have the seed phrase. When I enter the seed phrase into, for example, Exodus or Trust Wallet, I can fully recover my Bitcoin in seconds. But how to do this using Python or Node.js?
FledDev's user avatar
  • 151
1 vote
1 answer
239 views

How to send a Bitcoin transaction only using the seed phrase using NodeJS?

I am working on a NodeJS script that allows you to enter your 12-words-long Bitcoin secret recovery phrase and automatically withdraw all of your coins to a defined wallet address. The script is for ...
FledDev's user avatar
  • 151
0 votes
1 answer
94 views

How to encrypt messages with Pub/Priv keys

I'm wondering if it's possible to use the Bitcoin public and private keys (usually used for signing) for text encryption. This is an example in nodeJs: import pkg from 'bitcore-lib' const { ...
Cartucho's user avatar
  • 113
-2 votes
1 answer
48 views

What is the best way to check multiple crypto coins payments are paid - NODE JS

I am trying to write a gateway system where users can check the data upon the callback that is sent to their specific url. I am wondering how I could go about checking that the payment has been ...
php dev's user avatar
0 votes
2 answers
94 views

Is it possible to make a transaction from multilple addresses to one address?

I am building a platform (in node js) that users are going to pay for items using bitcoin. Some of the items has low prices (perhaps, even lower than the BTC fee). The problem is: if I make an ...
Benjamin Walter Mauss's user avatar
0 votes
1 answer
944 views

How to calculate R, S, and Z from raw bitcoin transaction with witness?

How can I calculate the R, S, and Z values from a raw bitcoin transaction? I can extract them with rscan.py, but that doesn't work for new transactions.
Ramin Najafi's user avatar
4 votes
0 answers
443 views

P2TR bech32m mismatch

When attempting to create a p2tr address using the private key 0x0000...01 I get, bc1pmfr3p9j00pfxjh0zmgp99y8zftmd3s5pmedqhyptwy6lm87hf5sspknck9 which does not match the provided test vectors provided ...
m1xolyd1an's user avatar
  • 5,626
0 votes
1 answer
200 views

How can I use nodejs to ping my local bitcoin node for information?

I've set up zeromq so I can listen for blocks & transactions. However I'm not certain how I can ping the bitcoin node for older information. Is there someway I can ping the bitcoin node for say a ...
Trevor Wood's user avatar
0 votes
1 answer
987 views

how to connect to bitcoin node in javascript without running a local node

I am trying to get some bitcoin network data and I am using bitcoind-rpc library. If i just run their example: var run = function() { var bitcore = require('bitcore'); var RpcClient = require('...
user1386985's user avatar
1 vote
1 answer
55 views

Test environment for bitcoin transactions/wallets

I want to build a pet project which would use bitcoin for sending/receiving and see balance of wallets involved changed. What are my options for having a local env that would allow me to perform these ...
Sergei Basharov's user avatar
1 vote
1 answer
1k views

Tracking incoming transactions using nodejs and own node

I need to verify that user from my database has sent btc to my wallet. Ideally I want to generate a unique address for each user transaction and then track all those addresses but I suppose it will ...
idknabit's user avatar
0 votes
0 answers
191 views

broadcasting bitcoin transaction issue using bitcore-explorers

I have been trying to do a transaction using bitcore-lib. I have successfully created transaction object. let bitcore_transaction = new bitcore.Transaction() .from(utxos[0]) .to(to, +...
Komal Bansal's user avatar
0 votes
1 answer
130 views

How can I extract my bitcoin public address from my bitcoin private key using PHP for Nodejs?

I'm building out an application, but I need to verify if the bitcoin private keys have a positive balance. Is there a PHP script or some type of service that I can pass in a private key and outputs ...
Patoshi パトシ's user avatar
2 votes
1 answer
505 views

How can I automatically create and broadcast transactions using NodeJS?

I have a: Wallet public/private key pair with X BTC Wallet address I want to sent Y BTC to I'm developing an app in NodeJS and trying to initiate payments automatically. I'm very confused how I'm ...
K2xL's user avatar
  • 121