Skip to main content
Try out the RareSkills ZK AI Tutor!

Solana

Browse all Solana articles.

5 min read

Deleting and Closing Accounts and Programs in Solana

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 onSep 13, 2024
Read Article

8 min read

Introduction to Solana Compute Units and Transaction Fees

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 onAug 15, 2024
Read Article

4 min read

Reading an account balance in Anchor: address(account).balance in Solana

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 onAug 15, 2024
Read Article

4 min read

Solana logs, "events," and transaction history

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 onAug 30, 2024
Read Article

9 min read

Solana Sysvars Explained

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 onAug 28, 2024
Read Article

4 min read

Function modifiers (view, pure, payable) and fallback functions in Solana: why they don't exist

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 onAug 15, 2024
Read Article

5 min read

Solana Anchor Program IDL

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 onAug 18, 2024
Read Article

4 min read

Require, Revert, and Custom Errors in Solana

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 onAug 15, 2024
Read Article

4 min read

Solana programs are upgradeable and do not have constructors

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 onAug 15, 2024
Read Article

5 min read

Visibility and "inheritance" in Rust and Solana

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 onAug 15, 2024
Read Article

3 min read

Rust function-like procedural Macros

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 onAug 15, 2024
Read Article

5 min read

Basic Rust for Solidity Developers

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 onAug 15, 2024
Read Article