Deploy from your browser (Remix)
No local toolchain required — compile and deploy a contract to Sei testnet straight from the browser. The Remix sandbox below preloads a minimalCounter.sol.
First, add Sei testnet to your wallet:
Then in Remix: compile under the Solidity Compiler tab, open Deploy & Run, set Environment to Injected Provider — MetaMask (or External HTTP Provider pointed at https://evm-rpc-testnet.sei-apis.com), and click Deploy. Sei has instant finality, so the deployment confirms in well under a second.
Deploying with viem or ethers
Deploying with Foundry
Foundry works against Sei with the standard--rpc-url flag.
Deploying with Hardhat
Add Sei networks to yourhardhat.config.ts (Hardhat 3). Keep the toolbox in the plugins array — it ships with projects created by npx hardhat --init and provides Hardhat Ignition for deployments:
ignition/modules/MyContract.ts:
Verifying Contracts
Sei’s block explorer is Seiscan. The recommended verification method is Sourcify — no API key required.Foundry
Verify after deployment:--chain-id 1328 and --rpc-url https://evm-rpc-testnet.sei-apis.com.
Hardhat
If you use a Hardhat toolbox (as in the config above),hardhat-verify is already bundled and active — skip ahead to the verify command. Without a toolbox, install the plugin:
plugins array in hardhat.config.ts — Sourcify verification is enabled by default in hardhat-verify and needs no API key:
npx hardhat verify without the sourcify subtask attempts verification on all enabled providers (Etherscan, Blockscout, and Sourcify) in a single run.
Network Reference
| Network | Chain ID | RPC | Explorer |
|---|---|---|---|
| Mainnet | 1329 | https://evm-rpc.sei-apis.com | seiscan.io |
| Testnet | 1328 | https://evm-rpc-testnet.sei-apis.com | testnet.seiscan.io |
| Devnet | 713715 | https://evm-rpc-arctic-1.sei-apis.com | — |