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.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 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 ...
1
vote
1answer
35 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 ...
0
votes
0answers
32 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() ...
-1
votes
0answers
34 views

Compare private keys and public keys from blockchain

What I want to do is to compare all generated private keys and public keys from blockchain: Input data: I have gigabytes of strings (one per line) which I can convert to BTC private keys and later ...
0
votes
0answers
22 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 ...
1
vote
1answer
47 views

Bitcoin public key — why do we have a compressed and uncompressed version?

My understanding is that the public key can start with 04 if it's uncompressed, or 02 or 03 if it's compressed. What's the purpose of this? It appears that you'd have greater entropy if it's ...
0
votes
0answers
10 views

Does the protocol ensure that pair keys wallet are unique? [duplicate]

What mechanism for proof unique pair keys (public key and private key) when creating a wallet with several sources(such as "wallet.btc.com", "wallet.bitcoin.com", "www....
3
votes
1answer
59 views

Why aren't public-private keys sufficient to build a block chain? Why do we need proof of work/stake?

Taking the simple case of Bitcoin here: If all nodes can validate published transactions by checking the signature (created using the private key of the sender) of the transaction against the public ...
0
votes
0answers
26 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
27 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 ...
1
vote
1answer
94 views

How to convert xpub ypub and zpub in Ruby

I'm looking to convert a Bitcoin extended public key from one format to another in Ruby. In JS I've found https://github.com/jlopp/xpub-converter/blob/master/js/xpubConvert.js and Python https://...
0
votes
0answers
14 views

Coinbase missing Bitcoin [duplicate]

So someone sent me Bitcoin cash but the sender did not tell me it was Bitcoin cash. So I sent a Bitcoin address. I use Coinbase. Is my money lost? I can’t seem to get a private key or a public key ...
0
votes
1answer
53 views

How to retrieve a public key from all types of transaction?

Is there a way to get sender's public key based only on the raw transaction data no matter the P2... type?
0
votes
0answers
19 views

what is math behind elliptic curve? (duplicate) [duplicate]

I have seen many videos regarding the math behind the bitcoin elliptical curve but none of them showing the public key generation they are just defining few steps. i need complete math behind the ...
0
votes
2answers
24 views

Public Key in Use Verification

This may be a bad question, but I am just getting started and you have to start somewhere. I have seen it discussed that generating the same public key as someone else is theoretically possible but ...
0
votes
3answers
129 views

What is the math behind Bitcoin's elliptic curve?

I have seen many videos regarding the math behind the bitcoin elliptical curve but none of them show the public key generation. They are just defining few steps. I need the complete math behind the ...
0
votes
1answer
46 views

Is there a simple python script for xpub generation from private key

I need a python script to verify, in an air gapped system, that my 24-word (or 12-word) mnemonic seed indeed generates the xpub that my wallet is showing me. Is there a simple script that does that, ...
0
votes
1answer
35 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
48 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
2answers
79 views

import multisig wallet into bitcoin core, Vpub keys are not valid. how to?

I'm trying to import an HD multisig wallet created with Electrum into Bitcoin core v0.21.0.0. I managed to do so with the fantastic cryptoadvance.specter server, but I also would like to import it ...
1
vote
2answers
123 views

secp256k1 recovery id and how does the code work

Here I have some questions regarding the recovery id (recid) defined in secp256k1 implementation. I had found few posts about how the recid is defined and what does it mean, also the source code (...
0
votes
1answer
43 views

Public key Exceeding Mod P? A Clarification Request On The Discrete Logarithm Problem

I tried to observe / implement the discrete logarithm problem but I noticed something about it; but before I get into it let me give some clarification which is open to correction. a = b^x mod P ...
1
vote
1answer
23 views

Has a spend from a hybrid public key ever made it to the blockchain?

If so, could you please give the TXID of a transaction that spends from a hybrid public key?
1
vote
1answer
214 views

I need help with an bitcoin open book exam

I am completely new to bitcoin and by extension cryptocurrency, but I am slowly getting my head around certain things. My problem is I am currently doing an open book exam and I am free to use any ...
2
votes
1answer
1k views

Aren't the Bitcoin receive addresses the public keys?

These public keys are easy enough for anyone to obtain from a Bitcoin address. Source: https://youtu.be/h7baD335hCw?t=598 ... What? Aren't the receive addresses in fact the "public keys"?
1
vote
1answer
47 views

HD Wallet with BIP44 - workaround of deriving public keys knowing only a xpub

My goal: I don't want to require a private key to hierarchically derive new addresses. Sure, I can create a batch of addresses, given a private key, at first. But once I have surpassed that batch I'll ...
1
vote
4answers
114 views

Is it possible to know if the result of 2 point subtraction is before or after G

I am trying to see if there is a way to see if subtraction of 2 points on the elliptical curve resulted in a point before or after G?. Let me explain what I mean by it. Let's take a point GP. Using ...
0
votes
1answer
209 views

Retrieving an addresses' public key from Pkscript/sigscript/witness

Let's use this transaction as an example. In the transcation, address 3GGoy8NoCF62TCAPGidWMU3u1ZrgwmasFt has a pkscript, a sigscript and a witness. It is possible to use any one of these, or some ...
0
votes
0answers
31 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
56 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 ...
1
vote
1answer
83 views

How did they generate these vanity addresses with 27 predetermined characters?

A while ago, I read some news about a huge transaction on the Bitcoin blockchain. The first few addresses used were apparently created with some kind of vanity address generator. One example is ...
0
votes
2answers
105 views

How to change the field of the elliptic curve to the new value N while keeping the default Secp256k1 parameters?

I want to change the margin of the elliptic curve to the new N value, while doing so I want to keep the parameters Standard G-point Generator Secp256k1 that is, I want to replace: N = ...
1
vote
1answer
99 views

Is there any available way to discover/find the public key of a specific address?

Is there any way to discover/ find out the public key of a specific bitcoin address? If not, are there any available tools online to help find the public key of a specific bitcoin address?
1
vote
1answer
46 views

Is the `addmultisignature` API call dependent on order of public keys in the array? Or is it lexicographically sorted?

Say Alice and Bob are part of a partnership business that accepts Bitcoin. They store all their main funds in cold storage until the end of 3 months, when they cash out and use a new address. This ...
0
votes
2answers
56 views

Public key management

There is something i am not sure to understand on bitcoin private/public keys and addresses. A new bitcoin user "U" first generates a private key. He can compute several public keys from ...
0
votes
1answer
445 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
278 views

ECDSA public key to private key hex

I have an ecdsa public key how to get the private key of this public key; 0222d2deda24c03b2cc2b458c35780c62b6b5603c088709f17607b7ecf1399e4d7 how to solve this on python I am using Pydroid 3 on my ...
0
votes
1answer
30 views

What can be bitcoin's secret can be at most and at least?

We know that: S(Secret-Scalar) x G(Generater Point-Point(X,Y)) = Public Key In bitcoin, what is the range of that secret can be? What can it be at most and at least? Is there a limit to it like 2^256? ...
1
vote
2answers
547 views

How can a user or wallet have multiple addresses at all if out of a private key can be generated only a single public key?

A user of a wallet, regardelss of a version of a wallet, can generate as many addresses as he wants, right? Since an address is basically a public key, and in "private-public key" ...
0
votes
2answers
77 views

library for validating bitcoin private and public keys

I am building a python script that gets a string and determines if it is a valid bitcoin private key or public key, and if so it returns its type/format (base58, BIP32, HexaDecimal etc.) and its ...
0
votes
1answer
79 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
2answers
203 views

Explain how unused addresses in wallet.dat have no balance when mining occurred for many months

I have a wallet.dat file with many zero transaction/(unused) addresses in it with keys assigned to each address. I’ve done research and there’s quite a bit of info about mining back in the day (2013-...
-1
votes
1answer
682 views

i find r s z from tow transaction but the r value is not same

i need your help plase i find r s z from tow transaction but the r value is not same from this wallet 1XCPdWb6kk7PGfvbdRbRuNh51aPc4vqC7 this is information tx 1 ...
0
votes
1answer
47 views

In compressed public keys, is the 2 or 3 the parity or the sign?

In different places I've read that the 2 or 3 is the sign or is the parity of the elided Y coordinate? Which of these is it, or are the sign and parity equivalent in some way?
1
vote
1answer
120 views

How to check if a given address belong to an exchange

Does any exchange provides any public information about its private keys managed BTC addresses, or is there any service that provides this information?
0
votes
0answers
42 views

How do I compute a private key, if I have two messages signed using the same nonce? [duplicate]

If I sign two messages with the same private key and nonce, it compromises security, making it possible to calculate the private key. I'm implementing a system (outside of bitcoin) where a message, ...
2
votes
1answer
180 views

How to get bitcoin bip32 public key from private key?

I need to know how to get the corresponding public key of a private key in hd-wallets, I don't need the derived ones but the public key who is related to the private I got. If there is an algorithm ...
1
vote
1answer
81 views

Why Bitcoin Core does not support importing extended public keys directly?

I'm trying to create a watch-only wallet importing the extended public key from a Ledger Nano (as an example) but is not to easy to do directly to my Node, I should do it through electrum personal ...
2
votes
2answers
220 views

Openssl magic values? Secp256k1 and ECDSA similarities? What makes secp256k1 special?

Part 1: Running this command seems to be a reliable way to produce a pubkey from a valid private key that for Bitcoin. Is this a correct assumption? openssl ec -inform DER -text -noout -in <(cat &...
1
vote
1answer
87 views

Can I know if a bitcoin private/public key or address was derived from another key in an HD wallet by its structure?

If I have a bitcoin private key, public key or address, can I know if it is a root private key or some other part which derived from a root private key in an HD wallet by the structure of it? To be ...

1
2 3 4 5
8