Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [private-key]

This tag should be used for questions pertaining to private keys. Private keys are used for signing transactions and allow the holder of the private key to spend the Bitcoin associated with the address derived from the private key.

0
votes
1answer
33 views

How to find one private key from the list of 15 million public keys for the sake of experimentation?

Recently found a list of compressed public keys. The total number of 15 000 000 public keys. Practical for all compressed public keys Balance: 0.000100 BTC I do not set malicious goals. All just for ...
0
votes
0answers
14 views

Is there a way to get a character string beginning with xprv with confirmation 2, sample account B

I am trying to access the wallet information using the following blockchain.info API. https://github.com/blockchain/api-v1-client-node/tree/master/MyWallet However, there is a difference for each ...
0
votes
2answers
33 views

Why is there a finite amount of bitcoin addresses and how is the range of possible addresses determined

My first question is what the precise logical/theoretical reason is that there are only a fixed amount of possible bitcoin addresses. Secondly, I can generate a bitcoin address by using address(sha256(...
0
votes
0answers
20 views

Extending a parent public key to create a child public key

I want to create public key from parent e public key like this: In this picture I can see left 256 bits and it's become 264 after "sum" with parent public key. But 256 bits what is it? When ...
0
votes
0answers
20 views

Public / ePub / Private Keys [on hold]

I have googled a lot but I still didnt get the answer right about the following questions in terms of Crypto: What is Public Address? What is ePub Address? What is Private Keys? Is it Safe to give my ...
0
votes
1answer
17 views

Using only Javascript and JS related Bitcoin Libraries. How do you extract the Bitcoin Address from a private key?

I'm building an js related application that only stores my user's bitcoin private keys, but not the public key or bitcoin address to save space. Is there a javascript library that can output the ...
0
votes
1answer
13 views

Import / create a Wallet from a key with bitcoind or bitcoin-cli to use as a hotwallet?

i've created a HD Wallet via (https://github.com/GemHQ/money-tree) i would like to take the private key and throw that into my daemon so i can listen on incoming transactions and also transfer the ...
2
votes
1answer
31 views

How to specify PrivateKey search range in HEX?

I am trying to generate random bitcoin Private_Keys in HEX format (32bit) but I want the randomness to have a value within a specific HEX range, say between ...
1
vote
1answer
75 views

Can I recover my own wallet from the public key? [duplicate]

I made a wallet years back. It has a good amount of Bitcoin then I wiped and sold my laptop. Now somehow I found my wallet address public key. Is it possible to get the private key somehow?
2
votes
1answer
24 views

C-lightning Implementation password protect hsm while maintaing node access

I was wondering if there was a way to encrypt the folder that contains the hsm_secret (and a lot of other operational files necessary for constant operation of a C-lightning node) without cutting it ...
0
votes
2answers
77 views

Get Master Private Key from BIP39 Seed

I have BIP39 Seed: 5b56c417303faa3fcba7e57400e120a0ca83ec5a4fc9ffba757fbe63fbd77a89a1a3be4c67196f57c39a88b76373733891bfaba16ed27a813ceed498804c0570 I want to get Master private Key Then I Have to ...
0
votes
0answers
15 views

How to Send BTC from vmnode address to local address using privatekey in testnet?

I created two bitcoin address in VM nod as well as local and dump privatekey for both addresses by using "dumpprivkey" command. Is there any posibitity to send BTC from bitcoin address which is ...
0
votes
0answers
47 views

Fastest way to generate millions of public keys from private keys (Python/C#)

I have run into a problem when trying to generate public keys from my mnemonics via privatekeys. The mnemonic -> privkey is fairly fast. Although when deriving the m/44./0./0./0/0 public adress it ...
0
votes
1answer
42 views

Can you recover seed words with passphrase on bitcoin node?

I have a btc node (Bitcoin Core version v0.17.0.1 (64-bit))running on my Windows 10 computer, as part of regular backup I have realized I don't have the seed words but I do have the passphrase. It has ...
0
votes
1answer
30 views

Converting WIF as Base58 string to byte array in bash

I want to convert wif as Base58 string to byte array. Private key to WIF printf 800C28FCA386C7A227600B2FE50B7CAE11EC86D3BF1FBE471BE89827E19D72AA1D507A5B8D | xxd -r -p | base58 ...
0
votes
1answer
39 views

checksum in address

I want to create a address bitcoin. I have a payload with version like this: 0050d512c984b1656ef47c145c8fd5d5262d3904b1 where 00 in my version prefix, and 50d512c984b1656ef47c145c8fd5d5262d3904b1 ...
1
vote
1answer
38 views

How does `bitcoind` generate the private key?

My question is how the bitcoin core client generates a (master) private key(s)? I know from other wallets, that they take the mnemonic and generate a HD wallet master key. With the master key, the ...
0
votes
1answer
40 views

address in listaddressgroupings and getnewaddress

I don't understand the differents between listaddressgroupings and getnewaddress For example, I have a local blockchain ( regtest ) with 0 Block. I create 101 block (generate 101) I can see with ...
1
vote
1answer
23 views

Is the unencrypted copy of the wallet still usable after a copy is encrypted?

My wallet is not protected with a password, I have a few receiving addresses generated and a some funds in it, then I make a copy of the wallet and I set a password on this one. Will the old ...
0
votes
1answer
84 views

How do you sign data with a private key? [javascript]

Using BlockCypher’s signing tool (link), I can sign the following data: 05de69f5d37f41340eed3230f03d2394dde5e497738a76f027b7d962a0cbdf39 with the private key: ...
1
vote
1answer
63 views

Deriving hex private key from a HD wallet

I have the following test Mnemonic: stable primary already collect buffalo bike into robust fury cement proof agree neither blouse course From this I can generate a BIP39 Wallet: https://iancoleman....
0
votes
0answers
20 views

How do you sign transactions from a HD wallet? [duplicate]

I'm using the following tool to generate a HD wallet: https://iancoleman.io/bip39/ However, it gives quite a few different private keys and I'm not sure which one is used to sign transactions with. ...
0
votes
1answer
43 views

How public key is calculated from a base58 encoded private key?

I followed this post and created a private key for bitcoin wallet. The post says after finding the random 256 bit(32 bytes) integer the version number should be prepended and the checksum should be ...
0
votes
1answer
64 views

Ownership of private keys in the Lightning Network

My question refers to the technical side: who is holding the private keys if a third party is using my lightning node to participate in the Lightning Network payment channel ? Thank you
0
votes
1answer
70 views

I accidentally transferred my Bitcoin Cash to Bitcoin (BTC) wallet in BitMEX! [closed]

A few days ago, I bought Bitcoin Cash and transferred it to my BitMEX Bitcoin BTC Wallet by accident! This is money that I can't afford to lose! What do you suggest I do? My conversations with BitMEX:...
1
vote
1answer
78 views

Bitpay xPrivKey to private key

Network: BCH testnet Client: bitcoin-abc-0.18/bin/bitcoind and bitcoin-cli I want to convert xPrivKey which is from exported Bitpay wallet file to private key for using bitcoin-cli importprivkey ...
1
vote
1answer
62 views

how to dump private key from multisig address

how to dump private key from multisig address ? I tried with dumpprivkey RPC function but return error : Address does not refer to a key
0
votes
1answer
49 views

Private key only wallet for Bitcoin Core regtest

I'm running a private regtest network on GCP. I generated a list of 2000 vanity testnet addresses ordered sequentially from prefixes mooo1 to n2ooo with their respective pub/priv key pairs, and to ...
2
votes
1answer
168 views

Using Python: create a private key of my choosing, then generate public key and address

I'm looking for a simple, easy to use Bitcoin library for Python. What I want to do is verify I can enter a hex private key that I want, and get the expected pubkey in compressed format, and the 1Btc....
0
votes
1answer
271 views

generating private key from bip39 seed

according to bip39, I maked 12 mnemonic words and then get a 512 bit seed from them. now I want to know how must I convert this seed to private key ? what functions must I use ? please introduce me ...
0
votes
2answers
110 views

Is there any way to recover a bitcoin private key using some parts of the key ?

I have a bitcoin wallets private key , but it's incomplete like you can say it's 70% of the private key , there is some alphanumeric missing for the middle of the key , is there anyway to recover it ...
0
votes
1answer
40 views

Who approves my public key in Bitcoin network?

In a PKI approach a public key is approved by a Certificate Authority (CA) with a centralized manner. However, since Bitcoin network is a decentralized network, how my public key validity is approved? ...
-1
votes
1answer
80 views

My ripple masterkey is disabled

I have XRP secret key and regular key. but masterkey is disabled. How do i enable masterkey again to move my funds? Thanks
8
votes
3answers
1k views

How would one “Encrypt” a message using a Bitcoin *public key* and use its private key to decrypt it?

I have the following text string: This is a test message. Using my bitcoin public key (bitcoin address?), how can I encrypt this message? How would I decrypt the message using a bitcoin private key?
0
votes
1answer
153 views

How to create ECPoint from raw private key

How to create a bouncy castle ECPoint from a raw private key hex string? I am getting a private key using the 'dumpprivkey' RPC and removing the header byte and the 4 bytes of checksum + 1 byte of ...
0
votes
1answer
35 views

Off Line wallets

I am using Armory .96.4 with bitcoin core of .16.3 I have three wallets which two are encrypted ant the other is watching only. The watching has several bit coins and when I try to do a transaction ...
0
votes
1answer
72 views

Why can a wallet not compute the private-key from a public-key?

my goal of questions this is why any wallet not able to compute private key created with public key generate?
0
votes
1answer
41 views

Can i use one pair public and private key for all transactions?

Can I use one pair public and private key for all transactions, digital signatures and wallet addresses? In the other hand, I have a private key and want to sign all transactions and have a public key ...
2
votes
2answers
122 views

What can you do with the private key?

I am trying to understand all security regarding blockchain and bitcoins. Let's say you have a bitcoin wallet which is secured, only you know the private key. This bitcoin address was created on one ...
2
votes
1answer
65 views

I have a 100 character text message and I want to encrypt this message with my bitcoin “PUBLIC KEY” and decrypt it with my private key in Javascript

Are there any javascript libraries that can encrypt a 100 character text message using your bitcoin public key, but only be able to decrypt it with your bitcoin private key? I'm looking to create a ...
2
votes
0answers
73 views

Becoming Bitcoin wallet provider from scratch [closed]

I want to launch a bitcoin wallet service website for creating new wallets. And i want to provide a tool for user for importing their old wallets using public and private key. I know i can use some ...
0
votes
1answer
32 views

What is the relationship of ckeypool and ckeystore?

In the source, there are ckeypool and skeystore. I wonder what is the relationship of them and why need both.
0
votes
1answer
33 views

Use of Bitcoin paper wallet

A Bitcoin paper wallet contains a pair keys: public key (address used to receive coins) and private key (allows to spend coins stored at that address). Those keys are printed in a form of QR-codes so ...
1
vote
1answer
298 views

How to store private key in MySQL database?

I want to receive payments from Bitcoin on my web app, but I do not want to use corporate gateways (coinpayments, bitpay, etc), I'm wanting to make my own gateway. I do not know how best to do this ...
2
votes
2answers
407 views

What is the private key format?

I wasn't aware of a private key format, however numerous stackoverflow posts hint towards a formatting of some kind Format of private key Which private key format is this? What encoding or format ...
1
vote
1answer
83 views

Combining a Bitcoin transaction with one address holding USDT, but no BTC and using another address with BTC to pay for the fees?

I have a Bitcoin address that contains USDT, but NO BTC in it. So I cannot even send the USDT out. But I have another bitcoin address that does have BTC. Can I somehow combine these 2 addresses where ...
0
votes
2answers
42 views

Are you considered a money transmitter if your end users sends you their private keys to send funds on their behalf?

I have a service where the end user sends me their bitcoin private keys and I send it back out to a new address when a condition happens (ex. if the weather is raining). Is this still considered as ...
0
votes
1answer
191 views

Possible attack vector of BIP32 HD wallet

I've been reading about BIP32 HD wallet and it's implementation and came across a few questions regarding the possible known "attack" vector of leaked private child keys and known xpub parent key ...
2
votes
2answers
276 views

Same seed from Electrum but generate different Bitcoin addresses

I am using Electrum 3.2.2, I have the wallet file generated from Electrum and a password to decrypt the file. There is an error whenever I am trying to send Bitcoin out of that wallet, so I decide to ...
1
vote
1answer
46 views

Is there any way to revoke or update private key?

Suppose my private key corresponding to an address is stolen. Is there any way to revoke private key or update the private key?