Skip to content

Commit

Permalink
added immutable + testnet to demo (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlee348 authored Nov 18, 2024
1 parent 7aedb41 commit 61c03c8
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@0xsequence/kit-checkout": "workspace:*",
"@0xsequence/kit-wallet": "workspace:*",
"@0xsequence/kit-example-shared-components": "workspace:*",
"@0xsequence/network": "2.0.12",
"@0xsequence/network": "2.0.20",
"@tanstack/react-query": "^5.37.1",
"next": "14.2.3",
"react": "^18.3.1",
Expand Down
8 changes: 7 additions & 1 deletion examples/next/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ export const kitConfig: KitConfig = {
export const config = createConfig('waas', {
...kitConfig,
appName: 'Kit Demo',
chainIds: [ChainId.ARBITRUM_NOVA, ChainId.ARBITRUM_SEPOLIA, ChainId.POLYGON],
chainIds: [
ChainId.ARBITRUM_NOVA,
ChainId.ARBITRUM_SEPOLIA,
ChainId.POLYGON,
ChainId.IMMUTABLE_ZKEVM,
ChainId.IMMUTABLE_ZKEVM_TESTNET
],
defaultChainId: ChainId.ARBITRUM_NOVA,

// Waas specific config options
Expand Down
2 changes: 1 addition & 1 deletion examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@0xsequence/kit-wallet": "workspace:*",
"@0xsequence/kit-example-shared-components": "workspace:*",
"@tanstack/react-query": "^5.37.1",
"@0xsequence/network": "2.0.12",
"@0xsequence/network": "2.0.20",
"framer-motion": "^8.5.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
16 changes: 14 additions & 2 deletions examples/react/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ export const config =
? createConfig('waas', {
...kitConfig,
appName: 'Kit Demo',
chainIds: [ChainId.ARBITRUM_NOVA, ChainId.ARBITRUM_SEPOLIA, ChainId.POLYGON],
chainIds: [
ChainId.ARBITRUM_NOVA,
ChainId.ARBITRUM_SEPOLIA,
ChainId.POLYGON,
ChainId.IMMUTABLE_ZKEVM,
ChainId.IMMUTABLE_ZKEVM_TESTNET
],
defaultChainId: ChainId.ARBITRUM_NOVA,
waasConfigKey: isDebugMode
? 'eyJwcm9qZWN0SWQiOjY5NCwicnBjU2VydmVyIjoiaHR0cHM6Ly9kZXYtd2Fhcy5zZXF1ZW5jZS5hcHAiLCJlbWFpbFJlZ2lvbiI6ImNhLWNlbnRyYWwtMSIsImVtYWlsQ2xpZW50SWQiOiI1NGF0bjV1cGk2M3FjNTlhMWVtM3ZiaHJzbiJ9'
Expand All @@ -81,7 +87,13 @@ export const config =
: createConfig('universal', {
...kitConfig,
appName: 'Kit Demo',
chainIds: [ChainId.ARBITRUM_NOVA, ChainId.ARBITRUM_SEPOLIA, ChainId.POLYGON],
chainIds: [
ChainId.ARBITRUM_NOVA,
ChainId.ARBITRUM_SEPOLIA,
ChainId.POLYGON,
ChainId.IMMUTABLE_ZKEVM,
ChainId.IMMUTABLE_ZKEVM_TESTNET
],
defaultChainId: ChainId.ARBITRUM_NOVA,

walletConnect: {
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 61c03c8

Please sign in to comment.