Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BSC and RSK to DEXs #356

Merged
merged 1 commit into from
Dec 16, 2024
Merged
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
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.1 (2024-12-04)

- changed: Prevent Polygon USDC/USDC.e trading on CEX partners that don't support contract addresses
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
Loading