diff --git a/CHANGELOG.md b/CHANGELOG.md index f2464f4f9b5..1bb06fbd740 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ - added: App/device attestation for gated info-server requests - added: Swapter swap provider - added: "-m" tag on the version number in the Help scene for Maestro test builds +- added: StealthEX as a swap provider. - changed: Style the entire "Already have an account? Sign in" line in the getting-started USP carousel with the tertiary link color, not just "Sign in". - changed: Refresh the buy, sell, sort, scan-QR and FIO names icons to the updated design. - changed: Display "MoonPay" instead of "Moonpay" wherever the partner name appears in the app. diff --git a/src/actions/CategoriesActions.ts b/src/actions/CategoriesActions.ts index 681bde025b9..49018756c0f 100644 --- a/src/actions/CategoriesActions.ts +++ b/src/actions/CategoriesActions.ts @@ -725,6 +725,7 @@ export const pluginIdIcons: Record = { rango: EDGE_CONTENT_SERVER_URI + '/rango.png', sideshift: EDGE_CONTENT_SERVER_URI + '/sideshift-logo.png', simplex: EDGE_CONTENT_SERVER_URI + '/simplex.png', + stealthex: EDGE_CONTENT_SERVER_URI + '/exchangeIcons/stealthex/icon.png', swapter: EDGE_CONTENT_SERVER_URI + '/exchangeIcons/swapter/icon.png', swapuz: EDGE_CONTENT_SERVER_URI + '/swapuz.png', thorchain: EDGE_CONTENT_SERVER_URI + '/thorchain.png', diff --git a/src/components/modals/SwapVerifyTermsModal.tsx b/src/components/modals/SwapVerifyTermsModal.tsx index 0b8e0ccb763..390c9da44b4 100644 --- a/src/components/modals/SwapVerifyTermsModal.tsx +++ b/src/components/modals/SwapVerifyTermsModal.tsx @@ -49,6 +49,11 @@ const pluginData: Record = { kycUri: 'https://help.sideshift.ai/en/articles/6230858-sideshift-ai-s-risk-management-policy' }, + stealthex: { + termsUri: 'https://stealthex.io/terms/', + privacyUri: 'https://stealthex.io/privacy-policy/', + kycUri: 'https://stealthex.io/kyc-aml/' + }, swapuz: { termsUri: 'https://swapuz.com/terms-of-use', privacyUri: 'https://swapuz.com/privacy-policy', diff --git a/src/constants/MerchantContacts.ts b/src/constants/MerchantContacts.ts index dafa01582a1..bbd5f752900 100644 --- a/src/constants/MerchantContacts.ts +++ b/src/constants/MerchantContacts.ts @@ -78,6 +78,10 @@ export const MERCHANT_CONTACTS: MerchantContact[] = [ displayName: 'Simplex', thumbnailPath: `${EDGE_CONTENT_SERVER_URI}/simplex.png` }, + { + displayName: 'StealthEX', + thumbnailPath: `${EDGE_CONTENT_SERVER_URI}/exchangeIcons/stealthex/icon.png` + }, { displayName: 'Swapuz', thumbnailPath: `${EDGE_CONTENT_SERVER_URI}/swapuz.png` diff --git a/src/envConfig.ts b/src/envConfig.ts index 3f3f1836df7..1eccaaaee1a 100644 --- a/src/envConfig.ts +++ b/src/envConfig.ts @@ -425,6 +425,11 @@ export const asEnvConfig = asObject({ quiknodeApiKey: asOptional(asString, '') }).withRest ), + STEALTHEX_INIT: asCorePluginInit( + asObject({ + apiKey: asOptional(asString, '') + }).withRest + ), SWAPTER_INIT: asCorePluginInit( asObject({ apiKey: asOptional(asString, '') diff --git a/src/util/corePlugins.ts b/src/util/corePlugins.ts index 7d0c9b06fdb..bc27e552225 100644 --- a/src/util/corePlugins.ts +++ b/src/util/corePlugins.ts @@ -99,6 +99,7 @@ export const swapPlugins = { letsexchange: ENV.LETSEXCHANGE_INIT, nexchange: ENV.NEXCHANGE_INIT, sideshift: ENV.SIDESHIFT_INIT, + stealthex: ENV.STEALTHEX_INIT, swapter: ENV.SWAPTER_INIT, swapuz: ENV.SWAPUZ_INIT, xgram: ENV.XGRAM_INIT,