A public key is derived from the private key and is used to verify transactions and to generate a wallet address.
Unlike the private key, the public key can be freely shared – it lets others confirm that a transaction you signed is genuine, without you ever exposing your private key.
The actual wallet address (the string you share to receive funds) is typically generated from the public key via hash functions.
The interplay of a secret private key and a public key is called asymmetric cryptography and underpins the security of virtually every blockchain system.


