Skip to content

Commit

Permalink
Added a local seid chain object for usage with viem
Browse files Browse the repository at this point in the history
  • Loading branch information
codebycarson committed Jan 6, 2025
1 parent 489556b commit 021948f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/evm/src/viem/chain.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { defineChain } from 'viem';

export const seiLocal = defineChain({
id: 713715,
name: 'Sei Local',
nativeCurrency: { name: 'Sei', symbol: 'SEI', decimals: 18 },
rpcUrls: {
default: {
http: ['http://localhost:8545']
}
}
});
2 changes: 2 additions & 0 deletions packages/evm/src/viem/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ export * from './pointerPrecompile';
export * from './pointerviewPrecompile';
export * from './stakingPrecompile';
export * from './wasmPrecompile';

export * from './chain';

0 comments on commit 021948f

Please sign in to comment.