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
Start with the complete guide, then open the standard you are porting.Complete guide
Map accounts, programs, transactions, fees, and tooling to Solana, then port a
Solidity contract.
ERC standards
Find the Solana equivalent of ERC20, ERC721, ERC4337, and nine other standards,
with a guide for each.