date
Jul 9, 2024
slug
read-data-from-solana
status
Published
tags
Solana
NodeJs
summary
• SOL is the name of Solana’s native token. Each SOL is made from 1 billion Lamports.
• Accounts store tokens, NFTs, programs, and data. For now, we’ll focus on accounts that store SOL.
• Addresses point to accounts on the Solana network. Anyone can read the data at a given address. Most addresses are also public keys.
type
Post
- Các khái niệm
- Accounts
- SOL
- Other tokens, like USDC
- NFTs
- Programs, like the film review program we make in this course!
- Program data, like a film review for the program above!
- Get balance
All data stored on Solana is stored in accounts. Accounts can store:
b. SOL
SOL is Solana's native token - SOL is used to pay transaction fees, pay rent for accounts, and more. SOL is sometimes shown with the ◎ symbol. Each SOL is made from 1 billion Lamports.
In the same way that finance apps typically do math in cents (for USD) and pence (for GBP), Solana apps typically transfer, spend, store, and handle SOL as Lamports, only converting to full SOL to display to users.
2.Reading from the Solana Blockchain