Skip to main content

Questions tagged [public-key]

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
2 votes
1 answer
203 views

Did uncompressed public keys use the `04` prefix before compressed public keys were used?

Have uncompressed keys always used the 04 prefix, even before compressed keys (which use 02, 03) were used? Did bitcoin undergo an update to add these prefixes to the different key types? If so, since ...
aryzing's user avatar
  • 165
1 vote
1 answer
198 views

How might you detect if two extended public keys have the same root private key?

Say I derive three extended public keys1 (normal mode): Parent: Pubkey: 035f743ee7d73d27e8c80f6b2458e6d4e2a45f3d7dd35c4e4d84ff3d939d09f40c Chaincode ...
Lee's user avatar
  • 877
2 votes
1 answer
77 views

Does a P2PKH transaction send to the hash of the uncompressed key or the compressed key?

Simple question but I didn’t find a reference. Is it the compressed public key that is used or the uncompressed public key ? Or can it be both ?
user2284570's user avatar
0 votes
1 answer
47 views

Is it possible to reduce the field size without disrupting generation of public keys?

I have a curious question, i am aware of the curve parameters of secp256k1. i was wondering if its possible to reduce to field to a 130 bit or lower without disrupting the actual functionality.. what ...
Melwyn's user avatar
  • 9
2 votes
0 answers
74 views

Bitcoin Core stores public keys and balance unencrypted, a few questions

I came across this statement in the Sparrow Wallet documentation; Unfortunately, Bitcoin Core stores your public keys and balance unencrypted on the computer it is running on. If this computer is ...
FractalEncrypt's user avatar
0 votes
0 answers
29 views

How to know the number of digits in the decimals place in division results (ECC SECP256K1)?

p - is the order of the finite field n - is the order of the group. Private keys can range from 1 (the generator point G) to n - 1. All the private keys (Priv) lie in certain ranges of 2. 2^a < ...
Maltoon Yezi's user avatar
0 votes
2 answers
72 views

Does the 25th password make the wallet harder to crack?

Lets say you have a 24 word seed bitcoin wallet. And then you add a password that's 96 characters long. Does that make it twice as hard to geuss? Is this new private/public key generated completely ...
Trevor's user avatar
  • 181
0 votes
1 answer
91 views

Computing HASH160 of a Taproot X-only 32 byte Public Key

I know that Taproot does not use pubkey hashes, but I want to compute a HASH160 of a 32 byte Taproot X-only public key anyway. The rationale is to compare it to an existing 20 byte HASH160 from a ...
Alec Matusis's user avatar
1 vote
1 answer
85 views

Deriving bip84 addresses with python

Does anyone have a python script deriving the bip84 addresses from the private key? I do have the private root key so I don't need to go all the way from the private key. I'd like to do this with the ...
Peder Rustad's user avatar
0 votes
1 answer
83 views

Bit coin core Settings/Receiving addresses

Under these settings in bitcoin core. does imported addresses (watch-only) appear under the settings as an official receiving address or it appears there because imported a wallet to watch.
Zeata Hazuki's user avatar
1 vote
1 answer
267 views

Two private keys whose corresponding public keys have the same x-value?

For a given integer m, there are at most two points in the secp256k1 curve whose x-value is m. Have we ever actually found a pair of distinct private keys whose corresponding public keys have the same ...
mathboi's user avatar
  • 191
-1 votes
1 answer
253 views

deriving the master public key and the btc address from seed phrase of electrum wallet

I am searching for an exact python code that can take a standard wallet seed as input and output the the root key or xpub master public key. I had tried several codes but none of them gave me the '...
he lo's user avatar
  • 3
0 votes
1 answer
56 views

How to set the output script of coinbase transaction

I found that the "getaddressinfo" command in RPC can get pubkey and scriptpubkey. My address pubkey scriptpubkey are: address='bcrt1q95h0le6kknpnjp4c29cau03gvdyxd35zug30yr' pubKey='...
Jack Green's user avatar
1 vote
0 answers
30 views

Given a Bitcoin wallet address, can its other addresses be inferred from it? [duplicate]

A bitcoin wallet doesn't have one single address, but several. All these addresses can be obtained from the master public key, am I wrong? Does knowing one of this addresses (not the master public key,...
Dan's user avatar
  • 191
2 votes
1 answer
143 views

What is the probability of accidentally getting a seed phrase that is associated with a real address with a balance in the bitcoin blockchain?

Good afternoon! Such a question is interesting, and with what probability can you accidentally get a seed phrase that is associated with a real address with a balance in the bitcoin blockchain?
Woody1134's user avatar
0 votes
1 answer
111 views

Do we need a taproot commit for multisignatures if there is no script path, but we are using the MuSig2 protocol?

I read in some article for Taproot that if there is no need for a script path spending and a number of participant (multisignature with key aggregation) create together a taproot output key (key for a ...
LeaBit's user avatar
  • 980
1 vote
1 answer
151 views

Is it possible to calculate the correct y coordinate from x coordinate given only x coordinate without any prefix

If I have a x coordinate without any prefix such as 03 or 02 fff97bd5755eeea420453a14355235d382f6472f8568a18b2f057a1460297556 will it be possible to compute the correct y coordinate that would be ...
Zetock's user avatar
  • 13
0 votes
1 answer
108 views

What does a digital signature scheme need to have in order to be used (indirectly) in Bitcoin?

Here (see the comments) Pieter Wuille described digital scheme as a collection of three algorithms: (key generation, signing, verification) Since Bitcoin uses ECDSA (pre-Taproot outputs) and Schnorr (...
LeaBit's user avatar
  • 980
-2 votes
1 answer
49 views

Feedback system possible

I grasp the concept of point negation and addition quite well. Point negation involves taking a public key, inverting it, and adding it to a target. The resulting difference between the target and the ...
Melwyn's user avatar
  • 9
2 votes
1 answer
70 views

How to find out if public keys have been used in other transactions

When we get the public keys from a multisig script is there a way to check what other transactions use those public keys? I know how to check if they have been used as P2PKH addresses, but I'm not ...
user2334659's user avatar
0 votes
1 answer
97 views

Public key factors - but what's next?

Let's say I found (I know, impossible) public key factors. What to do with them next to compute original private key for that public key?
pbies's user avatar
  • 159
0 votes
0 answers
87 views

Explain the use of inverse

I understand that from private key 1 to 57896044618658097711785492504343953926418782139537452191302581570759080747168 every public key is literal inverse of private key ...
Melwyn's user avatar
  • 9
0 votes
0 answers
45 views

Why is my manually calculated public key different than libsecp?

I'm teaching myself ECC using the secp256k1 curve. Ultimately I'm interested in learning about Schnorr signature aggregation and MuSig protocols, but I'm starting from the ground up. I've attempted to ...
ursuscamp's user avatar
0 votes
0 answers
21 views

Question About Xpub WRT jb55's Github Example

First of, thanks for jb55's wonderful tool for making dumping a c-lighting key easy. However, this is not the point of this post. What i am here to ask is if you look at his example here: ...
Jim Quick's user avatar
2 votes
2 answers
98 views

BTCPayServer - importing wallet using zpub

I'm trying to connect my BTCPay server to hardware walet by entering the public key. The HW wallet account is P2WPKH, the public key has a zpub… format. When I enter the key, server correctly ...
Gusep's user avatar
  • 31
0 votes
1 answer
131 views

What is the purpose of the different types of extended keys, as well as some of its other elements?

I have a few questions about the extended public/private key, i.e. the purpose of its elements. Namely, according to the BIP32 standard, the "format" of the extended key is as follows: [ ...
dassd's user avatar
  • 1,099
1 vote
3 answers
336 views

Do I need to store my hardware wallet's derivation path?

"Not your keys, not your coins" is common mantra. I thought all I needed to do was to safeguard my private keys (via hardware wallet, cold storage) to be able to reconstitute my BTC at any ...
Runeaway3's user avatar
  • 329
4 votes
1 answer
1k views

What does it mean that the security of Bitcoin public keys and 256-bit ECDSA is 128 bits?

I am reading the Master Bitcoin book and came across the following: From a security perspective, the amount of entropy actually used for the production of HD wallets is roughly 128 bits, which equals ...
dassd's user avatar
  • 1,099
-1 votes
1 answer
62 views

Is there any way to look deeper at a specific wallet address to see if it's associated with any other BTC balances

I recently switching mining pools and desktop wallet (Sparrow). In an effort to set the address I sent a small amount of BTC to an address thinking it was my own, in a newly set up Sparrow wallet. ...
Freedom Francis's user avatar
0 votes
1 answer
90 views

How three addresses from the same (un)compressed key works?

As far as I understand, if we have one private key, we're able to create 4+ matching addresses. I'll use famous int(1) as a private key for example here. Then we can create: P2PKH from the compressed ...
Putnik's user avatar
  • 63
1 vote
2 answers
206 views

Bitcoin keys explained?

I found a diagram, which explains in an excellent way how to convert a public key to a P2PKH address here(1). Also, I found a good map of types of addresses/keys here(2) and a list of all possible ...
Putnik's user avatar
  • 63
1 vote
0 answers
110 views

Recovered bitcoin public keys do not verify the signature

I need to recover public keys on the bitcoin chain for a project, my current flow is like this: Get hash + signature from bigquery -> Use nodeJS secp256k1 module (native bindings) to import ...
Ano's user avatar
  • 11
1 vote
1 answer
95 views

Can addresses be linked to "wallets"?

If I have my coins on address A, send it to address B from the same private key, is anyone able to say "these two addresses belong to the same wallet" with certainty? Because of the public ...
codepleb's user avatar
  • 187
-1 votes
1 answer
58 views

In bitcoin core can ScriptToUniv give us wallet address of public key?

a few days ago I created a PR https://github.com/bitcoin/bitcoin/pull/27546 where I proposed ScriptToUniv can give us wallet address of public key But some guy commented "Concept NACK Sorry, no. ...
saffi Khan's user avatar
3 votes
1 answer
293 views

What is the length of the extended public key?

I'm reading the Master Bitcoin book and I'm a bit confused. The confusion is related to the length of the extended keys. The book says that extended keys are 512 or 513 bits long. It is clear to me ...
dassd's user avatar
  • 1,099
1 vote
1 answer
133 views

Why listdescriptors yields different xpub keys for a brand new wallet in bitcoin core

I noticed that if I listdescriptors true immediately after creating a brand new wallet, it would list 8 descriptors that all use the same xprv key. However, listdescriptors false would list 8 xpub ...
Meglio's user avatar
  • 299
0 votes
1 answer
41 views

Are fees smaller to transact to addresses generated from a zpub master public keys compared to xpub?

Will it affect the fees in any way when one sends money to an address generated from zpub master public key compared the xpub? What might also be part of this question is, understanding whether it is ...
Meglio's user avatar
  • 299
2 votes
1 answer
461 views

Calculating addresses from Bitcoin transaction data

What would be the easiest way to retrieve addresses that are used in specific transaction? For instance, if you look at following transaction which is retrieved by getblock of JSON RPC with argument ...
xor's user avatar
  • 97
1 vote
1 answer
384 views

How to generate a bitcoin public key from an existing private key using openssl?

I want to generate bitcoin priv/pub key manually. I generated random binary numbers by flipping some coins and converted them to hex. Now,I got a bitcoin private key in hex:...
MonKong's user avatar
  • 53
6 votes
2 answers
1k views

Is a P2TR address a compressed public key?

From what I understand, a public key can be compressed from 64 bytes into 32 bytes, but an additional byte is needed for the sign, so it usually winds up being 33 bytes total. But P2TR addresses only ...
Hunter Beast's user avatar
0 votes
1 answer
708 views

How to check whether a hex string is a key or an address and how to import it?

So after long digging I finally found my private key which is in hex format. When I paste it in one website it does validate the address, it is a legacy address, it is in hex format, but it's 66 ...
Nikolai Tringov's user avatar
0 votes
1 answer
164 views

Bitcoin Core shows addresses that Electrum says don't belong to my wallet (imported MPK via EPS). What is going on?

I got a full node (pruned) up and running with Bitcoin Core via Tor. I installed Electrum Personal Server (EPS) and connected my hardware wallet with Electrum via Tor. I generated a watch-only wallet ...
Pimlam's user avatar
  • 1
-2 votes
1 answer
94 views

Potential new BIP Proposal?

I’ve been working on a project which will help manufacturers of physical products and NFT makers to distribute their NFTs in the real world. My solution is to box up a paper wallet loaded with the NFT....
Adriano Mancino's user avatar
1 vote
0 answers
326 views

Bitcoin script and unsecure ScriptPubKey

The following is taken from problem 3 in HW1 of CS 251 Stanford's course (https://cs251.stanford.edu/syllabus.html). Alice is on a backpacking trip and is worried about her devices containing private ...
Mattiatore's user avatar
1 vote
1 answer
574 views

replicating Hash160 with SHA256/RIPEMD160

I have a dumb question about Hash160 (specifically, going from a public key to Hash160). If I take a public key: ...
FKAjasmine's user avatar
1 vote
1 answer
145 views

How to add multihreading to a continuous SECP256K1 Python function?

I have an infinite loop Python function for measuring how fast are SECP256K1 public Keys are generated. The script: from time import time a = 0 b = 7 n = ...
Emma Lincoln's user avatar
2 votes
2 answers
83 views

What is the difference between a push-based transaction model and a pull-based transaction model?

What is a pull-based transaction model? What is a push-based transaction model? I've heard people describe bitcoin as a push-based transaction model. I've heard people describe traditional financial ...
Michael Altfield's user avatar
1 vote
0 answers
129 views

Uncompressed to compressed bitcoin public key with public address?

Is there a script in which i could convert multiple bitcoin uncompressed public keys to compressed and also get public address as well? I search the web with no luck. Thanks in advance!
lepy's user avatar
  • 45
-1 votes
2 answers
49 views

Why is it that some software crypto wallets are restricted to certain networks only?

My basic understanding so far is that crypto wallets are nothing more than a collection of the owner/user's public keys derived from the unique seed or mnemonic using different hashing algorithms. If ...
kenta_desu's user avatar
2 votes
1 answer
206 views

Were uncompressed public keys always supported by Bitcoin?

I was wondering when compressed public keys were introduced to bitcoin, then I saw this quote from this answer: The original Bitcoin software didn't use compressed keys only because their use was ...
Darius's user avatar
  • 789

1
2 3 4 5
11