-
Notifications
You must be signed in to change notification settings - Fork 0
/
wagmi.config.ts
33 lines (31 loc) · 1 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
import { defineConfig } from '@wagmi/cli'
import { foundry, react } from '@wagmi/cli/plugins'
import * as chains from 'wagmi/chains'
import { contractDeployments } from './src/util/confighelper'
export default defineConfig({
out: 'src/generated.ts',
plugins: [
foundry({
deployments: {
FourbyNFT: contractDeployments(
"FourbyNFT",
[chains.optimism.id, chains.base.id, chains.baseGoerli.id, chains.optimismSepolia.id, chains.sepolia.id, chains.foundry.id]
) as {}
/*
FourbyNFT: {
// [chains.mainnet.id]: '0xf201fFeA8447AB3d43c98Da3349e0749813C9009',
// [chains.goerli.id]: '0xf201fFeA8447AB3d43c98Da3349e0749813C9009',
// [chains.sepolia.id]: '0xf201fFeA8447AB3d43c98Da3349e0749813C9009',
// [chains.foundry.id]: '0xf201fFeA8447AB3d43c98Da3349e0749813C9009',
},
*/
},
project: './contracts',
artifacts: 'out/',
forge: {
rebuild: true,
},
}),
react(),
],
})