Skip to content
Most of what you know from Ethereum and other EVM chains carries over, but one idea changes how you design everything: on Solana, programs are stateless. A smart contract on an EVM chain stores its own state. A Solana program keeps its state in separate accountsAccountsEverything on Solana (balances, tokens, programs, app data) lives in accounts: records at an address, each with an owner that is allowed to change it.Learn more (Accounts: Everything on Solana (balances, tokens, programs, app data) lives in accounts: records at an address, each with an owner that is allowed to change it.) that it owns, and every transaction lists the accounts it will read and write up front. That is what lets the network run transactions that touch different accounts in parallel.

​Concept map

On EVM chainsOn SolanaRead more
Smart contractProgram: stateless code, usually written in Rust, upgradeable by its upgrade authority unless that is removedPrograms
Contract storageAccounts owned by the program, passed into each instructionAccounts
mapping keys, CREATE2 addressesProgram-derived addresses (PDAs): addresses derived from seeds that only the program can sign forPDAs
call to another contractCross-program invocation (CPI)CPI
EOA and secp256k1 keyEd25519 keypair; the address is the base58 public keyWallets & signatures
msg.senderThe signers listed in the transactionTransactions
ERC-20 contract per tokenOne shared Token program; each token is a mint account, and balances live in token accountsTokens
ERC-721Metaplex Token Metadata, on top of the Token programMetaplex
Gas and gas priceA base fee per signature, plus an optional priority fee per compute unitFees
ERC-4337 paymastersA separate fee payer is built in: any account can sign as fee payerFee sponsorship
Storage gasA refundable deposit per account, proportional to its sizeRent
Account nonceA recent blockhash that expires after about 30 seconds (150 blocks), or a durable nonceConfirmation & finality
Block confirmationsCommitment levels: processed, confirmed, finalizedConfirmation & finality
ethers.js or viem@solana/kit for TypeScript; Rust and Python SDKsSDKs
Hardhat or FoundryAnchor for programs; LiteSVM and Surfpool for testingWrite onchain programs
SepoliaDevnetClusters

​Migration guides

Detailed guides for EVM developers live on solana.com:

​Start building

Every tutorial explains Solana concepts at the step that uses them, so you can start with a job, such as accepting dollar payments. To write your own program, start with Build your first program.