Skip to content
Open
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased (develop)

- added: SimpleSwap swap provider
- added: Verbose logging for exchange rate queries: the request body, resolved/rate-less counts, and errors are captured when the Verbose Logging setting is enabled.
- added: Exchange-rate cache snapshot in the support log output, plus a `rates-cache-replay` script that re-runs those queries against the rates server and reports the result for each pair.
- added: "-m" tag on the version number in the Help scene for Maestro test builds
Expand Down
1 change: 1 addition & 0 deletions src/actions/CategoriesActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,7 @@ export const pluginIdIcons: Record<string, string> = {
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',
Expand Down
5 changes: 5 additions & 0 deletions src/components/modals/SwapVerifyTermsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ const pluginData: Record<string, TermsUri> = {
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',
Expand Down
4 changes: 4 additions & 0 deletions src/constants/MerchantContacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
5 changes: 5 additions & 0 deletions src/envConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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, ''),
Expand Down
1 change: 1 addition & 0 deletions src/util/corePlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down