Connect to Polygon or Polygon Amoy #957
Unanswered
sunsoftsupport
asked this question in
Issues
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
When I tried to set the app for Polygon or Polygon Amoy I got this error
createAccount.js:53 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'status')
at createAccount (createAccount.js:53:23)
at getSmartAccountClient (getSmartAccountClient.js:79:77)
at config.store.subscribe.equalityFn (watchSmartAccountClient.js:38:108)
at listener (middleware.mjs:241:11)
at eval (vanilla.mjs:14:39)
at Set.forEach ()
at setState (vanilla.mjs:14:17)
at api.setState (middleware.mjs:483:5)
at eval (store.js:176:19)
at listener (middleware.mjs:241:11)
at eval (vanilla.mjs:14:39)
at Set.forEach ()
at Object.setState (vanilla.mjs:14:17)
at EventEmitter.eval (base.js:564:32)
at EventEmitter.emit (index.js:181:35)
at eval (manager.js:236:35)
import {polygonAmoy, sepolia} from "@account-kit/infra";
export const config = createConfig(
{
apiKey: "wdewew-we", // TODO: insert your Alchemy API key - setup your app & embedded account config at https://dashboard.alchemy.com/accounts
chain: polygonAmoy,
ssr: true, // read more about server side rendering (ssr) practices: https://accountkit.alchemy.com/react/ssr
storage: cookieStorage, // read more about persisting state with cookies: https://accountkit.alchemy.com/react/ssr#persisting-the-account-state
},
uiConfig
);
Beta Was this translation helpful? Give feedback.
All reactions