-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwagmi.config.ts
40 lines (39 loc) · 1.02 KB
/
wagmi.config.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
import { defineConfig, loadEnv } from "@wagmi/cli";
import { etherscan, react, erc } from "@wagmi/cli/plugins";
import { goerli, mainnet } from "wagmi/chains";
export default defineConfig(() => {
const env = loadEnv({
mode: process.env.NODE_ENV,
envDir: process.cwd(),
});
return {
out: "src/generated.ts",
plugins: [
erc({
20: false,
721: true,
}),
etherscan({
apiKey: env.ETHERSCAN_API_KEY!,
chainId: mainnet.id,
contracts: [
{
name: "VapeGame",
address: {
[goerli.id]: "0xE7e52781F4D7af7CD008C02d630d06a22dcEAb14",
[mainnet.id]: "0xC018FF8c08842151CbfA26E72Fe39fD0A155120D",
},
},
{
name: "ZoomerCoin",
address: {
[goerli.id]: "0x7ea6eA49B0b0Ae9c5db7907d139D9Cd3439862a1",
[mainnet.id]: "0x0D505C03d30e65f6e9b4Ef88855a47a89e4b7676",
},
},
],
}),
react(),
],
};
});