Questions tagged [address-generation]
Collects technical details on the process of creating new addresses.
323
questions
1
vote
1
answer
89
views
Why does each Bitcoin wallet application generate the same new receive address?
I use Sparrow, Ledger Live, BlueWallet and Nunchuk Bitcoin wallets. I was under the impression that new receive addresses are randomly generated. However, I have noticed that each wallet application ...
1
vote
1
answer
88
views
What is the way to create public key in P2TR?
I've started learning Taproot and I'm having trouble understanding some of the general story behind how it works in the context of a public key in scriptPubKey.
The segWit v1 (Taproot) scriptPubKey ...
3
votes
1
answer
66
views
Python Script not working / From Xpub to everything
I made a small webapplication to keep track of my wallets. So I want to grab everything i have, using my xpub. Looping through every adress. On the Internet I could find diffrent scripts, but I could ...
2
votes
1
answer
146
views
How is an HD Wallet Key Generated?
Please help me understand how you generate a Private key + Chaincode from entropy.
As I understand it, you generate entropy which should be random and can vary from 128 - 256 bits of data. You could ...
2
votes
1
answer
350
views
I need to get BTC addresses from a 12 word phrase, but I don't understand what to do next
I need an algorithm for translating a 12-word phrase to BTC SegWit bech32 P2WPKH addresses.
I wrote a function in Python that returns a seed, but I don't understand what to do next. Here when entering ...
0
votes
1
answer
90
views
Can two people generate the same exact wallet or seed phrase [duplicate]
Can 2 or more people generate the same exact wallet. And if so, what happens then?
0
votes
0
answers
26
views
How do cryptocurrency exchange services generate disposable / sub-addresses?
I am developing my cryptocurrency exchange service. The first problem - how to distinguish clients from each other? It seems to me that other services have solved this problem by generating something ...
1
vote
1
answer
42
views
Why are unused offline generated addresses showing up on blockchain.com [duplicate]
I've created two addresses using the nodejs javascript library 'bitcoinjs-lib' version 5.2.0.
In both cases if I enter them into blockchain.com, they show a zero balance with zero transactions. I ...
1
vote
1
answer
462
views
Can any one seed potentially generate every single Bitcoin address?
Since you can generate multiple addresses from a single seed, I'm wondering what would happen if you continued to generate addresses forever? Would you eventually derive every possible address? Or ...
2
votes
1
answer
97
views
Probability of Generating a Bitcoin Address with Specific Starting and Ending Characters
I've recently come across a situation where scammers are generating (bitcoin) addresses that have the same starting and ending characters. This is concerning as many people, including myself, often ...
1
vote
1
answer
154
views
What do the following lines of code do in the context of sending Bitcoin?
I have recently started dev on Bitcoin and have a doubt regarding the following code. I have a dApp that prompts users to connect their BTC Wallet and in return, I get their address(testnet).
I want ...
10
votes
3
answers
3k
views
How can I manually (on paper) calculate a Bitcoin public key from a private key?
I am interested in generating a Bitcoin address by hand for security's sake. After I choose/generate a private key, how do I generate the public key?
From there, how would I double check my work?
...
1
vote
1
answer
69
views
Is there authoritative documentation on how to generate a P2WPKH address?
I Googled and found some BIPs but looking through bitcoincore.org, I could not find documentation on the process to generate a P2WPKH address.
Looking through other random articles, I see the process ...
3
votes
2
answers
501
views
How do blockchain explorers know if the address is really generated?
I am studying how the Bitcoin addresses generation works.
As far as I learned, a Bitcoin address appears in the blockchain only after it has been involved in its first transaction. If an address has ...
2
votes
2
answers
362
views
How do I generate a testnet segwit v1 taproot compliant bitcoin address?
I have a script that generates a segwit v1 taproot compliant address and private key. The script currently generates a regtest address but with minor tweaks it spits out a mainnet address. I think the ...
2
votes
0
answers
119
views
How to generate a legacy-compatible address using Ledger Live?
I'm trying to withdraw funds from Bittrex to my Ledger device, but it seems they do not accept native Segwit addresses.
Is it possible to generate a legacy-compatible address (for instance a P2SH-...
1
vote
1
answer
75
views
I am trying to convert the 12 words into BTC addresses, but they do not match
I am trying to convert the 12 words into BTC addresses, but they do not match the ones shown to me by Safepal, Coinomi, and Trust Wallet. I have tried using several libraries and doing it manually.
I ...
0
votes
1
answer
38
views
Are fees smaller to transact to addresses generated from a zpub master public keys compared to xpub?
Will it affect the fees in any way when one sends money to an address generated from zpub master public key compared the xpub?
What might also be part of this question is, understanding whether it is ...
2
votes
1
answer
177
views
How to create a 1-of-2 multisig with P2TR?
We have two companies and we want to spend funds with 1-of-2 multisig. We successfully did such a multisig with P2SH. How can I do this in P2TR? Can any give me a detailed instruction step by step?
...
2
votes
1
answer
240
views
Having issues properly generating a p2pkh address in Rust code. (for research purposes not for real use)
I have followed the steps to generate a p2pkh compressed base58 address and am consistently checking it to find that I get an invalid checksum.
I am using this python code to check the address:
(...
0
votes
1
answer
115
views
Bitcoin Core shows addresses that Electrum says don't belong to my wallet (imported MPK via EPS). What is going on?
I got a full node (pruned) up and running with Bitcoin Core via Tor. I installed Electrum Personal Server (EPS) and connected my hardware wallet with Electrum via Tor. I generated a watch-only wallet ...
0
votes
1
answer
214
views
Do taproot addresses use a new private key in Ledger Live?
Are all Bitcoin receiving addresses in Ledger Live for like legacy, segwit and taproot? Are they the hashed public address or the public address? I know for segwit that ledger generates new addresses ...
1
vote
0
answers
71
views
Is there any way to generate bc1... adresses in command line Electrum?
I can create standard or segwit wallet. But no matter which one I created the only addresses I get is 1....
For example:
$ electrum createnewaddress
1FeE4ZGaSM38f6TxKzKMbCNjwbne6oLQPt
Is there way to ...
0
votes
1
answer
72
views
How many unique Taproot addresses (eg pubkeys) are possible?
Given that Taproot (SegWit v1) addresses are basically equivalent to a public key -- does that mean that there are a full 2256 possibilities? Or is the overall number of possible addresses reduced in ...
0
votes
0
answers
27
views
Need in my Bitcoin client wallets to restore
It's been a very very long time and I need a refresher on how I get into my Bitcoin client wallet I have the seed phase to restore it I do know to do it offline to cash out some. I mined on the ...
1
vote
2
answers
93
views
What "a possible destination for a Bitcoin payment" means in address definition?
From https://en.bitcoin.it/wiki/Address:
A Bitcoin address, or simply address, is an identifier of 27-34
alphanumeric characters, beginning with the number 1 or 3, that
represents a possible ...
0
votes
1
answer
169
views
How do I create multiple Bitcoin addresses and send coins to other addresses from linux console?
I want to be able to create many Bitcoin addresses and transfer coins from those addresses to other addresses.
It is better if it is available on a Linux server, through the command line.
What ...
0
votes
1
answer
137
views
how does the blockchain addresses relate to the blockchain WIF?
I'm using block.io and experimenting with a testnet accounts given to me by the site.
I can create addresses on the website and have thus far created 5 in total.
However, I only have one WIF, also ...
1
vote
1
answer
127
views
.onion addresses in buckets
I understand that the AS information plays a part in how addresses are populated in the buckets of the new table for IPv4/IPv6 addresses, but how does it work for .onion addresses?
I understand the ...
0
votes
2
answers
104
views
Determining change address
hoping to gain a bit more clarity on how change addresses work here.
In the attached example, can the change address be identified with 100% certainty? Is there a potential scenerio where it could be ...
13
votes
1
answer
2k
views
Is any 256-bit combination a Bitcoin private key?
I've recently been implementing a simple Bitcoin wallet and some libraries seem to disagree with address derivation from the same WIF private key, and thus wouldn't sign transactions. After that, I ...
2
votes
1
answer
898
views
Why do compressed and uncompressed public keys have to produce different addresses?
I am reading through the "Mastering Bitcoin" book. I understand that in the beginning the public key was both the x and y on the elliptic curve. Then it was optimized to only contain the x, ...
4
votes
2
answers
198
views
How many addresses can be generated from a ranged descriptor?
I'm trying to wrap my head around ranged descriptors. The docs in the bitcoin/bitcoin-repo says that a ranged descriptor can generate keys/address "in a configurable range (0-1000 by default)&...
1
vote
0
answers
69
views
Is it possible to generate SegWit bc1 public/private key pair using Electrum command line?
I am looking for a way to generate SegWit bc1 public/private key pair that one can use as a paper wallet.
Thanks for helping out!
1
vote
0
answers
436
views
crypto.com defiwallet sends bitcoin to random segwit address if a bitcoin taproot address is selected after confirmation of the correct address [closed]
UPDATE: Crypto.com acknowledge the bug and refunded the full amount, at the time of writing this update the crypto.com team confirmed that they are working on fixing the bug and the defi wallet will ...
0
votes
1
answer
71
views
Can someone create a Bitcoin address that is identical to another except the last letter is lowercase where mine is capital
The reason I ask is an online casino was set to pay me $1,000 via Bitcoin and showed me the address they claim to have paid, which is identical to mine except the very last letter is capital and on ...
0
votes
1
answer
83
views
Multiple receiving address on exchanges
If I have 0.01 on an exchange that allows generating new addresses , and I send 0.02 to a new address on that exchange , and then I send 0.025 off of that exchange , did I basically cross spend and ...
0
votes
1
answer
65
views
What is a descriptor in "generatetodescriptor"?
I thought it would be like a label as in:
getnewaddress "myawesomelabel"
> bcrt11qay7aqw7azkqhpda22vuzxphkccgmcvc9grz8z
but then
generatetodescriptor 10 "myawesomelabel"
> ...
1
vote
1
answer
302
views
How to generate a public key in wallet rpc commands
I'm trying to generate a public key associated with a wallet. How would I do this using the wallet rpc commands, I couldn't find a command in reference docs which does this.
Thanks.
0
votes
1
answer
90
views
Is it safe to use the same BTC address for an ongoing exchange DCA?
I'd like to ask a question about re-using an address for a DCA. I've searched the forum and found some similar answers but nothing exactly which describes my situation.
I have an auto DCA set up from ...
0
votes
2
answers
119
views
Create a 2-3 multisig address without syncing entire blockchain
I have a hardware wallet, a seed, and a specific private key.
I want to create a 2-of-3 multisig using these 3 items. So the only option left is the option of creating a multisig using just private ...
0
votes
1
answer
114
views
Addresses After passphrase generation in wallet.dat
Say I generate a passphrase with bitcoin core to a wallet.dat, but also have a copy of it before the passphrase generation. Will EVERY address I'll generate AFTER the passphrase will NOT be accessible ...
0
votes
2
answers
867
views
How to convert script_pub_key of type pubkey to public_key
This is a recurring question (see Parse the output field of getrawtransaction to generate a common address hash ), but I have a different spin.
Consider the following scriptPubKey field:
"...
22
votes
1
answer
7k
views
Is it possible to convert a taproot address into a native segwit address?
A few days ago I requested a BTC withdrawal on Binance, I used a bc1p address and the request went through as usual without any issue or warning. (my first time using taproot address).
Binance checked ...
0
votes
1
answer
179
views
Parsing bitcoin output script to pull address from genesis block
I already looked at the similar question - link and Genesis block but I have a different problem.
I am parsing transaction 39ed112558fd501424e3b33bbcbf853ef9f24536ef0f8e6fbad2f5c5098173ad which has ...
1
vote
1
answer
153
views
Can I always set the first byte to 0x02 with the following implementation?
I've followed this tutorial on generating a Public Private key pair value and generating a valid Bitcoin address.
But one part makes me wonder if the implementation is done correctly which is the ...
1
vote
0
answers
67
views
blockchain.com api | How generate "Legacy" & "Nested SegWit" & "Native SegWit" addresses for receive separately?
Please check out this link :
https://www.blockchain.com/api/api_receive
As you see we can generate receiving addresses for our customers using this api.
My question is what is the type of that ...
0
votes
3
answers
190
views
Generating 1000s of addresses
Ok so I am a business trying to accept crypto as a form of payment, but can't seem to figure out how I can generate 1000s of addresses (for each customer) to pay crypto to me? Or would there be some ...
1
vote
2
answers
613
views
How do Electrum/Sparrow/Caravan generate multisig addresses?
I'm trying to "manually" confirm the Bitcoin addresses that Electrum, Sparrow, and Caravan generate from a deterministic multisig addresses.
As an example, I have the following 2-of-2 wallet:...
2
votes
0
answers
56
views
Script type test vectors
I'm looking for test vectors, assuming xpub or public key to derive various script type addresses out of it. Something along the line of https://bip32jp.github.io/english/ but not only for P2PKH, but ...