Solana
Browse all Solana articles.

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...
Last updated on Oct 13, 2025
18 min read
How the SPL Token Works
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...
Last updated on Oct 13, 2025
Read account data with Solana web3 js and Anchor !Read Account Data 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...
Last updated on Nov 7, 2024
10 min read
Initializing Accounts in Solana and Anchor
Initializing Accounts in Solana and Anchor !Storage in Solana Up until this point, none of our tutorials have used "storage variables" or stored anything permanent. In Solidity and Ethereum, a more...
Last updated on Sep 28, 2024
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...
Last updated on Sep 28, 2024
Deleting and Closing Accounts and Programs in Solana !Hero image showing Close accounts and programs In the Anchor framework for Solana, is the opposite of (initializing an account in Anchor) — it...
Last updated on Sep 13, 2024
3 min read
Cross Program Invocation In Anchor
Cross Program Invocation In Anchor Cross Program Invocation (CPI) is Solana's terminology for a program calling the public function of another program. We've already done CPI before when we sent a...
Last updated on Sep 9, 2024![#[derive(Accounts)] in Anchor: different kinds of accounts](https://cdn.rareskills.io/wp-content/uploads/2025/08/blog_post_image_light-1.webp)
#[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...
Last updated on Sep 9, 2024
Init_if_needed in Anchor and the Reinitialization Attack !Hero image showing Anchor init_if_needed In previous tutorials, we've had to initialize an account in a separate transaction before we can...
Last updated on Sep 7, 2024
Understanding Account Ownership in Solana: Transferring SOL out of a PDA !Hero image showing Solona account ownership The owner of an account in Solana is able to reduce the SOL balance, write data...
Last updated on Sep 6, 2024
The Solana clock and other "block" variables !solana clock Today we will cover the analogs of all the block variables from Solidity. Not all of them have 1-1 analogs. In Solidity, we have the...
Last updated on Sep 5, 2024
PDA (Program Derived Address) vs Keypair Account in Solana !Hero image showing PDA (Program Derived Address v.s. Keypair accounts) A program derived address (PDA) is an account whose address is...
Last updated on Sep 5, 2024