Contracts on the EVM
Solidity compiles to EVM bytecode deployed at an address. Its ABI describes the callable functions and events so wallets and libraries like ethers.js can encode calls. State lives in contract storage; reads are free, writes cost gas.
- •view/pure calls: no gas, no transaction.
- •state-changing calls: signed transaction + gas.
- •events: cheap logs your UI can index.
Token standards
ERC-20 defines fungible tokens (balanceOf, transfer, approve). ERC-721 and ERC-1155 cover NFTs and multi-tokens. Standards are interfaces, not enforcement, so always read the code you interact with.
Solana's model
Solana separates code from data: programs are stateless executables, and every piece of state is a separate account passed into the instruction. SPL Token is a single program managing all token accounts.
Your staking lab contract
SimpleStaking accepts native ETH on Base Sepolia, accrues linear rewards over time, and pays out from an owner-funded reward pool. In the Staking Lab you deploy it, fund it, stake, claim and unstake while the checklist verifies each step.
