date
Jul 9, 2024
slug
cryptography-and-solana-network
status
Published
tags
Solana
summary
• A keypair is a matching pair of public key and secret key.
• The public key is used as an “address” that points to an account on the Solana network. A public key can be shared with anyone.
• The secret key is used to verify authority over the account. As the name suggests, you should always keep secret keys secret.
• @solana/web3.js provides helper functions for creating a brand new keypair, or for constructing a keypair using an existing secret key.
type
Post
- Using @solana/web3.js to make a keypair
- Lab
- Install