A wallet is a key management tool that contains a pair of private and public keys, which is a one-to-one correspondence.
The user signs the transaction with the private key, thereby proving that the user has the output rights of the transaction, and the output transaction information is stored in the blockchain.
The public key is used to verify the signature of the private key. The private key and the public key are paired. A private key signature data can only be verified by the corresponding public key.
The private key is very important, equivalent to the actual bank card password. Once leaked, it will directly cause the loss of digital assets. So be sure to keep your private key.