Questions tagged [address-generation]

Collects technical details on the process of creating new addresses.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

how to know about our btc address path and bip model? [closed]

How can we recognize our btc address path and bip model? for example i have this btc address: 37qLoB9FQV1cgLdAhXqZSEtyYqyuxwcyMA i want to know about this missing pass like this: m/49'/0'/0'/0/0 and ...
0 votes
1 answer
586 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
1 answer
24 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 ...
1 vote
1 answer
86 views

Different address generated when importing a private key

I used Bitcoin Core 0.19 to create some addresses offline. When I dumped the private keys, I was surprised to see all of them starting with L2… (and the addresses with 3…), but I went for it. I took ...
0 votes
1 answer
22 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 ...
0 votes
1 answer
296 views

Procedure for Deriving Payment Addresses

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 ...
0 votes
1 answer
86 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 ...
1 vote
1 answer
38 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
37 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 ...
0 votes
1 answer
363 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":"...
1 vote
4 answers
775 views

How is it possible that the same WIF Private Key generates two different addresses?

I am wondering if you can explain this. I went here: https://coinb.in/#newSegWit Created the SegWit Address below: 3ASaGJ8h2bLn6Jha3hncBzXUKRCLyfv9bk RedeemScript ...
2 votes
1 answer
514 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, ...
0 votes
1 answer
561 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 ...
3 votes
2 answers
84 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
1 answer
488 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
279 views

How to generate these bitcoin addresses?

For the private key KwaZRh42fdQD4iUN6sy2GtEC5gfSAYXrQgp16KPV4Pxsspi5ChRb, I have the following addresses: 1N7jKvQ1fHezb61eNsGEaF4gcj5sQXhb2m (P2PKH) 14MNoFYWheu7sLkj8urvXCpYEdCuL4m2PH (P2PKH) ...
1 vote
0 answers
20 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!
0 votes
3 answers
1k 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 = ...
3 votes
2 answers
3k views

How to sweep a segwit bech32 private key?

I'm testing segwit bech32 addresses and generated the following using bitcoinjs: address: bc1qc7u5njf4nf2rj3zys642mfc7nct6kdven8j4e9 private key: 5Kkzs8XrJNAmf9VQDFeGBfaRvSByAvPK6DbDXw5BVqswWaXSG2Y ...
0 votes
1 answer
65 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 ...
1 vote
1 answer
2k views

How do I construct a P2TR address if I just want to use the key path?

I want to create a P2TR (Pay to Taproot) address but I just want access to the key path spend, I have no use for the script path spend in this specific example. What should I do in regard to the ...
1 vote
0 answers
367 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
51 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 ...
5 votes
1 answer
462 views

Can you detect that the addresses generated by an HD wallet came from a single wallet?

Can someone who is looking at the blockchain detect that 2 or more addresses generated by a single HD wallet are actually generated by that single seed/HD wallet ? Can someone who does know that 2 or ...
0 votes
1 answer
42 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
41 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" > ...
7 votes
2 answers
5k views

python-bitcoinlib | Create Private Keys, Public Keys and Addresses - How to Do It?

I'm trying to use the python-bitcoinlib library but its docs aren't entirely clear to me. I'm a programmer but quite new to Python, and not very versed in the Bitcoin protocol. What's the process, ...
5 votes
1 answer
845 views

Coin address generation for all coins

We are developing UI for coin trading. We have a plan to use all the coins present in coinmarketcap. I am greatly confused how to generate coin address for all coins. I knew that from cryptsy.com, it ...
1 vote
1 answer
138 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
2 answers
1k views

How does bitaddress.org ensure unique address?

You can use this service offline (as it's done with JS) so how can they possibly ensure a unique address is generated?
0 votes
1 answer
1k views

Create a non-SegWit address in electrum wallet

I am trying to get along the electrum wallet command line in ubuntu. However, my exchange only accepts withdraws to canonical non-SegWit addresses (i.e. it only generates with a "bc1" prefix)...
0 votes
0 answers
32 views

Libbitcoin - Failing to generate correct wallet addresses from ypub and zpub

I am playing with Libbitcoin and I want to calculate addresses from xpub, ypub and zpub. Whatever I do though I cannot generate correct addresses from ypub or zpub. I don't have problems with xpub. ...
0 votes
1 answer
49 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
1 answer
187 views

I bought bitcoin years ago and now the website that I bought from is unavailable!

I bought bitcoin years ago and now the website that I bought from is unavailable! I only have a key that I don't even know whether it's a public key or a private key or some useless key generated by ...
0 votes
2 answers
263 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: "...
0 votes
1 answer
73 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 ...
21 votes
1 answer
6k 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 ...
1 vote
1 answer
2k views

If the bitcoin address changes every time, why there is more than one transaction for an address in the ledger?

I was checking a random address in blockchain.com, there are alot of transactions that is done over this address. While in the website it is mentioned that the address is changing everytime! So it ...
0 votes
1 answer
114 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
69 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 ...
6 votes
2 answers
13k views

How to generate addresses in PHP

I need some PHP code to generate bitcoin addresses from a given public key. I can only find algorithms to generate addresses from the master private key but according to https://en.bitcoin.it/wiki/...
1 vote
0 answers
48 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 ...
1 vote
4 answers
970 views

What is the relationship between a Bitcoin Private Key / Public Key / Address?

What is the relationship between a Bitcoin Private Key / Public Key / Address? I see that a private key / public key pair is generated, but is there a possibility of generating a private key already ...
0 votes
3 answers
112 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
328 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
30 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 ...
5 votes
1 answer
951 views

How does the Bitcoin protocol deal with address collisions in wallets?

I understand that one can create a Bitcoin wallet as a pair of numbers (public & private key) with the right specifications and this is done quite easily in places like bitaddress.org I also ...
2 votes
1 answer
146 views

Can output descriptors be used to encode any Miniscript expression?

Output descriptors provide a standard to make address bodies more exchangeable between various wallet implementations. It seems that an output descriptor can be used to encode any Miniscript ...
1 vote
2 answers
80 views

Why do wallets have more than one key pair?

I was looking into wallets and the information that they contain. I found this post: What information does a wallet contain? I thought that wallets have only one key pair. Why is there more than one ...

1
2 3 4 5 6