Browse all Solana articles.
9 min read
Implementing Token Metadata with Metaplex We introduced the Metaplex metadata standard in the previous tutorial. In this one, we’ll create an SPL token and attach metadata to it using the Metaplex...
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. Instead, we identified each token by its mint...
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. Users can create accounts, check...
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. The sale runs until a...
18 min read
How the SPL Token Works Solana Program Library Token (SPL Token) is Solana's standard for tokens: how to create tokens and how they should behave. It is Solana’s equivalent to Ethereum’s token...
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...
6 min read
Reading Another Anchor Program's Account Data On Chain In Solidity, reading another contract's storage requires calling a function or the storage variable being public. In Solana, an off-chain client...
3 min read
Multicall in Solana: Batching Transactions and Transaction Size Limit !Hero image showing Solona transaction batch and transaction size limit Solana has multicall built in In Ethereum, we use the...
6 min read
Cost of storage, maximum storage size, and account resizing in Solana !Solana account rent When allocating storage space, the payer must pay a certain number of SOL per byte allocated. Solana calls...
5 min read
Solana counter tutorial: reading and writing data to accounts !Writing Data to accounts in Anchor Solana In our previous tutorial, we discussed how to initialize an account so that we could persist...
4 min read
#[derive(Accounts)] in Anchor: different kinds of accounts in Solana Anchor is an attribute-like macro for structs that holds references to all the accounts the function will access during its...
4 min read
Creating "mappings" and "nested mapping" in Solana !"Mappings" and "Nested Mappings" in Solana In the previous tutorials, the parameter was always empty. If we put data into it, it behaves like a key...