Skip to content

Commit

Permalink
Update example config for debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tolgahan-arikan committed Dec 19, 2024
1 parent ec95388 commit 6704d0b
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions examples/react/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,15 @@ export const config =
},
walletConnect: {
projectId: walletConnectProjectId
}
},
isDev: isDebugMode
})
: createConfig('universal', {
...kitConfig,
appName: 'Kit Demo',
chainIds: [
ChainId.ARBITRUM_NOVA,
ChainId.ARBITRUM,
ChainId.ARBITRUM_SEPOLIA,
ChainId.POLYGON,
ChainId.IMMUTABLE_ZKEVM,
Expand All @@ -110,10 +112,14 @@ export const getErc1155SaleContractConfig = (walletAddress: string) => ({
// contractAddress: '0xf0056139095224f4eec53c578ab4de1e227b9597',
// collectionAddress: '0x92473261f2c26f2264429c451f70b0192f858795',
wallet: walletAddress,
items: [{
tokenId: '1',
quantity: '1'
}],
onSuccess: () => { console.log('success') },
items: [
{
tokenId: '1',
quantity: '1'
}
],
onSuccess: () => {
console.log('success')
},
isDev: isDebugMode
})

0 comments on commit 6704d0b

Please sign in to comment.