diff --git a/CHANGELOG.md b/CHANGELOG.md index cfba92d8c57..9be5b36b72a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Unreleased (develop) - added: App/device attestation for gated info-server requests +- added: SimpleSwap swap provider - added: "-m" tag on the version number in the Help scene for Maestro test builds - added: Sign Message option in the wallet list menu for Bitcoin-family wallets, letting users prove self-hosted wallet ownership to exchanges by signing an exchange-provided message. - added: `edge://buy` and `edge://sell` deep links (and their `https://deep.edge.app` equivalents) that open the buy/sell flow, optionally pinning a provider and payment method to the top of the quote options for that visit. diff --git a/src/actions/CategoriesActions.ts b/src/actions/CategoriesActions.ts index d00a39a6b15..e9802fafb1e 100644 --- a/src/actions/CategoriesActions.ts +++ b/src/actions/CategoriesActions.ts @@ -724,6 +724,7 @@ export const pluginIdIcons: Record = { nymswap: EDGE_CONTENT_SERVER_URI + '/exchangeIcons/nymswap/icon.png', rango: EDGE_CONTENT_SERVER_URI + '/rango.png', sideshift: EDGE_CONTENT_SERVER_URI + '/sideshift-logo.png', + simpleswap: EDGE_CONTENT_SERVER_URI + '/simpleswap.png', simplex: EDGE_CONTENT_SERVER_URI + '/simplex.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..6c1f740e30a 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' }, + simpleswap: { + termsUri: 'https://simpleswap.io/terms-of-service', + privacyUri: 'https://simpleswap.io/privacy-policy', + kycUri: 'https://simpleswap.io/aml-kyc' + }, 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..344747baf5a 100644 --- a/src/constants/MerchantContacts.ts +++ b/src/constants/MerchantContacts.ts @@ -74,6 +74,10 @@ export const MERCHANT_CONTACTS: MerchantContact[] = [ displayName: 'SideShift.ai', thumbnailPath: `${EDGE_CONTENT_SERVER_URI}/sideshift-logo.png` }, + { + displayName: 'SimpleSwap', + thumbnailPath: `${EDGE_CONTENT_SERVER_URI}/simpleswap.png` + }, { displayName: 'Simplex', thumbnailPath: `${EDGE_CONTENT_SERVER_URI}/simplex.png` diff --git a/src/envConfig.ts b/src/envConfig.ts index f0181d68c3d..69d420854ac 100644 --- a/src/envConfig.ts +++ b/src/envConfig.ts @@ -412,6 +412,11 @@ export const asEnvConfig = asObject({ affiliateId: asOptional(asString, '') }) ), + SIMPLESWAP_INIT: asCorePluginInit( + asObject({ + apiKey: asOptional(asString, '') + }).withRest + ), SOLANA_INIT: asCorePluginInit( asObject({ alchemyApiKey: asOptional(asString, ''), diff --git a/src/util/corePlugins.ts b/src/util/corePlugins.ts index 55c017dad00..3e0e3f867c4 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, + simpleswap: ENV.SIMPLESWAP_INIT, swapuz: ENV.SWAPUZ_INIT, xgram: ENV.XGRAM_INIT, nymswap: ENV.NYM_SWAP_INIT,