Skip to content

Commit

Permalink
Merge pull request #63 from allo-protocol/add-sei
Browse files Browse the repository at this point in the history
Add sei mainnet
  • Loading branch information
0xKurt authored Jun 13, 2024
2 parents 76bcffa + f656236 commit d0d85f2
Show file tree
Hide file tree
Showing 6 changed files with 84 additions and 13,280 deletions.
32 changes: 32 additions & 0 deletions dist/chains.config.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,34 @@
import { Chain } from "viem";
export declare const sei: {
blockExplorers: {
readonly default: {
readonly name: "Seitrace";
readonly url: "https://seitrace.com";
};
};
contracts: {
readonly multicall3: {
readonly address: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D";
};
};
id: 1329;
name: "Sei";
nativeCurrency: {
readonly name: "Sei";
readonly symbol: "SEI";
readonly decimals: 18;
};
rpcUrls: {
readonly default: {
readonly http: readonly ["https://evm-rpc.sei-apis.com/"];
readonly webSocket: readonly ["wss://evm-ws.sei-apis.com/"];
};
};
sourceId?: number | undefined;
testnet?: boolean | undefined;
custom?: Record<string, unknown> | undefined;
formatters?: undefined;
serializers?: import("viem").ChainSerializers<undefined> | undefined;
fees?: import("viem").ChainFees<undefined> | undefined;
};
export declare const supportedChains: Chain[];
26 changes: 25 additions & 1 deletion dist/chains.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.supportedChains = void 0;
exports.supportedChains = exports.sei = void 0;
const viem_1 = require("viem");
const chains_1 = require("viem/chains");
exports.sei = (0, viem_1.defineChain)({
id: 1329,
name: "Sei",
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: "0xcb2436774C3e191c85056d248EF4260ce5f27A9D",
},
},
});
exports.supportedChains = [
chains_1.arbitrum,
chains_1.arbitrumSepolia,
Expand All @@ -21,6 +44,7 @@ exports.supportedChains = [
chains_1.fantom,
chains_1.scroll,
chains_1.seiDevnet,
exports.sei,
chains_1.avalancheFuji,
chains_1.fantomTestnet,
chains_1.zkSync,
Expand Down
Loading

0 comments on commit d0d85f2

Please sign in to comment.