Migrate to codex from dune#1066
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Claude finished @pedromcunha's task in 3m 40s —— View job Code Review — PR #1066: Migrate to codex from duneReviewed the full diff (16 files, +768/−576). The Dune→Codex migration is thorough and consistent — all 1 note (no correctness/security blockers found):
Everything else checks out: the Codex pagination loop is correctly bounded ( |
|
Claude finished @pedromcunha's task in 1m 31s —— View job 📝 Docs Drift Check — Confidence: HIGH What changed: The Docs impact: The Affected pages (paths inside
Draft: > Replace section: `## Options`
## Options
| Option | Description | Required |
|--------------|------------------------------------------------------------------------------------------------------------------------------------------------|----------|
| 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%). | ❌ |
| themeScheme | The overall theme color of the app, can be `light` or `dark`. Defaults to `light`. This changes the color scheme of icons and other ui elements, in addition to the theme passed in. | ❌ |> Replace: the `duneConfig` block inside the first `<RelayKitProvider options={{ ... }}>` example
codexConfig: {
apiKey: "YOUR_CODEX_KEY",
},> Replace: the `duneConfig` block inside the "Configuring Chains Dynamically" `<RelayKitProvider options={{ ... }}>` example
codexConfig: {
apiKey: "YOUR_CODEX_KEY",
},Needs human input:
To publish as a draft PR in
A separate workflow will open a draft PR attributed to you. Edit the draft freely before marking it ready for review. |
|
/publish-docs-pr |
|
🚚 Docs Draft PR — starting publish to |
|
Claude finished @pedromcunha's task in 1m 1s —— View job Publishing docs draft to
|
| Path | Action | Change |
|---|---|---|
references/relay-kit/ui/relay-kit-provider.mdx |
update | Renamed duneConfig.apiKey / duneConfig.apiBaseUrl Options rows to codexConfig.*, pointed to the Codex docs, and documented the new https://graph.codex.io default base URL |
references/relay-kit/ui/installation.mdx |
update | Replaced both duneConfig/YOUR_DUNE_KEY code blocks (the primary example and the "Configuring Chains Dynamically" example) with codexConfig/YOUR_CODEX_KEY |
Style-guide conformance: Both pages retain valid frontmatter (title/description/sidebarTitle), no H1 in body, no skipped heading levels, and root-relative internal links. Edits were surgical (per breaking-change playbook §4.2 — edit in place). The Options table's non-bold property-name convention was left as-is to stay consistent with the existing page.
Notes / flags for human review:
- No SDK/UI changelog entry was added. Playbook §4.2 says breaking-change narratives belong in a per-surface changelog, but
references/relay-kit/ui/changelog.mdxdoes not exist yet — creating it is out of scope for this drafted change and left for a human to decide. - The exported UI hook surface changed (
useDuneBalancesremoved;useCodexBalances+useSolanaBalanceadded;useCurrencyBalancedroppedisDuneBalance). These hooks have no dedicated docs pages today, so no page was edited — flagged in the original drift check for a human to decide whether they should be publicly documented.
|
✅ Docs Draft PR opened: relayprotocol/relay-docs#358 @pedromcunha is assigned on the draft PR. Review and mark ready when it's good. |
|
Claude finished @pedromcunha's task in 3m 22s —— View job Code Review — PR #1066: Migrate to codex from dune
Reviewed 16 files (+768/−576). The Dune→Codex migration is clean and internally consistent: no dangling Code Review — 2 note(s) found (no correctness/security blockers)
Everything else checks out: the native-SVM merge handles both the |
|
Claude finished @pedromcunha's task in 1m 15s —— View job 📝 Docs Drift Check — Confidence: HIGH What changed: The Docs impact: The Affected pages (paths inside
Draft: > Replace section: `## Options`
## Options
| Option | Description | Required |
|--------------|------------------------------------------------------------------------------------------------------------------------------------------------|----------|
| 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%). | ❌ |
| themeScheme | The overall theme color of the app, can be `light` or `dark`. Defaults to `light`. This changes the color scheme of icons and other ui elements, in addition to the theme passed in. | ❌ |> Replace: the `duneConfig` block inside the first `<RelayKitProvider options={{ ... }}>` example
codexConfig: {
apiKey: "YOUR_CODEX_KEY",
},> Replace: the `duneConfig` block inside the "Configuring Chains Dynamically" `<RelayKitProvider options={{ ... }}>` example
codexConfig: {
apiKey: "YOUR_CODEX_KEY",
},Needs human input:
To publish as a draft PR in
A separate workflow will open a draft PR attributed to you. Edit the draft freely before marking it ready for review. |
No description provided.