Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [address-generation]

Collects technical details on the process of creating new addresses.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
17 views

Bitcoin RPC method getnewaddress not allowed

I was trying to create a wallet address and secret from the Bitcoin public RPC endpoint ( getBlock io ). and using this method :getnewaddress, but it seems now this method is not allowed. So, Is there ...
Sudhanshu Sinha's user avatar
1 vote
1 answer
33 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 ...
juancho's user avatar
  • 13
0 votes
0 answers
67 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)....
kenadams15's user avatar
1 vote
1 answer
143 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: ...
user2334659's user avatar
0 votes
1 answer
71 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....
JoZeff's user avatar
  • 9
0 votes
1 answer
51 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 ...
Runeaway3's user avatar
  • 329
0 votes
0 answers
60 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 ...
ihatecsv's user avatar
  • 101
2 votes
2 answers
225 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 ...
Guru Josh's user avatar
  • 171
1 vote
1 answer
302 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 ...
LeaBit's user avatar
  • 940
3 votes
1 answer
90 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 ...
donbolli's user avatar
2 votes
1 answer
281 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 ...
Bob Nakamoto's user avatar
2 votes
1 answer
950 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 ...
Party P.A.R.T.Y.'s user avatar
0 votes
1 answer
237 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?
Papi's user avatar
  • 23
0 votes
0 answers
42 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 ...
Eugenie's user avatar
1 vote
1 answer
49 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 ...
nunya07's user avatar
  • 11
1 vote
1 answer
502 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 ...
dashingdove's user avatar
2 votes
1 answer
186 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 ...
Oliver Offing's user avatar
1 vote
1 answer
166 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 ...
Abhishek's user avatar
11 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? ...
Peter Bergman's user avatar
1 vote
1 answer
86 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 ...
Ash's user avatar
  • 111
3 votes
2 answers
807 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 ...
Alex's user avatar
  • 33
2 votes
2 answers
717 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 ...
ChristianOConnor's user avatar
2 votes
0 answers
187 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-...
noelle's user avatar
  • 21
1 vote
1 answer
115 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 ...
Nigan's user avatar
  • 19
0 votes
1 answer
41 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 ...
Meglio's user avatar
  • 289
2 votes
1 answer
337 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? ...
Wei's user avatar
  • 51
2 votes
1 answer
354 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: (...
Poseidon's user avatar
  • 643
0 votes
1 answer
158 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 ...
Pimlam's user avatar
  • 1
0 votes
1 answer
304 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 ...
Dodi Alf's user avatar
1 vote
0 answers
92 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 ...
Bob Coleman's user avatar
0 votes
1 answer
92 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 ...
Jonathan Cross's user avatar
0 votes
0 answers
28 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 ...
Pamela Mundy's user avatar
1 vote
2 answers
96 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 ...
Bitcoin_1o1's user avatar
-1 votes
1 answer
265 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 ...
Lazy Engineer's user avatar
0 votes
1 answer
223 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 ...
zcaudate's user avatar
  • 113
1 vote
1 answer
137 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 ...
Vinay Shetty's user avatar
0 votes
2 answers
122 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 ...
doug's user avatar
  • 1
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 ...
kuco 23's user avatar
  • 255
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, ...
Николай Караджов's user avatar
4 votes
2 answers
265 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)&...
max's user avatar
  • 255
1 vote
0 answers
82 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!
sunknudsen's user avatar
1 vote
0 answers
445 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 ...
froginspace's user avatar
0 votes
1 answer
77 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 ...
Jerry's user avatar
  • 1
0 votes
1 answer
94 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 ...
user1367323's user avatar
0 votes
1 answer
85 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" > ...
JDOaktown's user avatar
  • 206
1 vote
1 answer
345 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.
Chiru's user avatar
  • 161
0 votes
1 answer
119 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 ...
HGW339's user avatar
  • 3
0 votes
2 answers
134 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 ...
Igzo's user avatar
  • 1
0 votes
1 answer
123 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 ...
mikest's user avatar
  • 135
0 votes
2 answers
1k 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: "...
sci9's user avatar
  • 107

1
2 3 4 5
7