The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [address-generation]

Collects technical details on the process of creating new addresses.

Filter by
Sorted by
Tagged with
5
votes
1answer
80 views

How can I protect my funds in the event a quantum computer breaks the ECDLP that Bitcoin relies on?

An interesting question was posted recently, discussing the idea of hashed addresses being (not meaningfully) quantum resistant. As Andrew's answer on that question points out, paying to a hashed ...
0
votes
1answer
38 views

Is there an equivalent to the Xpub/Zpub for multisig wallets?

When I have a typical wallet, I can give my Xpub to someone to generate addresses whenever they need. ("they" here could be an instance of BTCPAY server or some other application that I don't want to ...
0
votes
1answer
65 views

Bitcoin private key and address generator in golang

I am looking for a golang alternative to https://github.com/richardkiss/pycoin . So far I have found https://github.com/btcsuite/btcd but have not figured out how to generate private keys and ...
0
votes
1answer
54 views

How to accept USDT payments the right way?

We are developing an e-commerce solution and consider USDT to accept payments. At the moment as I understand we can generate many addresses (1 per transaction) with BIP32 spec approach. Based on Omni ...
0
votes
2answers
168 views

Bitcoin address generation and UTXO scanning

I'm developing bitcoin payment processing application. I've two question to ask: In each bip32 address, How much UTXO each address should have to consider generating new address to avoid address re-...
0
votes
0answers
36 views

How to integrate bitcoin address generator into website

I want to integrate a bitcoin accounts and address generator into my website, similar to those found on crypto exchanges. Users can generate addresses and have their own accounts. Is there an open ...
0
votes
0answers
45 views

secp256k1.publicKeyCreate generating symbollic key

Following is my code: const bip39 = require("bip39"); var HDKey = require('hdkey'); var bip32 = require("bip32"); var bitcoin = require('bitcore-lib'); var EthereumBip44 = require('ethereum-bip44'); ...
0
votes
1answer
25 views

Bitcoin core does not produce a wallet at all

I'm reading tutorials on working with bitcoin core like this: http://bitcoindaily.org/bitcoin-guides/bitcoin-core-tutorial/ and http://bitcoindaily.org/bitcoin-guides/how-to-recover-bitcoins-bitcoin-...
0
votes
1answer
97 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
1answer
27 views

Learning + checking the bitcoin address creation process at each step

I’m learning how hashing algorithms are used around the process of bitcoin address creation. I’ve read lots of great examples online that, step by step, show the output of each sequential hashing ...
0
votes
1answer
43 views

How can I get a new address on a fresh litecoind 0.17.1 via litecoin-cli?

I install bitcoind and litecoind... oh yes im on command line, setting up a node. prune the blockchain, Litecoin is ready. I want to generate newaddress to test and litecoin-cli does not show ...
1
vote
2answers
47 views

Trying to understand extended keys

I'm slowly getting educated about how the blockchain and Bitcoin addresses work. I now understand why it is more secure to use a different Bitcoin address for every transaction you make but I'm now ...
0
votes
1answer
53 views

Are Relay Addresses Possible?

Is it possible to create an address such that different parties can spend certain portions of any output spent to that address? R: 1zaybxcrandrelayexampaddr A: 1xyzabcrandexampladdressa 97% B: ...
0
votes
0answers
13 views

Public key vs Bitcoin address [duplicate]

As i've read on many websites and papers, the bitcoin address is made by hashing the public key. And i've read that that's done because we don't want the public key to be public until money is spent. ...
0
votes
1answer
95 views

Can someone explain what exactly is derived address?

Let's say my mnemonic words are army van defense carry jealous true garbage claim echo media make crunch When I used https://iancoleman.io/bip39/#english, the section, Derived Address, showed ...
0
votes
1answer
75 views

Generating a BCH address offline

To generate offline BTC addresses, I use the bitcoin-core app from bitcoincore.org. What is the BCH equivalent of this? Is it the bitcoin-unlimited app?
0
votes
1answer
78 views

Are addresses which start with 3 multisig addresses?

I've just downloaded bitcoin-core 0.17.1 and it seems all the new receiving addresses I create start with 3 instead of 1. I always thought addresses which start with 3 were multisig addresses. ...
-1
votes
1answer
49 views

How to encode a string into a bitcoin address? (Not a brain-wallet, an address, like a vanity-address)

I would like to know if a bitcoin burn address can be tied to a string. This question is not about OP_RETURN or other ways of embedding into a blockchain. Here's the processes that I went through: ...
0
votes
3answers
74 views

Repeated sha256 on brain wallet [closed]

The writer of this article https://pastebin.com/raw/jCDFcESz explains that Sha256('sender') x 2 yields the address 18aMGf2AxQ3YXyNv9sKxiHYCXcBJeJv9d1 I am however getting the address ...
0
votes
2answers
59 views

Why is there a finite amount of bitcoin addresses and how is the range of possible addresses determined

My first question is what the precise logical/theoretical reason is that there are only a fixed amount of possible bitcoin addresses. Secondly, I can generate a bitcoin address by using address(sha256(...
0
votes
1answer
66 views

“bitaddress.org”: It generates a BTC or BCH address?

(1) Is the address generated by www.bitaddress.org a BTC address? Or BCH address (Bitcoin Cash) ? (2) Is there a general method to recognize BTC address from BCH address?
0
votes
0answers
45 views

Bitcoin.com Wallet: How to export separately addresses and private key from json file?

I created a wallet by Bitcoin.com Wallet application for Windows. And then I generated 3 BTC addresses for this wallet. I then exported this wallet using Export Wallet and and chose File/Text option, ...
0
votes
1answer
38 views

Why the normal mode exist in BIP32

Suppose the BIP32 normal deviation is not safe enough. Suppose the xpub is deployed on the server, we assume it is public, then the leak of any derived private key is the leak of the parent private ...
0
votes
1answer
188 views

The risk of sending money to a xpub generated address

Suppose the owner of xpub share the xpub to others, and someone send some money to a xpub generated address. If the owner of xprv does not know the path used to generate that new address, is that ...
0
votes
2answers
197 views

Bitcoin HD Wallets with hardened derivation and watch-only addresses

I'm learning about the details of how HD wallets work. After reading the BIP32 and BIP44 documents thoroughly and supplementing it with Mastering Bitcoin there's still on aspect that I can't figure ...
7
votes
2answers
2k views

Is a bitcoin address collision possible if generating 90 million addresses every 4 hours?

I am running a test to see if I can obtain a successful bitcoin address collision after generating billions of addresses. I am not entirely sure how I would check them yet. Basically I have an extra ...
1
vote
1answer
67 views

Does Bitcoin Core accepts uncompressed address generation?

So one priv key express uncompressed and compressed pub key. Does the latest Bitcoin Core client accepts importing it to express uncompressed address? or it automatically express compressed address? ...
0
votes
1answer
129 views

How many rounds of HMAC-SHA256 needed to generate the master key in BIP32

In the BIP32, it does not define the round of HMAC-SHA256. In http://bip32.org/, it use 50,000 rounds. In "mastering Bitcoin", it use 2048 rounds. Is there any explicit standard, or what we ...
2
votes
2answers
766 views

How to get the derived public key from xpub?

Here I'd like to generate the other address use xpub. Is there any library (python) could help to derive the new address from extended key? such as: gen_new_pub(xpub, new_path) to get the derived ...
0
votes
1answer
44 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 ...
2
votes
1answer
451 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....
0
votes
2answers
52 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
9 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
137 views

Where are new addresses stored?

When a user generates an address using Bitcoin Core, is that address by default stored on the blockchain or will it only be stored after it is used in a transactions
0
votes
1answer
53 views

Adding an external key pair to a local bitcoinj wallet

I need to add a vanity address to a local wallet that I maintain using bitcoinj APIs. I'm not able to search for the vanity using bitcoinj APIs directly, on my local PC, because my vanity is too fancy....
1
vote
1answer
296 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
41 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 ...
0
votes
1answer
355 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
34 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
64 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?
1
vote
2answers
97 views

Print all states of getting from a random 256 bit private key to a corresponding encoded BTC address

I wonder if it is possible to print what's going on under the hood regarding the process of getting from a random binary number to a BTC address. It will look something like this: Input: a random ...
0
votes
1answer
123 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 ...
1
vote
2answers
150 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 ...
1
vote
1answer
211 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
1answer
533 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
1
vote
2answers
564 views

How to generate a dash address?

How can I generate a simple dash address from a public key? How many address formats are there in dash?
1
vote
1answer
314 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 && $...
0
votes
1answer
330 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 ...
2
votes
1answer
100 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
0answers
52 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 ...