Questions tagged [address-generation]

Collects technical details on the process of creating new addresses.

Filter by
Sorted by
Tagged with
1
vote
1answer
314 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 ...
0
votes
1answer
642 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?
1
vote
1answer
2k 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
1answer
607 views

how bitcoin core generate addresses?

how does bitcoin core generate addresses and where can they be found in the data directory?
1
vote
2answers
60 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 ...
0
votes
1answer
63 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 ...
1
vote
1answer
56 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 ...
0
votes
1answer
216 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 ...
1
vote
1answer
110 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,...
1
vote
2answers
182 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 ...
0
votes
1answer
314 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 ...
0
votes
1answer
92 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 ...
0
votes
1answer
213 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 ...
4
votes
1answer
2k 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.
3
votes
1answer
75 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)? ...
1
vote
3answers
1k 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 ...
0
votes
1answer
125 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 ...
1
vote
1answer
444 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?
0
votes
3answers
732 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: ...
2
votes
1answer
338 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 ...
2
votes
2answers
1k views

Why is my segwit private key generating a 3 address vs a bc1 address like how I originally generated?

I have the following btc private key that I generated from another application: 5KCPzu4tEAnFqwLrXUbW3GKMDSnUYY8CMie2HMRuHouSvrFhXA9 That application gives me the following segwit address: ...
0
votes
1answer
345 views

What is the format of a bitcoin wallet?

I was wondering how bitcoin public and private keys are generated. E.g., a certain number of characters etc. And how one could tell a litecoin address from a bitcoin address for instance.
0
votes
1answer
378 views

how to get change address using derived BIP44 publicKey?

I have generated a private key using my master seed private key. PHP Code: $bip44 = HierarchicalKeyFactory::fromExtended($result['masterPrivKey']); $publicKey = $bip44->derivePath("m/44'/0'/0'")...
2
votes
1answer
598 views

generate HD addresses using publicKey Bip44

I'm just wondering if it's possible to generate HD address using xPub? I tried to create HD address using BitWASP-PHP with the following path: m / purpose' / coin_type' / account' / change / ...
3
votes
1answer
1k views

How to convert Bitcoin cash address to cashAddress Format in PHP?

I've been trying with cashaddress-php but it doesn't work because the address should be in hex format, I tried with hex public hash key it also didn't work. Invalid hash length [320 bits] for ...
3
votes
1answer
1k views

How to generate scriptPubKey?

My address is 389CLh5Ect2i7U5116gqjBSLykYHRmdcgZ. In request from site i see this scriptPubKey, how i can generate this scriptPubKey from my Address {scriptPubKey: "...
2
votes
1answer
402 views

Generate Bech32 addresses to receive customer funds

I would like to use Segwit addresses however I seem to be finding mixed information on compatibility. As I currently understand it, older clients will not be able to send to a Bech32 address. Is this ...
1
vote
1answer
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 ...
1
vote
2answers
390 views

Private key exported from Electrum, unable to recreate Address with Python

I have created a new Electrum wallet, and here is an address: 1JkZLnmFfpVFLT2ZMtKzc6BuXMdmY41EHA By right-clicking on it, I choose "Private key" which gives: ...
2
votes
1answer
198 views

Is there any later version of Bitcoin address generation, than 1?

I'm looking for the technical details regarding the format and generation of Bitcoin addresses. I've found this article, “Technical background of version 1 Bitcoin addresses”, on the Bitcoin wiki, but ...
2
votes
1answer
504 views

bip44 account discovery

In Bip44 "Account Discovery" section, there is following sentence: We scan just the external chains, because internal chains receive only coins that come from the associated external chains. (...
1
vote
1answer
669 views

Algorithm to go from seed to 20 (or more) addresses

I'm currently reading the Electrum sourcecode to figure out how to go from seed (12 words) to addresses (in usual format). Does someone have the big picture of this process in mind? More precisely I'...
0
votes
0answers
1k views

how to get the private key for an used address ?

I have used an address generated by Exodus wallet. whats happened is that my bitcoin confirmed but didn't receive any thing on Exodus wallet. I want now to import private key in another wallet. but ...
1
vote
1answer
322 views

Bitcoin wallet address format representation

I want to send coins from my ether wallet to another bitcoin wallet that I have got. I entered my bitcoin wallet receiving address, but MyEtherWallet transaction convert it to another address format ...
3
votes
1answer
676 views

How to find the wallet balance?

I'm trying to find the balance of specific addresses in a wallet. I basically have the master key which I use to generate addresses but I wonder, is it possible to find the derived addresses that have ...
2
votes
0answers
128 views

Why bitcoin does not generate and support Segwit addresses by default automatically?

I downloaded the latest bitcoin core, but the generated wallet and address was not a segwit. Why bitcoin core, does not support segwit by default? and when it will be changed?
3
votes
1answer
108 views

What's relationship to each address other in Bitcoin Core?

I just made two and more address in Bitcoin Core wallet. Is there any relationship to each address? Like based on seedphase? or Just literally making 'random' address? If so, an attacker can hack ...
3
votes
2answers
5k views

How is a Litecoin address generated?

How is a litecoin address generated? What hashing do they use? For example, bitcoin addresses are generated like so: https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses I ...
0
votes
1answer
373 views

How can I recover private key as coins were sent a random generated address on wallet?

There is a new address where the coins reside and asks for a private key. How can I send coins from this new random address without knowing the private key? Software: http://www.sollico.com/...
1
vote
2answers
2k views

How does bitcoin core generate a receiving address without using my private key?

I downloaded bitcoin core from github. Now I have imported the complete blockchain and am examining the bitcoin core interface. If I click on >File >>Receiving addresses I see that bitcoin core has ...
1
vote
2answers
603 views

Why Bitcoin address are 25-34 bytes long when RIPEMD 160 & SHA-256 are only 20 bytes and 32 bytes long respectively?

(I'm new to Bitcoin & it's technology so correct me wherever u can) .Recently I was reading about Bitcoin and it's underlying technologies. I came to know that for generating addresses Bitcoin ...
0
votes
1answer
322 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":"...
0
votes
1answer
96 views

how does bitcoind functions in bitcoin exchange model?

i mean exchange allows every users a unique BTC deposit address different users sends btc to different addresses but BTC endsup in same wallet can i create multiple receiving address by bitcoind (...
6
votes
1answer
1k views

Replacing ECDSA (SECP256k1) with Schnorr signatures

On March 23, 2017 the Bitcoin Core team published a technology roadmap, expressing their intent to replace ECDSA (SECP256k1) with Schnorr signatures: https://bitcoincore.org/en/2017/03/23/schnorr-...
2
votes
2answers
6k views

How to get bitcoin address of any private key?

calling bitcoin-cli dumpwallet returns wallet private keys and addresses. Example L34D2hAS9KBJQzJkHtmNt1bdSJ18cQUvfSnJEqPKH2oUj6sBxvXt 2017-11-23T05:11:13Z reserve=1 # addr=...
1
vote
0answers
116 views

how many unique bitcoins address can be generated in one address pattern

Example address prefix given below 12cgpRC5r7zakGBfRGf5RQfGCgTnp7K1Yb 12cgpFkDMJXdwck9YHrrFsWP8PgxXjtBS7 12cgpcjw2628NPAPMvzSWF9Vh2tcUJrpAa 12cgpDmDJnugoRHeAfief7KSiUFvNPF5MY ...
0
votes
3answers
539 views

Bitcoin Gold Ledger Derivation path

What derivation path for creating addresses is used in Ledger for BTG? Generated address from the device doesn't correspond the address from the path m/44'/0'/0'/0/0 that is shown for BTG in BIP39 for ...
1
vote
1answer
1k views

How to generate bitcoin addresses on the command line or with python?

Is there an easy way to generate bitcoin addresses with a commmand-line tool? I am interested in the following requirements: Reliable, secure and standards conform, with good entropy Generates ...
0
votes
1answer
89 views

what prevents from address generation to accidentally use an existing one? [duplicate]

How come bitcoin addresses are created in a split second on my wallet app? what promises the address doesn't override a current existing address? I guess the same question applies for a private key...
0
votes
1answer
110 views

How do wallets know that address is not duplicated if I'm going to make one? [duplicate]

Let's assume that I'm going to make a wallet through Electrum that has some Bitcoin address. So then, How Electrum do know that is not duplicated(Already owned by another person)? Are we just ...