Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sei #2349

Merged
merged 8 commits into from
Jun 1, 2024
Merged

Sei #2349

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/witty-beans-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added sei chain
24 changes: 24 additions & 0 deletions src/chains/definitions/sei.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { defineChain } from '../../utils/chain/defineChain.js'

export const sei = /*#__PURE__*/ defineChain({
id: 1329,
name: 'Sei Network',
nativeCurrency: { name: 'Sei', symbol: 'SEI', decimals: 18 },
rpcUrls: {
default: {
http: ['https://evm-rpc.sei-apis.com/'],
webSocket: ['wss://evm-ws.sei-apis.com/'],
},
},
blockExplorers: {
default: {
name: 'Seitrace',
url: 'https://seitrace.com',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ export { sapphire } from './definitions/sapphire.js'
export { sapphireTestnet } from './definitions/sapphireTestnet.js'
export { scroll } from './definitions/scroll.js'
export { scrollSepolia } from './definitions/scrollSepolia.js'
export { sei } from './definitions/sei.js'
export { seiDevnet } from './definitions/seiDevnet.js'
export { sepolia } from './definitions/sepolia.js'
export { shimmer } from './definitions/shimmer.js'
Expand Down
Loading