Questions tagged [address-generation]

Collects technical details on the process of creating new addresses.

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

How to generate a large number of accounts via hw wallet and save addresses to file?

I work in a company which uses a ledger blue hw wallet. They need to generate bitcoin and eth accounts to send to users to deposit to. Currently they have people generating one account at a time in ...
1
vote
2answers
5k views

bitcoind deamon create new account for every user

I'm new to this bitcoin and seems confused a little. I need a system where I need to create new address for every user(personal account) where they will transfer some bitcoins to it and buy some ...
2
votes
1answer
1k 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
2answers
1k views

What is the difference between your address and your public keys

I'm beginning to learn about cryptocurrencies, and I'm having a lot of trouble because some terms are used in different contexts. I know that public keys are generated through a private key. So, are ...
0
votes
1answer
14 views

Is it required to broadcast the addresses generated locally to the bitcoin network?

Like the transactions are broadcasted to the bitcoin network , is it required that locally generated addresses also need to be boradcasted to the bitcoin network ?
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 ...
1
vote
1answer
561 views

Generating private key/bitcoin address based on a “password”

Since the private key is basically a random large number, would I be able to pick a password and have that converted into an address? For example: pick "mysecretpwd". Have it sha256ed, obtain a large ...
0
votes
1answer
70 views

Why bitcoin addresses have different number of characters?

With the help of bitcoin wiki I learned that every bitcoin address stands for a number and that shorter addresses are valid just because they happen to start with zeros, and when the zeroes are ...
2
votes
1answer
605 views

Possible attack vector of BIP32 HD wallet

I've been reading about BIP32 HD wallet and it's implementation and came across a few questions regarding the possible known "attack" vector of leaked private child keys and known xpub parent key ...
0
votes
1answer
41 views

Bitcoin explorers don't show my addresses transactions

I'm creating bitcoin addresses for a wallet we're building. To make sure the addresses are valid I went to a couple of bitcoin explorers and they reported, correctly, that the address does not have ...
1
vote
1answer
71 views

Is there any way to revoke or update private key?

Suppose my private key corresponding to an address is stolen. Is there any way to revoke private key or update the private key?
2
votes
1answer
957 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
0
votes
1answer
128 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 ...
0
votes
1answer
191 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 ...
0
votes
1answer
16k views

How to get a wallet address and set label via RPC?

I'm familiar with the basic RPC commands, but I'm having trouble retrieving/adding an address to a wallet, using purely RPC calls (i.e. bitcoind only, not bitcoin-qt). My understanding is that ...
1
vote
2answers
330 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 ...
0
votes
1answer
711 views

Is there a javascript library for generating litecoin address from a string?

Is there a bitcoinjs equivalent for litecoin? I want to be able to generate a litecoin address using a long string.
1
vote
1answer
443 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 && $...
1
vote
1answer
233 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::...
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 ...
2
votes
2answers
1k views

Generate keys/addresses for all altcoins

I'm looking for a library or method to generate addresses for as many of the most popular currencies/altcoins as possible. Is there a known library that supports this? Or do I need to use a specific ...
2
votes
1answer
299 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 ...
0
votes
2answers
89 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 ...
0
votes
0answers
54 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 ...
2
votes
1answer
196 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 ...
0
votes
1answer
137 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 ...
1
vote
1answer
295 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?...
1
vote
1answer
2k 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?...
1
vote
1answer
339 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 ...
3
votes
1answer
1k 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: ...
1
vote
1answer
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?
0
votes
3answers
545 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 ...
0
votes
1answer
622 views

how bitcoin core generate addresses?

how does bitcoin core generate addresses and where can they be found in the data directory?
1
vote
3answers
2k 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 ...
1
vote
0answers
251 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 ...
1
vote
1answer
112 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,...
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.
2
votes
3answers
6k views

How to generate bitcoin P2SH WIF key and address pair from sha256 private key?

lets say i have sha256 Private Key Hexadecimal Format 0000000000000000000000000000000000000000000000000000000000000001 how can i get P2SH address and its corresponding WIF private KEY ? by P2SH i ...
5
votes
1answer
805 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 ...
0
votes
0answers
2k views

How login in Bitcoin wallet using private key

We're working with a ICO project based on NEO Blockchain. We've requirement of getting payments through NEO, ETH and BTC. We're using deposit address concept to get payments from the users, and for ...
0
votes
2answers
476 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: ...
1
vote
0answers
201 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)...
0
votes
1answer
648 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
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 ...
2
votes
2answers
5k views

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

I have a need to generate a new extended public key (xpub). Examples: xpub6CUGRUonZSQ4TWtTMmzXdrXDtypWKiKrhko4egpiMZbpiaQL2jkwSB1icqYh2cfDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz ...
0
votes
1answer
91 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"......
1
vote
1answer
44 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.
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
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 ...
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 ...