Connecting Feeds...Syncing verified blockchain feeds (CoinGecko & RPC)...
BlockToolsHubCrypto Intelligence
Solana8 min read

Solana Account Model vs Ethereum EVM: Code/Data Separation and Rent Exemption

An architectural comparison between EVM smart contracts (monolithic code + state storage) and Solana programs (stateless code + data accounts).

Darren Chen(Solana Core Systems Engineer)
•
Updated 2025-03-01
Executive Summary

Why Solana programs are completely stateless, how Program Derived Addresses (PDAs) manage state, and why rent exemption lamports exist.

1. Separation of Executable Code and Mutable State

On Ethereum, an ERC-20 contract stores its code and balances inside the same monolithic state tree. On Solana, programs are completely stateless and executable.

Token balances are stored in external data accounts owned by the Token Program. Accounts must maintain a minimum Lamport balance (Rent Exemption) to pay for validator storage.

Interactive Tools Related to this Article

Audited Open SourceTrezor Safe 5

Secure your crypto offline with Trezor Safe 5

Full open-source firmware, secure element protection, and intuitive touchscreen control. Never store your seed phrase on a phone or laptop.

Affiliate partner: BlockToolsHub may earn a small referral commission at no additional cost to you.

Frequently Asked Questions

Yes! When an account is closed on Solana, its rent-exempt Lamport deposit is refunded back to the designated recipient wallet.