> ## Documentation Index
> Fetch the complete documentation index at: https://solana.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# Coming from EVM

> How EVM concepts map onto Solana: accounts vs contract storage, programs vs contracts, fees, and finality.

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
<span className="sol-chip" data-concept="account"><Tooltip headline="Accounts" tip="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." cta="Learn more" href="/developers/docs/core/accounts">accounts</Tooltip><span className="nojs-only"> ([Accounts](/developers/docs/core/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.)</span></span> 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 chains                        | On Solana                                                                                                     | Read more                                                         |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| Smart contract                       | Program: stateless code, usually written in Rust, upgradeable by its upgrade authority unless that is removed | [Programs](/developers/docs/core/programs)                                   |
| Contract storage                     | Accounts owned by the program, passed into each instruction                                                   | [Accounts](/developers/docs/core/accounts)                                   |
| `mapping` keys, `CREATE2` addresses  | Program-derived addresses (PDAs): addresses derived from seeds that only the program can sign for             | [PDAs](/developers/docs/core/pda)                                            |
| `call` to another contract           | Cross-program invocation (CPI)                                                                                | [CPI](/developers/docs/core/cpi)                                             |
| EOA and secp256k1 key                | Ed25519 keypair; the address is the base58 public key                                                         | [Wallets & signatures](/developers/docs/core/wallets)                        |
| `msg.sender`                         | The signers listed in the transaction                                                                         | [Transactions](/developers/docs/core/transactions)                           |
| ERC-20 contract per token            | One shared Token program; each token is a mint account, and balances live in token accounts                   | [Tokens](/developers/docs/tokens)                                            |
| ERC-721                              | Metaplex Token Metadata, on top of the Token program                                                          | [Metaplex](/developers/docs/tokens/metaplex)                                 |
| Gas and gas price                    | A base fee per signature, plus an optional priority fee per compute unit                                      | [Fees](/developers/docs/core/fees)                                           |
| ERC-4337 paymasters                  | A separate fee payer is built in: any account can sign as fee payer                                           | [Fee sponsorship](/developers/docs/core/fees/fee-sponsorship)                |
| Storage gas                          | A refundable deposit per account, proportional to its size                                                    | [Rent](/developers/docs/core/rent)                                           |
| Account nonce                        | A recent blockhash that expires after about 30 seconds (150 blocks), or a durable nonce                       | [Confirmation & finality](/developers/docs/core/transactions/confirmation)   |
| Block confirmations                  | Commitment levels: processed, confirmed, finalized                                                            | [Confirmation & finality](/developers/docs/core/transactions/confirmation)   |
| ethers.js or viem                    | `@solana/kit` for TypeScript; Rust and Python SDKs                                                            | [SDKs](/developers/docs/clients)                                             |
| Hardhat or Foundry                   | Anchor for programs; LiteSVM and Surfpool for testing                                                          | [Write onchain programs](/developers/docs/programs)                          |
| Sepolia                              | Devnet                                                                                                        | [Clusters](/developers/docs/references/clusters)                             |

## Migration guides

Detailed guides for EVM developers live on solana.com:

<Columns cols={2}>
<Card title="A complete Solana guide for EVM developers" icon="book-open" href="https://solana.com/developers/migrate-to-solana/complete-guide">
The differences between the EVM and the SVM, then build a program.
</Card>
<Card title="Client differences" icon="code" href="https://solana.com/developers/migrate-to-solana/client-differences">
How client code differs between the SVM and the EVM.
</Card>
<Card title="All EVM guides" icon="list" href="https://solana.com/developers/migrate-to-solana/ethereum">
Accounts, programs, consensus, token standards, and account abstraction.
</Card>
</Columns>

## 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](/developers/docs/payments/checkout).
To write your own program, start with
[Build your first program](/developers/docs/programs/build-first-program).
