keys

public key

A cryptographic key mathematically derived from your private key. It can be shared publicly and is used to generate your Bitcoin address and verify transaction signatures.

The public key is generated from the private key using elliptic curve cryptography, specifically the secp256k1 curve. This is a one-way operation: you can derive the public key from the private key, but it is mathematically infeasible to reverse the process.

Your Bitcoin address is a compressed and hashed version of your public key. When someone sends Bitcoin to your address, they are locking funds that only your private key can unlock.

When you spend Bitcoin, your wallet broadcasts your public key along with a digital signature. Anyone on the network can use your public key to verify that the signature is valid, confirming the transaction was authorized by the private key holder, without ever learning the private key itself.

Frequently asked questions

What is a Bitcoin public key?

A public key is a cryptographic value derived from your private key. It can be safely shared and is used to generate Bitcoin addresses and verify that transactions were signed by the correct private key.

Is a public key the same as a Bitcoin address?

Not exactly. A Bitcoin address is derived from the public key through hashing. It is a shorter, more convenient representation. They are related but not identical.

Is it safe to share my public key?

Yes. Sharing your public key or Bitcoin address does not compromise your security. The mathematical relationship between public and private keys is one-way. No one can derive your private key from your public key.