Questions tagged [javascript]

The tag has no usage guidance.

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
815 views

A NodeJS implementation on creating addresses from a Bitcoin (zpub, xpub) address

I'm looking for a lightweight node package which can handle creating btc receiving addresses on the server using an extended public key (segwit). Like this one: ...
1
vote
2answers
90 views

Bitcoinja-lib. bitcoin.payments is null

I installed bitcoinjs-lib with command: meteor npm install bitcoinjs-lib. The installation command "flow-typed install -f 0.27 bitcoinjs-lib@2.2.0" didn't work. No idea what flow-typed is and the ...
1
vote
0answers
354 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 = ...
1
vote
0answers
51 views

How to sign messages deterministically with bitcore?

How do you sign messages deterministically with bitcore?
0
votes
0answers
15 views

Multisig Wallet Help

Hello everyone I'm jud3v and i'm searching an api that provide me the same as electrum wallet for creating multisig wallet 2-of-3 for my client to protect there btc with multisignature. I have already ...
0
votes
0answers
50 views

Lightning LND gRPC send direct payment returns invalid_key_length error

I’m trying to send a direct payment on testnet from my node A to my node B. Both have only channels with public nodes, not between themselves, so that a route contains multiple hops. I followed the ...
0
votes
2answers
34 views

Generating Bitcoin adress from private key in browser console

I am a newbie Bitcoin evangelist and I have a recommendation to see all the code responsible for computing yourPublicKey from yourPrivateKey, especially for big deal adresses. The easiest way to ought ...
0
votes
0answers
30 views

How can i mine bitcoins to direct wallet using JavaScript?

I heard that we can mine bitcoins using javascript direct to the wallet? How can I create Program, script or application which direct mines to the wallet & I even search online but did not get ...
0
votes
1answer
53 views

How to get BTC transfer amount from raw tx using bitcoinjs

Suppose I have following object console.log(bitcoinjs.Transaction.fromHex(rawTx)); The output Transaction { version: 2, locktime: 1655960, ins: [ { hash: <Buffer dc 4d aa 10 db ...
0
votes
0answers
41 views

Edge private keys

I want to read the balance on my Edge wallet programatically. I have thus taken the wallet's Master Private Key, which I had expected to be a BIP39 seed phrase but is instead a hex value, and am ...
0
votes
0answers
45 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, +...
0
votes
1answer
250 views

how to place a bitforex api buy order

I have read the documentation for BitForex on placing a buy order here: https://github.com/bitforexapi/API_Doc_en/wiki/Order Then after understanding that, I read the API Call Description ...
0
votes
1answer
65 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. ...
0
votes
1answer
373 views

How to Create Bitcoin Cash HD Walllet in Javascript

I am trying to create a Bitcoin Cash HD wallet through mnemonic phrase, but I don't know any npm package that is compatible with HD wallets and Bitcoin Cash. Could someone help me build the BCH HD ...
0
votes
1answer
678 views

Signature for this request is not valid

im testing the binance api but cant get over the signature problem can u spot a mistake on my signature?: const crypted = CryptoJs.HmacSHA256("timestamp=" + new Date().getTime().toString() + "&...
0
votes
1answer
350 views

Is it possible to talk to bitcoin RPC API with Javascript and WITHOUT using a node server?

I am planning on building a Wallet and want to know if I can hook something like an Electron native JavaScript app to Bitcoin RPC without running node.js for the server calls, so using something like ...
-1
votes
1answer
305 views

Anybody using bitcore.io? I can't seem to make it work properly

I've installed bitcore.io on a folder for my nodejs, using the npm command. npm install bitcore npm install classtool Of course, I tried to run an example code, the one is shown at their website. I ...