Solana
Browse all Solana articles.
9 min read
Implementing Token Metadata with Metaplex
We introduced the Metaplex metadata standard in the previous tutorial.
13 min read
How Metaplex Metadata for Tokens Works
We have deployed and interacted with SPL tokens, but none of them had a name, symbol, or any metadata attached.
7 min read
Basic Bank Tutorial with SPL Tokens and Anchor
In this tutorial, we’ll build a simple bank program on Solana with the basic features you'd expect from a regular bank.
10 min read
Token Sale with Total Supply Tutorial
A token sale program is a smart contract that sells a specific token, usually in exchange for a native token like SOL, at a fixed price.
15 min read
Transferring SPL Tokens with Anchor and Web3.js
In the previous tutorial, we learned how SPL tokens work. In this tutorial, we’ll implement a full SPL token lifecycle: create, mint, transfer, and query…
18 min read
SPL Token Explained: How Tokens Work on Solana
SPL Token is Solana's answer to ERC-20 and ERC-721. Learn how one program serves every token and how mint, token, and associated token accounts work.
3 min read
Cross Program Invocation In Anchor
Cross Program Invocation (CPI) is Solana's terminology for a program calling the public function of another program.
10 min read
Initializing Accounts in Solana and Anchor
Up until this point, none of our tutorials have used "storage variables" or stored anything permanent.
5 min read
Read account data with Solana web3 js and Anchor
This tutorial shows how to read account data directly from the Solana web3 Javascript client so that a web app could read it on the frontend.
5 min read
Solana counter tutorial: reading and writing data to accounts
In our previous tutorial, we discussed how to initialize an account so that we could persist data in storage.
4 min read
Creating "mappings" and "nested mapping" in Solana
In the previous tutorials, the seeds=[] parameter was always empty. If we put data into it, it behaves like a key or keys in a Solidity mapping.
6 min read
Cost of storage, maximum storage size, and account resizing in Solana
When allocating storage space, the payer must pay a certain number of SOL per byte allocated. Solana calls this the "rent".