diff --git a/bun.lockb b/bun.lockb index ee014d0..1ce1a59 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index f57c06a..851f0d0 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@build-with-yi/wagmi": "0.0.10", + "@build-with-yi/wagmi": "0.0.11", "@mantine/core": "^7.11.2", "@mantine/hooks": "^7.11.2", "@mantine/notifications": "^7.7.1", diff --git a/src/components/Modal/RegisterModal.tsx b/src/components/Modal/RegisterModal.tsx index 1d80dc1..b31b251 100644 --- a/src/components/Modal/RegisterModal.tsx +++ b/src/components/Modal/RegisterModal.tsx @@ -60,7 +60,9 @@ function RegisterPaymaster() { const register = useCallback(async () => { try { if (!isCabEnabled) { - await enableCab(); + await enableCab({ + tokens: [{ name: "6TEST", networks: [11155420, 84532] }], + }); setActiveStep(2); } } catch (error) { @@ -82,7 +84,8 @@ function RegisterPaymaster() { } notifications.show({ color: "green", - message: "CAB enabled, please wait a few moments for the registration to complete.", + message: + "CAB enabled, please wait a few moments for the registration to complete.", }); }; return (