Skip to content

Commit

Permalink
Update solana legacy token list address
Browse files Browse the repository at this point in the history
  • Loading branch information
DogLooksGood committed Dec 23, 2023
1 parent 6e53fdf commit 760fb7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Race Protocol: A multi-chain infrastructure for asymmetric competitive games

## Fixes
- Transactor: Improve the retry mechanism for settle.
- SDK: Load the legacy solana token list from arweave.

# 0.2.6

Expand Down
2 changes: 1 addition & 1 deletion js/sdk-solana/src/solana-transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class SolanaTransport implements ITransport {
}

async _fetchLegacyTokens() {
const resp = await fetch('https://cdn.jsdelivr.net/gh/solflare-wallet/token-list/solana-tokenlist.json');
const resp = await fetch('https://arweave.net/60i6lMrqKZU8MtGM27WNrqr3s52ry2munrwMOK4jaO8');
const m = await resp.json();
this.#legacyTokens = m['tokens'];
}
Expand Down

0 comments on commit 760fb7c

Please sign in to comment.