Questions tagged [address-generation]

Collects technical details on the process of creating new addresses.

Filter by
Sorted by
Tagged with
0 votes
3 answers
2k views

Generate address of 'private key' from user input

I want to take a private key as input from the user and convert it to a wallet address using C#. I have seen this in a tutorial to generate a random key: Key privateKey = new Key(); PubKey publicKey = ...
-1 votes
1 answer
220 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
46 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....
1 vote
1 answer
58 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: ...
29 votes
4 answers
15k views

Is each Bitcoin address unique?

I am wondering whether each bitcoin address is unique. I would assume yes. Then, how is this enforced given the distributed address generation? As I understand it, each time an address is generated, a ...
0 votes
1 answer
142 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 ...
2 votes
2 answers
153 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
3 answers
777 views

How to generate these bitcoin addresses?

For the private key KwaZRh42fdQD4iUN6sy2GtEC5gfSAYXrQgp16KPV4Pxsspi5ChRb, I have the following addresses: 1N7jKvQ1fHezb61eNsGEaF4gcj5sQXhb2m (P2PKH) 14MNoFYWheu7sLkj8urvXCpYEdCuL4m2PH (P2PKH) ...
0 votes
2 answers
642 views

How to generate Electrum address with pybitcointools

I want to create a payment service where I want to be able to charge each client according to its invoice. I picked Electrum as my underlying wallet and pybitcontools as my Python interface. I would ...
0 votes
1 answer
43 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 ...
4 votes
2 answers
2k views

Unknown Address Format Parsing Bitcoin Addresses from Blockchair Data

I've obtained a list of all current Bitcoin addresses with balances from Blockchair, which is downloadable from their data repository located here. I have downloaded the Bitcoin / Addresses TSV ...
0 votes
0 answers
54 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 ...
3 votes
1 answer
87 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 ...
1 vote
1 answer
78 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 ...
0 votes
1 answer
390 views

Get wallet address when creating wallet with blockchain API

Using the API endpoint http://localhost:3000/api/v2/create I get this response: {"guid":"58671a54-7d60-4319-8742-b06fb2a8d060","address":"...
4 votes
4 answers
5k views

How can I generate a bitcoin address?

Is there any way to generate bitcoin addresses other than the Blockchain API? (given the fact that it is not public)
0 votes
1 answer
549 views

OpenSSL bitcoin addresses generation

Using OpenSSL ver 1.1.0h on win 8.1 - 32 bit Im trying to recreate this post using cmd: OpenSSL generate Bitcoin address But on step 3: openssl ec -in c:\keys\private.pem -outform DER|tail -c +8|...
1 vote
1 answer
192 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 ...
2 votes
1 answer
213 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
678 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
2 answers
129 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
132 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?
19 votes
2 answers
10k views

Can two private keys generate the same (public) Bitcoin address?

I know that private key is generated randomly by wallet. Is it possible that wallet generate the same address which is used in Bitcoin? In other words: Given two private keys ka ≠ kb, is it ...
1 vote
2 answers
1k views

Generate BTC Private key from user string input

I am looking to generate a Bitcoin Address from an user input text (like the good old days Brainwallet). User input a "Text string" and based on this text string generate the corresponding ...
0 votes
0 answers
36 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
47 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
477 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 ...
69 votes
5 answers
74k views

What happens if your bitcoin client generates an address identical to another person's?

Here's a what-if scenario: Person A has a Bitcoin address with 25BTC. Person B opens up their Bitcoin client: which may or may not have the complete blockchain (the latter would mean no copies of ...
2 votes
1 answer
137 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
160 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
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
493 views

Can one recover the full list of public keys generated in electrum with the seed/private key?

I used the wallet.change_gap_limit command in the electrum console in order to generate some 20.000 public keys. Would I be able to recover all of these using my seed after completely removing ...
7 votes
2 answers
2k views

Is it possible to use a PGP key as a bitcoin address?

Both bitcoin and encrypted emailing are based on public key cryptography. However, they use different implementations, so I assume that a public PGP key cannot be used as a bitcoin address directly. ...
3 votes
2 answers
625 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 ...
6 votes
1 answer
808 views

How many possible addresses per bitcoin private key?

Based on my research every bitcoin private key (compressed or uncompressed) can have 4 different addresses: P2PKH compressed and starts with 1 P2PKH uncompressed and starts with 1 P2SH and starts ...
1 vote
1 answer
91 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 ...
2 votes
2 answers
605 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 ...
0 votes
1 answer
370 views

Procedure for Deriving Payment Addresses [duplicate]

I'm trying to understand the HD wallet payment derivation procedure, so assume: Ownership of a Bitcoin HD Wallet on an external smart device Exported account level extended public key (xpub....) from ...
-1 votes
1 answer
106 views

How to generate new wallet address per token

I'm using getnewaddress bitcoin-cli function to generate wallet addresses but i need one address per token. Is it possible to use a parameter like seed for random numbers to get the same address when ...
2 votes
0 answers
165 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-...
0 votes
1 answer
40 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
265 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
305 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
266 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 ...
4 votes
2 answers
3k 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....
1 vote
0 answers
83 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
81 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
95 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 ...
2 votes
1 answer
4k views

Generate address with RSA private key

Can I generate a bitcoin address with my RSA private key? Explain also how and why.

1
2 3 4 5
7