The crypto wallet contains two important pairs: secret keys and public keys. The public key is taken from the private key and acts as the address used to send the crypto to the wallet. A crypto wallet’s security depends on how the private key is stored.
https://www.mobiloitte.us/crypto-wallet-development