Skip to main content

Questions tagged [address-generation]

Collects technical details on the process of creating new addresses.

Filter by
Sorted by
Tagged with
0 votes
1 answer
379 views

Whether I have to scan all types of addresses to discover BIP44 wallet from mnemonic?

Let's assume that I am going to create a new address in bitcoin HD wallet knowing only mnemonic words and that previously addresses were generated according to BIP44. BIP44 gives an algorithm how to ...
Nick's user avatar
  • 145
1 vote
2 answers
500 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 ...
cpe871's user avatar
  • 31
0 votes
1 answer
564 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|...
Pedro Jose Otero Rodriguez's user avatar
1 vote
1 answer
1k views

bitcoin address from xpub key

I want to create bitcoin address from extended public key, without exposing private key but did not get any success till now. Do someone know how to do it? I am using bitcore-lib package
rahul_eth's user avatar
  • 121
1 vote
2 answers
2k views

How to generate a dash address? [closed]

How can I generate a simple dash address from a public key? How many address formats are there in dash?
arshbot's user avatar
  • 1,788
1 vote
1 answer
569 views

BIP 32 child key derivation "stops working" after a certain index (i)

Here's my code to get a child public key from a parent HD key. I adapted it from freedomnode: public function address_from_master_pub($path = '0/0') { if ($this->xpub === NULL && $...
toddmo's user avatar
  • 774
0 votes
1 answer
453 views

Number of Trials Required For Brute Force Attack To Have x% Of Success?

I'm making an informational video about how unlikely it is for an attacker to successfully brute force a specific bitcoin address. Obviously, it will deal with impossibly huge numbers ("not in earth's ...
pgSystemTester's user avatar
1 vote
4 answers
908 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 ...
Robert's user avatar
  • 351
2 votes
1 answer
1k views

Checking the first and last characters of a cryptocurrency address?

When confirming that an address entered on a site/app is what I expect it to be, I often check the first and last 3-4 characters to see if they match. Is this practice dangerous? Could an attacker ...
Cory Klein's user avatar
0 votes
0 answers
74 views

What's the difference between all kinds of bitcoin addresses (Single, multisig, etc...) also compared to all bitcoin forks?

Bitcoin addresses start with 1. Multisig/Script addresses start with 3. Other forks of bitcoin have single letters that are different at the beginning. Is this letter simply and only prepended to the ...
The Quantum Physicist's user avatar
2 votes
1 answer
299 views

Hypothetical Scenario - Address collision with address with already confirmed outgoing transaction

In a typical case of finding a collision with an address, as long as the private key provided has a consistent public key that hashes to the address, then the coins in that address can be spent. The ...
Expectator's user avatar
0 votes
2 answers
145 views

How to generate an address for bitcoin?

I installed bitcoin core and I am generating an address using getnewaddress. To get the private_key of the address I am using dumpprivkey. To get the unspents I am using listunspent. Till here ...
merklexy's user avatar
  • 107
0 votes
1 answer
163 views

Can I generate an address without using bitcoin core?

I am running bitcoin core in my mode. I am using getnewaddress to generate an address and then I am using unspent to get the unspent of an address which returns the unspent successfully. If I created ...
merklexy's user avatar
  • 107
1 vote
1 answer
393 views

How are 21 words seeds generated

Apologies for the noobie question. I was wondering how a range of wallet addresses (eg. BTC address 33ELbMhwHw5AaKHU4u3MzVSFvvK7aa7HZL) is algorithmically converted into seeds (eg. 12 words). Any help?...
Gabe's user avatar
  • 195
0 votes
1 answer
1k views

Generate QR code for multiple cryptocurrency addresses

I want to generate my own QR code with my main cryptocurrency addresses without using an online solution, is there maybe a command prompt way or particular piece of software I cam download for this, ...
deedos's user avatar
  • 1
4 votes
1 answer
4k views

How to generate a native Segwit address and P2SH Segwit address from a standard WIF?

Can I have the steps to generate a native Segwit address from a standard WIF? And the steps to generate a P2SH Segwit address from the same WIF? How do these two formats differ and why are there two?...
arshbot's user avatar
  • 1,788
1 vote
1 answer
420 views

Benefits of generate address from sha256 hash than random address

Is there any benefits (eg: better security) of generate a address from SHA 256 hash vs generate a random hash? Generate adress from a SHA 256 hash var value = Buffer.from('correct horse battery ...
vincentsty's user avatar
7 votes
2 answers
7k 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, ...
Gal Grünfeld's user avatar
3 votes
1 answer
2k views

How to generate a Litecoin testnet addresses (Segwit also) (Derivation path, bip32)

I'm creating a wallet that generates address for litecoin mainnet in two ways. One is using bitcoinjs-lib. This library has an object with all the data need it to create private keys and address: ...
Enzo's user avatar
  • 159
1 vote
1 answer
1k views

How can I generate bitcoin cash addresses programmatically? [duplicate]

If I'm a mobile developer who wants to integrate bitcoin cash in an app, how can I generate Bitcoin Cash addresses programmatically, without relying on a 3rd party service, like Coinbase?
p3scobar's user avatar
5 votes
3 answers
3k views

ELI5: What is Base58Check encoding?

I've seen posts on how to do it and I've read the wiki on what it is, however these explanations are too complex. Can someone explain what it is and why it's called Base58Check encoding? Are addresses ...
arshbot's user avatar
  • 1,788
1 vote
0 answers
380 views

bitcoinjs-lib seems to skip a step in deriving addresses from a BIP 44 wallet

According to this wiki page to create a bitcoin address, 1) you have your public key of the properly derived path 2) Then SHA256 it 3) Then RIPEMD-160 it, Add version byte at the front and boom ...
arshbot's user avatar
  • 1,788
0 votes
2 answers
587 views

base58 cannot get 34 chars results (as Bitcoin address does) but 68 chars

I am trying to convert public key hex to Bitcoin address. From this website http://gobittest.appspot.com/Address, I can do some test. For example, I have this public key: ...
fluency03's user avatar
  • 101
1 vote
0 answers
234 views

Would it be possible for an 8-bit microprocessor to create a bitcoin keypair?

Context for question: With the latest security breaches around modern CPU's (Spectre / Meltdown) I was wondering if we could generate ECDSA keypairs on cheap, small and/or simple air gapped (micro)...
Mr Jones's user avatar
  • 548
0 votes
1 answer
563 views

Zcash wallet generation

How to generate Zcash address and private key by a mnemonic seed, in nodejs or python? Is there some lib like bitcore-lib or ethereum-bip44?
user3622916's user avatar
1 vote
1 answer
340 views

bitcoinTestnet Network returning a mainnet address

I'm using this code to get a new address from an extended public key: $index = 97; $change = false; $key = HierarchicalKeyFactory::fromExtended($tpubaddress, NetworkFactory::...
toddmo's user avatar
  • 774
0 votes
1 answer
113 views

Does copay accepts multiple payments?

I am a bit confused as to whether copay wallet accepts multiple payments to a single address based on the phrasing "wallet generates new addresses automatically once you use a bitcoin address once"......
nits's user avatar
  • 3
2 votes
2 answers
10k views

How to generate a new extended public key (xpub)?

I have a need to generate a new extended public key (xpub). Examples: xpub6CUGRUonZSQ4TWtTMmzXdrXDtypWKiKrhko4egpiMZbpiaQL2jkwSB1icqYh2cfDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz ...
toddmo's user avatar
  • 774
1 vote
1 answer
61 views

Are wallet address generators considered a dapp? like bitaddress or warp wallet?

Is bitaddress or warpwallet generator considered a dapp? They aren't tied to centralized server when you use the application to generate your own addresses and it can run by itself.
Patoshi パトシ's user avatar
1 vote
1 answer
2k views

Is there a way to generate new addresses for someone else's wallet?

I thought I saw this feature existed somewhere but I can't find the reference. Use Case: Alice needs to keep sending multiple bitcoin transactions to Bob, and wants to use a different payment address ...
toddmo's user avatar
  • 774
1 vote
1 answer
465 views

Why does my implementation of hex to Base58check produce different results than the example?

Step 8 of this wiki page gives this hex value: 00010966776006953D5567439E5E39F86A0D273BEED61967F6 Step 9 converts it to this base58 string:16UwLL9Risc3QfPqBUvKofHmBQ7wMtjvM I'm trying to implement ...
David says Reinstate Monica's user avatar
0 votes
1 answer
858 views

How do you output segwit bech32 (bc1...) / P2SH (3...) addresses from a bitcoin private key?

I have a bitcoin private key and know that it can output a segwit addresses of bech32 bc1... and p2sh 3... formats. How can this be done easily?
Patoshi パトシ's user avatar
3 votes
2 answers
4k 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 ...
Patoshi パトシ's user avatar
0 votes
1 answer
905 views

how bitcoin core generate addresses?

how does bitcoin core generate addresses and where can they be found in the data directory?
Errol's user avatar
  • 127
2 votes
2 answers
215 views

When you create a multisig address from existing addresses, do the funds move there?

If you have three addresses, lets say A, B and C and they each have 1 BTC. When you create a multisig address out of the three addresses, will it have a balance of 3 BTC or do you have to send the ...
John's user avatar
  • 383
0 votes
1 answer
72 views

Subscription-based payments

I'm writing a web application that will require subscription fees from users. I'd like to automate this process without relying heavily on 3rd party services (web-based wallets, etc). Currently, this ...
Goodies's user avatar
  • 101
1 vote
1 answer
66 views

Generate cryptocurrency addresses on server

I want to generate cryptocurrency addresses (e.g. for top 10 cryptocurrencies on CoinMarketCap) on my server and be able to send transactions when deposit arrives. Can I do that with CLIs or there is ...
marc's user avatar
  • 13
0 votes
1 answer
239 views

New address generation on exchange services

Services like ShapeShift generate new addresses for each transaction. It is not clear how to they do that. I didn't find any API that supports address generation for such a big amount of coins like on ...
marc's user avatar
  • 13
1 vote
1 answer
186 views

Is it secure to put a wallet address on one's business cards as a QR code?

As a company, we're making business cards, and would like to put our bitcoin addresses on our business cards as QR codes. Yet, I know that it is a best practice for wallets to cycle addresses - I mean,...
J. Doe's user avatar
  • 11
1 vote
2 answers
211 views

Bitcoin cash wallet with ability to generate new addresses [closed]

I'm looking for a wallet that can generate new addresses. I've seen some wallets that do generate a new receive address for Bitcoin, but I'm not sure if a new address is used when Bitcoin is sent. I ...
david's user avatar
  • 141
0 votes
1 answer
621 views

Does BIP44 key derivation path protects private keys derived within same account?

I understand that with Un-hardened parent extended public key child private key This will leads to compromise of parent private key and so all the private keys of siblings BIP44 suggests the path ...
Calvin Lau's user avatar
1 vote
1 answer
136 views

How Bitcoin wallets avoid address re-usability?

As we know, address reusability compromises both privacy and security. My question is how Bitcoin wallets avoid address reusability? Is wallet generates an address from index 1 and scan blockchain ...
Infinity's user avatar
  • 183
0 votes
1 answer
348 views

How does Bitcoin Core know that your private key relates to your public address? Are the private keys stored?

When a user creates an account on Bitcoin Core, he is assigned private keys. And he needs to use these private keys in order to send transactions onto the network. Does Bitcoin Core store these ...
Michael d's user avatar
  • 101
6 votes
1 answer
4k views

Why is Bitcoin address encoded in base58?

Why does bitcoin address encoding use base58 instead of, for instance, base64? I don't see it is useful in any way.
dafunkizdiz's user avatar
2 votes
1 answer
83 views

How could you differentiate if the bitcoin address is from master node or derived nodes?

Given that I have these two random generated bitcoin testnet addresses, could you tell if it is the bitcoin testnet, master node or derived nodes, if we discuss bip-0032 spec (Master key generation)? ...
Ben's user avatar
  • 123
2 votes
3 answers
2k views

How to generate multiple public addresses using one private key?

I want to generate multiple btc addresses using one private key. I am using pywallet library but each child address also have the private key. Can I use one private key for multiple addresses (if they ...
merklexy's user avatar
  • 107
0 votes
1 answer
144 views

What is the likelihood that an xPub child address is not owned by the same xPub address holder?

Kind of an odd question, and I'm pretty sure the answer is, "extremely unlikely," but wanted to see what the community thought. Secondary question: How sure can one be that the addresses ...
EvilJordan's user avatar
0 votes
1 answer
899 views

Use old legacy bitcoin private key generated from 2012 to generate a segwit address

The old legacy addresses starts with 1 and the new ones start with 3 and bc1. Can I use my old private key from 2012 to generate a bc1 address? And how so?
Patoshi パトシ's user avatar
0 votes
3 answers
1k views

How do you generate a receive address from a string? [closed]

I already have a an address with Bitcoin and would like to generate a receive address using SHA256 hash which is based on a string. I've found an example of creating an address using a SHA256 hash: ...
timothyylim's user avatar
1 vote
3 answers
595 views

Bitcoin segwit addresses from HEX

I loved those two https://github.com/grondilu/bitcoin-bash-tools https://www.bitaddress.org/ because you can convert HEX into WIF private key. Is there something similar what allows to create ...
zsedc's user avatar
  • 11

1 2 3
4
5
7