-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathponder.config.ts
31 lines (29 loc) · 1.23 KB
/
ponder.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
import { createConfig } from "@ponder/core";
import { http } from "viem";
import { TheCompactAbi } from "./abis/TheCompactAbi";
export default createConfig({
networks: {
mainnet: { chainId: 1, transport: http(process.env.PONDER_RPC_URL_1) },
sepolia: { chainId: 11155111, transport: http(process.env.PONDER_RPC_URL_11155111) },
base: { chainId: 8453, transport: http(process.env.PONDER_RPC_URL_8453) },
baseSepolia: { chainId: 84532, transport: http(process.env.PONDER_RPC_URL_84532) },
optimism: { chainId: 10, transport: http(process.env.PONDER_RPC_URL_10) },
optimismSepolia: { chainId: 11155420, transport: http(process.env.PONDER_RPC_URL_11155420) },
unichainSepolia: { chainId: 1301, transport: http(process.env.PONDER_RPC_URL_1301) },
},
contracts: {
TheCompact: {
abi: TheCompactAbi,
address: "0x00000000000018DF021Ff2467dF97ff846E09f48",
network: {
mainnet: { startBlock: 21124904 },
sepolia: { startBlock: 7020093 },
base: { startBlock: 22031390 },
baseSepolia: { startBlock: 17541891 },
optimism: { startBlock: 127708222 },
optimismSepolia: { startBlock: 19606376 },
unichainSepolia: { startBlock: 3999509 },
},
},
},
});