Skip to content

Commit 17e6ea4

Browse files
authored
Add SideShift.ai exchange plugin
1 parent 70f77f0 commit 17e6ea4

10 files changed

Lines changed: 14 additions & 0 deletions

File tree

env.example.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
"X_FIO_INIT": {
6161
"fioRegApiToken": ""
6262
},
63+
"X_SIDESHIFT_INIT": {
64+
"affiliateId": ""
65+
},
6366

6467
"-------- app options --------": 0,
6568
"DEBUG_CORE_BRIDGE": false,
1.91 KB
Loading
4.48 KB
Loading
7.48 KB
Loading

src/assets/images/exchange/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import coinswitchFullLogo from './exchange_logo_coinswitch.png'
88
import faastFullLogo from './exchange_logo_faast.png'
99
import foxExchangeFullLogo from './exchange_logo_fox_exchange.png'
1010
import godexFullLogo from './exchange_logo_godex.png'
11+
import sideshiftFullLogo from './exchange_logo_sideshiftai.png'
1112
import switchainFullLogo from './exchange_logo_switchain.png'
1213
import totleFullLogo from './exchange_logo_totle.png'
1314
import changellyLogo from './settingsExchangeChangelly.png'
@@ -17,6 +18,7 @@ import defaultLogo from './settingsExchangeDefault.png'
1718
import faastLogo from './settingsExchangeFaast.png'
1819
import foxExchangeLogo from './settingsExchangeFoxExchange.png'
1920
import godexLogo from './settingsExchangeGodex.png'
21+
import sideshiftLogo from './settingsExchangeSideShiftAI.png'
2022
import switchainLogo from './settingsExchangeSwitchain.png'
2123
import totleLogo from './settingsExchangeTotle.png'
2224

@@ -38,6 +40,7 @@ export const swapThemePluginIcons = (pluginId: string, theme: Theme) => {
3840
foxExchange: theme.settingsFoxExchangeLogo,
3941
godex: theme.settingsGodexLogo,
4042
switchain: theme.settingsSwitchainLogo,
43+
sideshift: theme.settingsSideshiftLogo,
4144
totle: theme.settingsTotleLogo,
4245
default: theme.settingsDefaultLogo
4346
}
@@ -53,6 +56,7 @@ export const swapPluginIcons = {
5356
faast: faastLogo,
5457
foxExchange: foxExchangeLogo,
5558
godex: godexLogo,
59+
sideshift: sideshiftLogo,
5660
switchain: switchainLogo,
5761
totle: totleLogo
5862
}
@@ -65,6 +69,7 @@ export const swapPluginLogos = {
6569
faast: faastFullLogo,
6670
foxExchange: foxExchangeFullLogo,
6771
godex: godexFullLogo,
72+
sideshift: sideshiftFullLogo,
6873
switchain: switchainFullLogo,
6974
totle: totleFullLogo,
7075
transfer: transferFullLogo
3.21 KB
Loading

src/theme/variables/edgeDark.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import defaultLogo from '../../assets/images/exchange/settingsExchangeDefault.pn
99
import faastLogo from '../../assets/images/exchange/settingsExchangeFaast.png'
1010
import foxExchangeLogo from '../../assets/images/exchange/settingsExchangeFoxExchange.png'
1111
import godexLogo from '../../assets/images/exchange/settingsExchangeGodex.png'
12+
import sideshiftLogo from '../../assets/images/exchange/settingsExchangeSideShiftAI.png'
1213
import switchainLogo from '../../assets/images/exchange/settingsExchangeSwitchain.png'
1314
import totleLogo from '../../assets/images/exchange/settingsExchangeTotle.png'
1415
import { type Theme } from '../../types/Theme.js'
@@ -191,6 +192,7 @@ export const edgeDark: Theme = {
191192
settingsFaastLogo: faastLogo,
192193
settingsFoxExchangeLogo: foxExchangeLogo,
193194
settingsGodexLogo: godexLogo,
195+
settingsSideshiftLogo: sideshiftLogo,
194196
settingsSwitchainLogo: switchainLogo,
195197
settingsTotleLogo: totleLogo
196198
}

src/theme/variables/edgeLight.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import defaultLogo from '../../assets/images/exchange/settingsExchangeDefault.pn
99
import faastLogo from '../../assets/images/exchange/settingsExchangeFaast.png'
1010
import foxExchangeLogo from '../../assets/images/exchange/settingsExchangeFoxExchange.png'
1111
import godexLogo from '../../assets/images/exchange/settingsExchangeGodex.png'
12+
import sideshiftLogo from '../../assets/images/exchange/settingsExchangeSideShiftAI.png'
1213
import switchainLogo from '../../assets/images/exchange/settingsExchangeSwitchain.png'
1314
import totleLogo from '../../assets/images/exchange/settingsExchangeTotle.png'
1415
import { type Theme } from '../../types/Theme.js'
@@ -190,6 +191,7 @@ export const edgeLight: Theme = {
190191
settingsFaastLogo: faastLogo,
191192
settingsFoxExchangeLogo: foxExchangeLogo,
192193
settingsGodexLogo: godexLogo,
194+
settingsSideshiftLogo: sideshiftLogo,
193195
settingsSwitchainLogo: switchainLogo,
194196
settingsTotleLogo: totleLogo
195197
}

src/types/Theme.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,5 +147,6 @@ export type Theme = {
147147
settingsFoxExchangeLogo: string,
148148
settingsGodexLogo: string,
149149
settingsSwitchainLogo: string,
150+
settingsSideshiftLogo: string,
150151
settingsTotleLogo: string
151152
}

src/util/corePlugins.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export const swapPlugins = {
8585
foxExchange: ENV.FOX_INIT,
8686
godex: ENV.GODEX_INIT,
8787
// shapeshift: ENV.SHAPESHIFT_INIT,
88+
sideshift: ENV.SIDESHIFT_INIT,
8889
switchain: ENV.SWITCHAIN_INIT,
8990
totle: ENV.TOTLE_INIT,
9091
transfer: true

0 commit comments

Comments
 (0)