Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions references/relay-kit/ui/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ const App = () => {
fee: '100' // 1%
}
],
duneConfig: {
apiKey: "YOUR_DUNE_KEY",
codexConfig: {
apiKey: "YOUR_CODEX_KEY",
},
chains,
baseApiUrl: MAINNET_RELAY_API
Expand Down Expand Up @@ -132,8 +132,8 @@ const App = () => {
return (
<QueryClientProvider client={queryClient}>
<RelayKitProvider options={{
duneConfig: {
apiKey: "YOUR_DUNE_KEY",
codexConfig: {
apiKey: "YOUR_CODEX_KEY",
},
chains,
baseApiUrl: MAINNET_RELAY_API
Expand Down
4 changes: 2 additions & 2 deletions references/relay-kit/ui/relay-kit-provider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ sidebarTitle: RelayKitProvider

| Option | Description | Required |
|--------------|------------------------------------------------------------------------------------------------------------------------------------------------|----------|
| duneConfig.apiKey | This key is used to fetch token balances to improve the general user experience and suggest relevant tokens to the user. If omitted the flow will continue to work but balances may be missing from the token selection flow. Refer to the [Dune docs](https://docs.dune.com/api-reference/overview/authentication#generate-an-api-key) on how to get an API key. | ❌ |
| duneConfig.apiBaseUrl | If you prefer to obfuscate and protect your API key, you can pass in a custom endpoint which will be used to fetch the data. In your proxy you can then add the API key and do any additional checks before sending to the dune api. | ❌ |
| codexConfig.apiKey | This key is used to fetch token balances to improve the general user experience and suggest relevant tokens to the user. If omitted the flow will continue to work but balances may be missing from the token selection flow. Refer to the [Codex docs](https://docs.codex.io) on how to get an API key. | ❌ |
| codexConfig.apiBaseUrl | The base url for the Codex GraphQL API. If omitted, the default `https://graph.codex.io` is used. If you prefer to obfuscate and protect your API key, you can pass in a custom endpoint which will be used to fetch the data. In your proxy you can then add the API key and do any additional checks before sending to the Codex API. | ❌ |
| disablePoweredByReservoir | A boolean which disables the powered by Reservoir footer | ❌ |
| appName | The name of your application, used in the ui to contextualize actions | ❌ |
| appFees | An array of objects representing fees. Each object should contains a `recipient` wallet address and a `fee` in bps (e.g. 100 = 1%). | ❌ |
Expand Down
Loading