sei

Deploy and interact with smart contracts on Sei's parallelized EVM using precompiles and pointer contracts.

6|20|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/andresdefi/cryptoskills --skill sei-andresdefi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sei
Source: https://github.com/andresdefi/cryptoskills/tree/main/skills/sei
Command: npx skills add https://github.com/andresdefi/cryptoskills --skill sei-andresdefi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI agents often have outdated or incorrect knowledge about Sei, such as treating it as a pure Cosmos chain, using the deprecated native DEX module, or compiling with the wrong EVM version. This Skill provides accurate, current guidance for building on Sei's parallelized EVM, including chain configuration, precompile contracts, and EVM-CosmWasm interoperability. ## Core Features & Use Cases - Chain Configuration: Provides chain IDs (1329 mainnet, 1328 testnet), RPC endpoints, explorers, and ready-to-use Foundry, Hardhat, and viem setups with the required paris EVM target. - Precompile Contracts: Documents all nine precompiles (Bank, Wasm, JSON, Address, Staking, Governance, Distribution, IBC, Pointer) with Solidity interfaces and call restrictions. - EVM-CosmWasm Interop: Explains pointer contracts for CW20/ERC20 token bridging, associated balances for native Cosmos tokens, and Wasm precompile queries. - Use Case: Deploy an ERC20 token to Sei mainnet with Foundry, verify it on Seitrace, then query a CW20 token's balance from Solidity via its pointer contract. ## Quick Start Ask the agent to deploy a Solidity contract to Sei testnet using Foundry with the correct paris EVM version and chain ID 1328.

Frequently Asked Questions about sei

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a smart contract to Sei?

Deploy with standard Foundry or Hardhat using chain ID 1329 for mainnet or 1328 for testnet. Set evmVersion to "paris" in your compiler config, since Sei does not support the PUSH0 opcode from Shanghai.

Why does my Sei deployment fail with invalid opcode PUSH0?

Sei's EVM targets the paris hard fork and does not support PUSH0, which Solidity 0.8.20+ includes by default. Set evm_version = "paris" in foundry.toml or evmVersion: "paris" in hardhat.config.ts, then clean and recompile.

What are Sei precompile contracts and how do I call them?

Precompiles are built-in contracts at fixed addresses (0x...1001 through 0x...100b) exposing Cosmos functionality like staking, governance, IBC, and address conversion to Solidity. Call them with CALL only; DELEGATECALL and STATICCALL fail for state-changing operations.

How do pointer contracts work for CW20 and ERC20 tokens on Sei?

Pointer contracts are lightweight proxies letting a CW20 token be accessed as an ERC20 in the EVM, and vice versa. Query the Pointer precompile at 0x...100b with getPointer to find a token's pointer address, or register one via the seid CLI.

Does Sei support standard Ethereum tooling like Foundry and viem?

Yes, Sei EVM is bytecode-compatible with Ethereum, so Foundry, Hardhat, viem, and ethers.js work without custom plugins. The only required change is setting the EVM version to paris and using Sei's chain IDs and RPC endpoints.

Why is my SEI token amount off by 10^12 between EVM and Cosmos?

SEI uses 18 decimals in the EVM but 6 decimals (usei) in the Cosmos bank module. The chain converts automatically across precompiles and pointer contracts, so avoid manual conversion and use bigint for all amounts.