Replies: 1 comment
-
You need to use an argument for the type of adapter you want. Example for EVM chain: useAppKitProvider("eip155"). If you start typing a " inside the () of useAppKitProvider, you should get some options show up to choose from. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The example found at https://docs.reown.com/appkit/javascript/core/installation
has syntax problems:
1.) line "{ walletProvider } = useAppKitProvider()" gives the following error:
Expected 1 arguments, but got 0.ts(2554)
index.d.ts(23, 46): An argument for 'chainNamespace' was not provided.
2.) line "const ethersProvider = new BrowserProvider(walletProvider)" gives the following error:
Argument of type 'unknown' is not assignable to parameter of type 'Eip1193Provider'.
I'm using:
+-- @reown/[email protected]
+-- @reown/[email protected]
+-- @types/[email protected]
+-- @walletconnect/[email protected]
+-- @walletconnect/[email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
...
Grateful for any advice!
Beta Was this translation helpful? Give feedback.
All reactions