From 0f216014bde0ab139ac54886459e391e8dff6e5c Mon Sep 17 00:00:00 2001 From: Rob Green Date: Tue, 21 Jan 2025 08:49:55 -0800 Subject: [PATCH] Fix composable PFP config --- examples/demo-composable-pfp/patchwork.config.ts | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/examples/demo-composable-pfp/patchwork.config.ts b/examples/demo-composable-pfp/patchwork.config.ts index 8cfaae1..ad152e1 100644 --- a/examples/demo-composable-pfp/patchwork.config.ts +++ b/examples/demo-composable-pfp/patchwork.config.ts @@ -1,9 +1,6 @@ -import { PatchworkProject } from '@patchworkdev/pdk/types'; -import { ponder, react } from '@patchworkdev/pdk/plugins'; -import { Feature } from '@patchworkdev/common/types'; -import { anvil, base, baseSepolia } from 'viem/chains'; +import { Feature, ProjectConfig } from '@patchworkdev/common/types'; -const projectConfig: PatchworkProject = { +const projectConfig: ProjectConfig = { name: 'Composable PFP Demo', contracts: { Character: { @@ -79,19 +76,19 @@ const projectConfig: PatchworkProject = { ], networks: { local: { - chain: anvil, + chain: 'anvil', rpc: 'http://anvil:8545', }, testnet: { - chain: baseSepolia, + chain: 'baseSepolia', rpc: 'http://anvil:8545', }, mainnet: { - chain: base, + chain: 'base', rpc: 'http://anvil:8545', }, }, - plugins: [ponder(), react({})], + plugins: [{ name: 'ponder' }, { name: 'react' }], }; export default projectConfig;