Reference
Web3 developer quick reference & tools hub
Quick Reference Dictionary
Web3 concepts, terms, error codes & gas tips for quick lookup.
Basic Terms
Chain, contract & beta terms with plain explanations
- EVM
- Ethereum Virtual Machine, runtime for smart contracts
- Layer2
- Scaling solutions built on L1 (Rollups, etc.)
- RPC
- Remote procedure call, interface to node
- Gas
- Fee for executing transactions/contracts
- Nonce
- Transaction count per account, prevents replay
- ABI
- Application Binary Interface, describes contract methods/events
- ERC20/721/1155
- Token & NFT standards
- 重入 (Reentrancy)
- Contract called again before state update completes
Error Codes
Common RPC, contract & API errors
- -32601
- Method not found
- -32000
- Invalid request / insufficient resources
- revert
- Contract execution failed (require/assert)
- 400/401/429
- API: bad request, unauthorized, rate limit
Gas Optimization
Key points for saving gas in contracts & frontend
- immutable / constant
- Use immutable for read-only vars to save storage reads
- calldata
- Prefer calldata over memory for read-only params
- 批量操作
- Batch tx or use multicall on frontend
- Gas Price
- Dynamic estimation or EIP-1559 maxFeePerGas
Small Tools
Unit conversion, ABI encode/decode, address validation (use with Console or API docs).
- • Wei ↔ ETH、Gwei 换算
- • ABI 编码/解码在线工具
- • 地址格式校验(EIP-55 checksum)