Skip to content

Commit 682b8d3

Browse files
committed
wip
1 parent d31286a commit 682b8d3

File tree

3 files changed

+91
-0
lines changed

3 files changed

+91
-0
lines changed

appkit/faq.mdx

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
---
2+
title: "FAQs"
3+
---
4+
5+
## Error: Invalid App Configuration
6+
7+
<img src="/images/faq/invalidAppConfiguration.png" />
8+
9+
This is a very common error that happens mainly when you didn't make a correct setup of the projectId. Please create and use a valid projectid from https://cloud.reown.com/
10+
11+
```javascript
12+
const modal = createAppKit({
13+
...
14+
projectId: "..." // add a valid projectId
15+
});
16+
```
17+
18+
## No wallets are visible, only the title "Connect Wallet."
19+
20+
Problem: After clicking in the connect button users are only seeing the modal with the title "Connect Wallet".
21+
22+
Solution: In general there are two possibilities for this error.
23+
24+
1. Check all the libraries from @reown are using the **same version** in the packages.json.
25+
26+
``` json
27+
...
28+
"dependencies": {
29+
"@reown/appkit": "1.7.8",
30+
"@reown/appkit-adapter-wagmi": "1.7.8",
31+
...
32+
}
33+
```
34+
35+
2. The `createAppKit` call must be outside the component in order to work correctly.
36+
37+
```javascript
38+
// Create modal
39+
createAppKit({
40+
adapters: [wagmiAdapter],
41+
...generalConfig,
42+
features: {
43+
analytics: true // Optional - defaults to your Cloud configuration
44+
}
45+
})
46+
47+
export function App() {
48+
return (
49+
<WagmiProvider ...>
50+
<QueryClientProvider ...>
51+
<appkit-button />
52+
</QueryClientProvider>
53+
</WagmiProvider>
54+
}
55+
56+
```
57+
58+
## When will reown supports off-ramp?
59+
60+
For the moment, Reown do not have plans to do off-ramp.
61+
62+
## How can i retrieve more than one address from the currently connected wallets?
63+
64+
To resolve this issue, please refer to our multichain example:
65+
66+
- https://appkit-web-examples-react-multichain.reown.com/
67+
68+
- https://github.com/reown-com/appkit-web-examples/tree/main/react/react-multichain
69+
70+
These are some code snippets for React SDK:
71+
72+
``` javascript
73+
import { useAppKitAccount } from '@reown/appkit/react'
74+
const eip155AccountState = useAppKitAccount({ namespace: 'eip155' })
75+
const solanaAccountState = useAppKitAccount({ namespace: 'solana' })
76+
```
77+
78+
``` javascript
79+
<>
80+
Address EVM : {eip155AccountState.address}<br />
81+
Addresss Solana: {solanaAccountState.address}<br />
82+
</>
83+
```
84+
85+
## How to hide UX by reown ?
86+
87+
Currently, only enterprise clients can hide "UX by reown" in our modal by adjusting this option on our Dashboard.

docs.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,10 @@
300300
"appkit/migration/from-connectkit-next",
301301
"appkit/migration/from-anza-adapter-react"
302302
]
303+
},
304+
{
305+
"group": "Technical Reference",
306+
"pages": ["appkit/faq"]
303307
}
304308
]
305309
},
68 KB
Loading

0 commit comments

Comments
 (0)