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
19 changes: 0 additions & 19 deletions .changeset/nervous-clouds-teach.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-moons-shake.md

This file was deleted.

24 changes: 24 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @reservoir0x/relay-kit-ui

## 11.0.0

### Major Changes

- e426f05: Migrate wallet balance fetching from Dune (sunset) to Codex

Breaking changes:

- `duneConfig` provider option removed — use `codexConfig` (`{ apiBaseUrl?, apiKey? }`). The default api base url is `https://graph.codex.io`; override it to proxy requests and protect your api key.
- `useDuneBalances` hook removed — use `useCodexBalances(address, queryOptions)`. The mainnet/testnet parameter is gone; balances are fetched from Codex-supported networks and filtered by your configured chains.
- `isDuneBalance` removed from `useCurrencyBalance`'s return value.
- `useMultiWalletBalances` no longer takes the mainnet/testnet parameter.

Other changes:

- New `useSolanaBalance` hook: selected SVM tokens (Solana and Eclipse) now fetch balances directly from the chain's RPC (native via `getBalance`, SPL via `getTokenAccountsByOwner`) instead of an indexer, so post-swap balances are fresh and the aggressive periodic refetch workaround is gone. The internal eclipse-only balance hook is gone; Eclipse flows through the same path.
- Native SVM balances (SOL, Eclipse ETH) in the consolidated token selector list are fetched from their RPCs and merged with Codex results, since Codex does not index native SVM balances (nor Eclipse at all). Their USD values come from Codex prices for wrapped SOL / mainnet WETH.
- Spam filtering: Codex's `removeScams` plus an `isScam` drop, and a liquidity heuristic replacing Dune's spam scoring — tokens whose pool liquidity is under $1k or below the balance's usd value have their usd value stripped so they can't crowd out real holdings in the token selector (balances still display).
- Known loss: Soon balances are gone from the token selector list; Soon is no longer a supported chain.

### Patch Changes

- d8c713c: Restrict Robinhood Wallet to its supported chains

## 10.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@relayprotocol/relay-kit-ui",
"version": "10.0.1",
"version": "11.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/relayprotocol/relay-kit.git",
Expand Down