Skip to main content
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 memory for temporary data, calldata for 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

  1. Full Tutorials - Start with the EVM development guides
  2. Architecture Details - Review the Sei Giga Overview
  3. Precompiles - Explore native precompiles for advanced features