Concept map
| On EVM chains | On Solana | Read more |
|---|---|---|
| Smart contract | Program: stateless code, usually written in Rust, upgradeable by its upgrade authority unless that is removed | Programs |
| Contract storage | Accounts owned by the program, passed into each instruction | Accounts |
mapping keys, CREATE2 addresses | Program-derived addresses (PDAs): addresses derived from seeds that only the program can sign for | PDAs |
call to another contract | Cross-program invocation (CPI) | CPI |
| EOA and secp256k1 key | Ed25519 keypair; the address is the base58 public key | Wallets & signatures |
msg.sender | The signers listed in the transaction | Transactions |
| ERC-20 contract per token | One shared Token program; each token is a mint account, and balances live in token accounts | Tokens |
| ERC-721 | Metaplex Token Metadata, on top of the Token program | Metaplex |
| Gas and gas price | A base fee per signature, plus an optional priority fee per compute unit | Fees |
| ERC-4337 paymasters | A separate fee payer is built in: any account can sign as fee payer | Fee sponsorship |
| Storage gas | A refundable deposit per account, proportional to its size | Rent |
| Account nonce | A recent blockhash that expires after about 30 seconds (150 blocks), or a durable nonce | Confirmation & finality |
| Block confirmations | Commitment levels: processed, confirmed, finalized | Confirmation & finality |
| ethers.js or viem | @solana/kit for TypeScript; Rust and Python SDKs | SDKs |
| Hardhat or Foundry | Anchor for programs; LiteSVM and Surfpool for testing | Write onchain programs |
| Sepolia | Devnet | Clusters |
Migration guides
Detailed guides for EVM developers live on solana.com:A complete Solana guide for EVM developers
The differences between the EVM and the SVM, then build a program.
Client differences
How client code differs between the SVM and the EVM.
All EVM guides
Accounts, programs, consensus, token standards, and account abstraction.