Questions tagged [public-key]

This tag should be used for questions regarding public keys. A public key is the public half of the public/private keypair. Anyone can use a public key check that a signature is correct, but they can't generate the signature themselves with the public key.

40 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
136 views

Key Derivation - CKDprv & CKDpub

I would like to replicate this derivation of keys. Chain m ext pub: xpub661MyMwAqRbcFtXgS5sYJABqqG9YLmC4Q1Rdap9gSE8NqtwybGhePY2gZ29ESFjqJoCu1Rupje8YtGqsefD265TMg7usUDFdp6W1EGMcet8 ext prv: ...
2
votes
0answers
35 views

What hierarchical deterministic derivation path is used for FIDO authentication on a Ledger Nano S?

What hierarchical deterministic derivation path is used for FIDO authentication on a Ledger Nano S? Does it ask for a different key each time or is it always the same key? If I connect to Google for ...
2
votes
0answers
426 views

Is a wallet simply a folder of private keys?

I try to understand how a wallet actually works. I know there are lots of resources around the internet, but I still can't find simple and concise answers for basic questions about wallets and ...
2
votes
0answers
102 views

Java bitcoinj: semantics of 'decompress' on encrypted key

Calling the decompress method on an encrypted ECKey object yields an ECKey object which has no private key (only public). I personally would have expected to get the same encrypted key in uncompressed ...
2
votes
0answers
1k views

Creating publicKey from random programtically in c#

I've been looking around I can't understand or find a complete explanation of how to accomplish this, I've tried multiple way even this link How do you get a Bitcoin Public Key from a Private Key ...
2
votes
0answers
991 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.
2
votes
0answers
220 views

If I accidentally delete an address with funds

If the address is deleted (while using an online provider like CoinJar), does that mean the coins are lost for good? Or all public/private keys are still held by the company and the address deleted (...
2
votes
0answers
121 views

What are the preferred UI images for Bitcoin Address & private key and multi-signature key?

How should I visually distinguish between the different types of keys available for the end user? So far the common keys I've come across are Private key (not to be shared) Bitcoin address (to be ...
1
vote
1answer
48 views

Libbitcoin How to generate addresses on demand from xpub?

Well, I am really new to this. Just installed libbitcoin and I am reading trough the wiki and everything. Could someone really quick hint me how to generate addresses whenever I want from xpub that ...
1
vote
0answers
68 views

How can you generate a bitcoin Public Key from an existing Private Key using openssl?

I know that you can generate a new key pair with a command like. openssl ecparam -genkey -name secp256k1 And the resulting output will contain a new private key with the encoded public key. Is it ...
1
vote
0answers
48 views

How verify (in C++) input signature?

First small problem: blockchair.com give me only output scripts, not input - is any blockexplorer online with it? I read binary data and this may be hard recreate my sample data and verify. I test BTC ...
1
vote
0answers
90 views

Does Electrum reveal a wallets public key to Electrum Servers?

When Electrum Bitcoin wallet queries a random Electrum Server does it send the public key to the server or does it send a batch of addresses to check? For instance, after setting up Electrum Personal ...
1
vote
0answers
70 views

demonstrate tracking some bitcoin transactions with a program like an explorer

Recently I started to read BITCOIN protocol and it's events when a transaction created. I want to create a program a bitcoin explorer. as you know probably, Each non-coinbase input spends an outpoint ...
1
vote
0answers
50 views

Random generation of elliptic curve points: is there a preferred approach?

While most practical applications are concerned with the random generation of private keys, anyone who wishes to write unit-testing code on the secp256k1 elliptic curve group may wish to have the ...
1
vote
0answers
601 views

Cryptocurrencies based on RSA instead of ECDSA

Bitcoin is based on ECDSA. Does anyone know of cryptocurrencies based on RSA for authentication?
1
vote
0answers
399 views

How many unique public keys have been published to the block chain?

There have been estimates of the number of published addresses. For example: https://blockchain.info/charts/n-unique-addresses (this chart seems to be underestimating the address count) However, I'...
1
vote
1answer
3k views

Create addresses in bulk; and check balance

I am new to Bitcoin; our company wants to use bitcoin for payments. We need to create a address for each transaction. so we need to create many public address. First, I need to generate many public ...
0
votes
0answers
10 views

How to sync AirGap Vault with its Wallet

How long does it take to sync AirGap Vault/Wallet together and does the syncing process require internet? And is it possible to sync Airgap Vault with electrum wallet?
0
votes
0answers
57 views

public key from private key math

Please guide me if following is the actual math to drive public key from a private key then how would this apply to generate public key from private key 1 please guide me step by step Private keys and ...
0
votes
1answer
112 views

I bought bitcoin years ago and now the website that I bought from is unavailable!

I bought bitcoin years ago and now the website that I bought from is unavailable! I only have a key that I don't even know whether it's a public key or a private key or some useless key generated by ...
0
votes
0answers
44 views

Safe way to create a mnemonic and address in golang

I have been looking over internet in the different repos of btcsuite but had no luck in finding a way to generate a 12 word mnemonic and convert this to an address using the go language. It needs also ...
0
votes
1answer
87 views

How do many public keys correspond to one private key?

I have read online that hardware wallets can generate new public keys to facilitate transactions. Ie if someone has BTC on an exchange and they want to send that BTC in different installments to a ...
0
votes
0answers
62 views

How Create Bitcoin wallet from a private key works?

I'm trying to understand how i can create a pair of bitcoin private key and public key with : https://github.com/Destiner/blocksmith for example : import blocksmith kg = blocksmith.KeyGenerator() ...
0
votes
0answers
28 views

Bitcoin creating wallet without seeing private key

I would like to create a Bitcoin paper wallet for a friend. However, I know that I should not have the private key as well. Is it possible to create a wallet but where I only have the public key and ...
0
votes
0answers
42 views

Retrieving a WIF bits private key

Suppose I have a Wif private key from Electrum 4.0.9: L2pt3eVopnxfBBvMwrJV2saZeAyQfF77UQSH5WGj5q9LBS6WWBmN ( this one or the other generated from the seed is non used of course ) with a corresponding ...
0
votes
0answers
32 views

Cryptocurrency Wallet 3rd party access

Do Crypto wallets such as Exodus etc have something like an API? For example is it possible to perform a cryptocurrency transaction directly from the web browser client (using the specified amount and ...
0
votes
1answer
46 views

Is there a service that shows up used addresses containing a substring?

Is there a service that searches the blockchain with a string or possibly a regex to find out a set of possible addresses, say if I only know a half of a public address?
0
votes
0answers
53 views

need help generate single publickey on cuda device

I am trying to generate a public key from a hash on a cuda device. I couldn't find a ready source for that task. So I want to try to modify/ create a new function for this task. the source code I want ...
0
votes
0answers
49 views

Need help with xpub bib32/bib44

I might just have had a major screw up. I created a bitcoin wallet with Electrum (bip32 standard). I then used the xpub key (extended public key) to generate payment addresses in my online store. It ...
0
votes
1answer
65 views

How can be proven that a signature is valid with it's public key

If someone wants to make a transaction, they need to sign the transaction data with their private key. For example Sign(transactionData, privateKey) creates the signature. What is exactly this Sign ...
0
votes
1answer
672 views

How to generate Hash160 from a private key with the Bitcoin module

I want to fix the script code. The script generates from a random private key Bitcoin Address by function (pubtoaddr) and works on the Bitcoin module: https://github.com/primal100/pybitcointools/blob/...
0
votes
1answer
94 views

How to check if one transactions is from the same wallet (public key) as a previous one

I wonder how to figure out whether one Bitcoin transaction is from the same wallet (public key) as any previous transaction in order to proof the ownership of a wallet.
0
votes
0answers
155 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('...
0
votes
1answer
579 views

How can I generate public address from an xpub key in Java?

I have an xpub key with which I want to generate all addresses which have been used or will be used and then find out the keys which have balance. Here's a sample xpubkey with balance- ...
0
votes
0answers
55 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
0answers
785 views

How do I get my master public key from a wallet?

If a HD wallet only gives me the 12 word mnemonic, how can one get the master public key?
0
votes
0answers
291 views

Multi signature wallet I'll know the private key

So my situation is I have to create a multi-signature address for our business (was going to do something like this: https://github.com/anders94/bitcoin-2-of-3-multisig). My question is if I make it ...
0
votes
0answers
132 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 ...
0
votes
0answers
3k views

To get Public key from Private key

How can I get the corresponding public key of a particular private key using bitcoin core console commands? , just as we can have private key of particular address using dumpprivkey and public key ...
-1
votes
2answers
3k views

Getting Public Key for transaction in electrum

Liberty.me has asked purchasers to all pay into a single address, but then to email the "public key" of the transaction. What is the public key of the transaction? How would you find it in Electrum?