Questions tagged [address-generation]

Collects technical details on the process of creating new addresses.

32 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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 ...
  • 1,594
2 votes
0 answers
103 views

How to "create new receiving address" from recently installed full node, (0.21.0) with new encrypted wallet?

On March 11th, 2021, I completed my downloaded of the full node from Bitcoin Core, (Bitcoin-0.21.0-win64-setup), on my Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz - 16.0GB, Windows 10Pro. I created a ...
2 votes
0 answers
515 views

how to create Bitcoin address , p2sh segwit and Bitcoin segwit address on python console from pubkey?

i am new on python, i know it how to create Bitcoin address , p2sh segwit and Bitcoin segwit address on python console ? i use https://github.com/richardkiss/pycoin and command-line (base) C:\Users\...
  • 21
2 votes
0 answers
133 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?
2 votes
0 answers
78 views

Managing the bitcoin address gap

We're in the process of setting up bitcoin payments to fund accounts in our system. Using the C# BitcoinLib (https://github.com/GeorgeKimionis/BitcoinLib) to interact with the Bitcoin Daemon. Our ...
2 votes
0 answers
1k views

Where can I find a C or C++ implementation of converting bitcoin privatekey to bitcoin public key and bitcoin address?

There are versions in python and some such things, but I need a C version (or at least C++). I do have the sha256, RMD160 in C already, and those functions are called. Thank you.
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!
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
0 answers
38 views

Understand how wallet genereates keys

I'm trying to understand how keys are generated by wallets in details and what different approaches that are used. More specifically I'm interested in how Electrum does this and how the deterministic ...
  • 111
1 vote
1 answer
278 views

How to generate these bitcoin addresses?

For the private key KwaZRh42fdQD4iUN6sy2GtEC5gfSAYXrQgp16KPV4Pxsspi5ChRb, I have the following addresses: 1N7jKvQ1fHezb61eNsGEaF4gcj5sQXhb2m (P2PKH) 14MNoFYWheu7sLkj8urvXCpYEdCuL4m2PH (P2PKH) ...
  • 177
1 vote
0 answers
59 views

Not receiving Compact Block even after 'sendcompact' message

I have setup a regtest net locally with 2 nodes. One of nodes generates blocks using 'bitcoin-cli generatetoaddress 10 ', sendcompact message was sent from other node yet it gets normal block(...
  • 11
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
0 answers
324 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,389
1 vote
0 answers
226 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)...
  • 538
1 vote
0 answers
120 views

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

Example address prefix given below 12cgpRC5r7zakGBfRGf5RQfGCgTnp7K1Yb 12cgpFkDMJXdwck9YHrrFsWP8PgxXjtBS7 12cgpcjw2628NPAPMvzSWF9Vh2tcUJrpAa 12cgpDmDJnugoRHeAfief7KSiUFvNPF5MY ...
1 vote
0 answers
338 views

Generate Bitcoin addresses using a Master Key from Armory wallet

Is it possible to generate Bitcoin addresses using a Master Key from a Armory wallet with PHP? I don't want to use Electrum Master Key as Armory has a lot more features that come in handy often.
's user avatar
1 vote
0 answers
2k views

Sent bitcoins to my unencrypted wallet and encrypted the wallet before file synced, is there any way i can get them back?

Thanks in advance for any light you can shed on my problem.. I think I sent bitcoins from an online wallet to my offline wallet BitcoinQT(0.81) in august. The transaction has been confirmed, but not ...
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 ...
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. ...
  • 27
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
0 votes
1 answer
585 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
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 ...
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 = ...
  • 21
0 votes
0 answers
176 views

Creating bech32 address on bitcoin core automatically generate another address on lightning network

my lightning network backend is bitcoind. Interesting when I execute getnewaddress label bech32 another bech32 address is automatically generated. I found it because at the lightning network console ...
  • 161
0 votes
0 answers
175 views

Trying to programmically generate unused receiving address from a xPub

I'm trying to generate unused receiving Bitcoin address from xPub using PyWallet python library . I got the xPub from my BIP32 Electrum wallet. Here is what I tried from pywallet import wallet ...
0 votes
0 answers
255 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('...
  • 121
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
0 answers
65 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 ...
0 votes
0 answers
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 ...
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":"...
0 votes
0 answers
142 views

What is the easiest way (user experience wise) to get xpub?

I'v got monitoring app going for my hardware wallet and am planning to release it to public. Biggest pain point right now is asking users to enter their xpub key. It can be done, but there is no ...
  • 195
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 ...