Skip to content

Commit

Permalink
Merge pull request #740 from chainapsis/delivan/sei-evm
Browse files Browse the repository at this point in the history
Add Sei EVM
  • Loading branch information
delivan committed Jul 27, 2024
2 parents 3103306 + d24ea80 commit 4857234
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
37 changes: 37 additions & 0 deletions evm/eip155:1329.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"rpc": "https://evm-rpc.sei-apis.com",
"nodeProvider": {
"name": "Sei",
"email": "[email protected]",
"website": "https://sei.io"
},
"chainId": "eip155:1329",
"chainName": "Sei EVM",
"chainSymbolImageUrl": "https://raw.githubusercontent.com/chainapsis/keplr-chain-registry/main/images/eip155:1329/chain.png",
"bip44": {
"coinType": 60
},
"stakeCurrency": {
"coinDenom": "SEI",
"coinMinimalDenom": "sei-native",
"coinDecimals": 18,
"coinGeckoId": "sei-network"
},
"currencies": [
{
"coinDenom": "SEI",
"coinMinimalDenom": "sei-native",
"coinDecimals": 18,
"coinGeckoId": "sei-network"
}
],
"feeCurrencies": [
{
"coinDenom": "SEI",
"coinMinimalDenom": "sei-native",
"coinDecimals": 18,
"coinGeckoId": "sei-network"
}
],
"features": []
}
Binary file added images/eip155:1329/chain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ export const validateCosmosChainInfo = async (
);

if (chainInfo.evm) {
if (chainInfo.evm.chainId === 1329) {
throw new Error(
"Cannot set `evm` field for Sei chain. There is a config of EVM version of Sei chain in /evm/eip155:1329.json",
);
}

await checkEvmRpcConnectivity(chainInfo.evm.chainId, chainInfo.evm.rpc);
}

Expand Down

0 comments on commit 4857234

Please sign in to comment.