generated from turbo-eth/template-web3-app
-
Notifications
You must be signed in to change notification settings - Fork 1
/
chains.ts
41 lines (38 loc) · 884 Bytes
/
chains.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import { HardhatUserConfig } from "hardhat/config";
const ZERO_BYTES32 = "0x0000000000000000000000000000000000000000000000000000000000000000";
const owner = process.env.OWNER ? process.env.OWNER : ZERO_BYTES32;
export const networks = {
hardhat: {
chainId: 31337,
},
gravity: {
chainId: 1625,
url: "https://rpc.gravity.xyz",
accounts: [owner],
},
mainnet: {
chainId: 1,
url: process.env.MAINNET_RPC_URL || "",
accounts: [owner],
},
sepolia: {
chainId: 11155111,
url: process.env.SEPOLIA_RPC_URL || "",
accounts: [owner],
},
arbitrum: {
chainId: 42161,
url: process.env.ARBITRUM_RPC_URL || "",
accounts: [owner],
},
bsc: {
chainId: 56,
url: process.env.BSC_RPC_URL || "",
accounts: [owner],
},
base: {
chainId: 8453,
url: process.env.BASE_RPC_URL || "",
accounts: [owner],
},
};