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
  1. Các khái niệm
    1. Accounts
    2. All data stored on Solana is stored in accounts. Accounts can store:
      • 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!
      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
    3. Get balance

“Success is not final, failure is not fatal: it is the courage to continue that counts.“

Winston Churchill


© Hiếu Trần 2020 - 2025

Tip: Use console.table() for better array logging!
Anime Character