Questions tagged [address-generation]
Collects technical details on the process of creating new addresses.
333
questions
1
vote
2
answers
59
views
Can a silent payment address body be brute forced?
As I understand Silent Payment address is a way for sender to brute force find an invoice (address) on Taproot.
Question: Can sender then generate all 4 billion addresses of the private key, ...
2
votes
1
answer
71
views
How can I tell if an address belongs to my cold storage wallet?
When I created an Electrum cold storage wallet, I started out with 20 receiving addresses. I quickly burned thru using those, sending BTC to my wallet while wanting to only use any given address once.
...
0
votes
0
answers
44
views
How to create register system that automatically give each user his own Bitcoin address
I am a complete newbie and I made a website that will have a register system.
I need to know how I can make a wallet that automatically generate a new address for each new register and of course ...
0
votes
1
answer
56
views
Why does Electrum's createnewaddress() only return legacy addresses?
Why does Electrum's createnewaddress() (or "Create Request") only return legacy addresses? How do I make it create bech32 addresses?
1
vote
1
answer
59
views
Having Address format, infer derivation path or BIP used
Hello fellow Bitcoiners.
While studing bitcoin, I came across an issue, I wanted to ask if someone knows how to know which derivation path a 1xxxxxxxxxxx address was created with.
I know that ...
0
votes
0
answers
118
views
Why doesn't my bitcoin testnet address work on testnet faucets?
I have created a bitcoin testnet address but it shows invalid address.
I have created it using this way
passphrase = b'blah'
secret = little_endian_to_int(hash256(passphrase))
print(PrivateKey(secret)....
1
vote
1
answer
251
views
Creating a P2PKH address
I have been learning about how P2PKH addresses are generated so I thought I would try and work through one myself manually. I start with the following public key hash:
...
0
votes
1
answer
133
views
Meaning of xPub in SegWit wallet on blockchain.com and their legacy-type addresses
According to my understanding, an xPub of a Legacy sub-wallet should begin with xpub... and of a SegWit sub-wallet with zpub.... And the addresses begin with 1 and bc1 respectively.
But on blockchain....
0
votes
1
answer
69
views
What happens if a new hardware wallet generates an existing seed? [duplicate]
I get that 24^2048 (heck, even 12^2048) are utterly massive numbers and the chance that this happens is practically 0... but I am still curious: What would happen if a hardware wallet (or any seed ...
0
votes
0
answers
72
views
How is the d-30ad... pseudo-address generated for OP_RETURN
How are the pseudo-addresses (e.g., "d-30ad...") used in Bitcoin's OP_RETURN transactions generated? Specifically what process or criteria are used to create these unique identifiers ...
2
votes
2
answers
312
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
520
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
101
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
336
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
1k
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
343
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
48
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
52
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
528
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
249
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
170
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 ...
12
votes
3
answers
4k
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
2
answers
104
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
943
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
827
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
199
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
136
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
42
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 ...
3
votes
1
answer
410
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
401
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
173
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
335
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
100
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
104
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 ...
1
vote
2
answers
98
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 ...
-1
votes
1
answer
302
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
260
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
140
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
139
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
1k
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
289
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
91
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
451
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
83
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
96
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
89
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
366
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
132
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
136
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 ...