Documentation Index
Fetch the complete documentation index at: https://seilabs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
This is a sneak peek at the patterns and optimizations developers should consider when building on Sei Giga. For current EVM development tutorials, check out the EVM development guides.
Why Build on Sei Giga?
- Familiar Tools: Full EVM compatibility—use existing Ethereum tooling
- Parallel Execution: Transactions touching different state run simultaneously
- Lower Costs: Efficient architecture means cheaper transactions
- Native Precompiles: Access to staking, and more from Solidity
Key Development Patterns
Pattern 1: User-Isolated State
Sei Giga’s parallel execution engine rewards contracts with isolated state. When users’ operations don’t touch shared state, they execute simultaneously.Pattern 2: Struct Packing
Pack struct variables to minimize storage slots and reduce gas costs.Pattern 3: Event-Driven Architecture
Store historical data in events instead of storage to reduce costs.Gas Optimization Tips
Quick Wins:
- Use
memoryfor temporary data,calldatafor read-only parameters - Cache array lengths in loops:
uint256 len = arr.length; - Use
unchecked { i++; }in loops where overflow is impossible - Batch operations to amortize base transaction costs
Native Precompiles
Sei Giga will also provide precompiles for direct access to chain features from Solidity. See the Precompiles documentation for full details.Development Checklists
Parallel Execution Checklist
- Isolate state by user/entity
- Avoid global counters and shared state
- Use mappings over arrays for lookups
Gas Optimization Checklist
- Pack structs to minimize storage slots
- Use events for historical data
- Cache array lengths in loops
- Batch operations when possible
Next Steps
- Full Tutorials - Start with the EVM development guides
- Architecture Details - Review the Sei Giga Overview
- Precompiles - Explore native precompiles for advanced features