Browse all Solana articles.

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
Introduction to Solana Compute Units and Transaction Fees !Solana Compute Units In Ethereum, the price of a transaction is computed as $\text{gasUsed} \times \text{gasPrice}$. This tells us how much...
Last updated on Aug 15, 2024
Reading an account balance in Anchor: address(account).balance in Solana !Solona and Anchor get account balance Reading an account balance in Anchor Rust To read the Solana balance of an address...
Last updated on Aug 15, 2024
Solana logs, "events," and transaction history !Solana logs, "events," and transaction history Solana programs can emit events similar to how Ethereum emits events, though there are some differences...
Last updated on Aug 30, 2024
9 min read
Solana Sysvars Explained !Solana Sysvars In Solana, sysvars are read-only system accounts that give Solana programs access to the blockchain state as well as network information. They are similar to...
Last updated on Aug 28, 2024
4 min read
Function modifiers (view, pure, payable) and fallback functions in Solana: why they don't exist !Hero image showing view, pure, payable, fallback, and receive in Solona Solana does not have fallback...
Last updated on Aug 15, 2024
5 min read
Solana Anchor Program IDL !Hero Image showing Interface Definition Language The IDL (Interface Definition Language) is a JSON file that describes how to interact with a Solana program. It is...
Last updated on Aug 18, 2024
Require, Revert, and Custom Errors in Solana !Hero Image showing Error code and Macro In Ethereum, we often see a require statement restricting the values a function argument can have. Consider the...
Last updated on Aug 15, 2024
Solana programs are upgradeable and do not have constructors !Hero image showing Anchor deploy In this tutorial we will peek behind the scenes of anchor to see how a Solana program gets deployed....
Last updated on Aug 15, 2024
Visibility and "inheritance" in Rust and Solana !Rust function visibillity Today we will be learning how Solidity's function visibility and contract inheritance can be conceptualized in Solana. There...
Last updated on Aug 15, 2024
3 min read
Rust function-like procedural Macros !Rust function-like procedural Macros This tutorial explains the distinction between functions and function like macros. For example, why does have an exclamation...
Last updated on Aug 15, 2024
5 min read
Basic Rust for Solidity Developers !Hero image showing Rust : the easy parts This tutorial goes over the most commonly used syntax in Solidity and demonstrates the equivalent in Rust. If you want a...
Last updated on Aug 15, 2024