Skip to content

Commit

Permalink
Add BSC and RSK to DEXs
Browse files Browse the repository at this point in the history
  • Loading branch information
peachbits committed Dec 3, 2024
1 parent 88a25cf commit b9e73b4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

- added: (Lifi) Add RSK
- added: (SwapKit) Add Binance Smart Chain

## 2.15.0 (2024-12-02)

- added: (Exolix) Support Zcash buys
Expand Down
1 change: 1 addition & 0 deletions src/swap/defi/lifi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ const MAINNET_CODE_TRANSCRIPTION: StringMap = {
okexchain: 'OKT',
optimism: 'OPT',
polygon: 'POL',
rsk: 'RSK',
solana: 'SOL',
velas: 'VEL',
zksync: 'ERA'
Expand Down
5 changes: 3 additions & 2 deletions src/swap/defi/thorchain/swapkit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,9 @@ let exchangeInfo: ExchangeInfo | undefined
let exchangeInfoLastUpdate: number = 0

const tokenProxyMap: { [currencyPluginId: string]: string } = {
ethereum: '0xf892fef9da200d9e84c9b0647ecff0f34633abe8',
avalanche: '0x69ba883af416ff5501d54d5e27a1f497fbd97156'
avalanche: '0x69ba883af416ff5501d54d5e27a1f497fbd97156',
binancesmartchain: '0x5505BE604dFA8A1ad402A71f8A357fba47F9bf5a',
ethereum: '0xf892fef9da200d9e84c9b0647ecff0f34633abe8'
}

export function makeSwapKitPlugin(opts: EdgeCorePluginOptions): EdgeSwapPlugin {
Expand Down

0 comments on commit b9e73b4

Please sign in to comment.