diff --git a/android/app/src/main/res/drawable-xxhdpi/exchange_logo_changehero.png b/android/app/src/main/res/drawable-xxhdpi/exchange_logo_changehero.png new file mode 100644 index 00000000000..7e24afe270f Binary files /dev/null and b/android/app/src/main/res/drawable-xxhdpi/exchange_logo_changehero.png differ diff --git a/android/app/src/main/res/drawable-xxxhdpi/exchange_logo_changehero.png b/android/app/src/main/res/drawable-xxxhdpi/exchange_logo_changehero.png new file mode 100644 index 00000000000..df9cf696e1c Binary files /dev/null and b/android/app/src/main/res/drawable-xxxhdpi/exchange_logo_changehero.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/exchange_logo_changehero.png b/android/app/src/main/res/mipmap-mdpi/exchange_logo_changehero.png new file mode 100644 index 00000000000..d4f056b46f9 Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/exchange_logo_changehero.png differ diff --git a/env.example.json b/env.example.json index d95d28a461f..d3cb78ae700 100644 --- a/env.example.json +++ b/env.example.json @@ -53,6 +53,10 @@ "X_COINSWITCH_INIT": { "apiKey": "xxxx" }, + "X_CHANGEHERO_INIT": { + "apiKey": "xxxx", + "secret": "xxxx" + }, "-------- app options --------": 0, "DEBUG_CORE_BRIDGE": false, diff --git a/ios/SplashScreenResource/exchange_logo_changehero.png b/ios/SplashScreenResource/exchange_logo_changehero.png new file mode 100644 index 00000000000..72602921cc1 Binary files /dev/null and b/ios/SplashScreenResource/exchange_logo_changehero.png differ diff --git a/ios/SplashScreenResource/exchange_logo_changehero@2x.png b/ios/SplashScreenResource/exchange_logo_changehero@2x.png new file mode 100644 index 00000000000..f6e245eb40c Binary files /dev/null and b/ios/SplashScreenResource/exchange_logo_changehero@2x.png differ diff --git a/ios/SplashScreenResource/exchange_logo_changehero@3x.png b/ios/SplashScreenResource/exchange_logo_changehero@3x.png new file mode 100644 index 00000000000..a3c56bc1dc7 Binary files /dev/null and b/ios/SplashScreenResource/exchange_logo_changehero@3x.png differ diff --git a/src/assets/images/exchange/exchange_logo_changehero.png b/src/assets/images/exchange/exchange_logo_changehero.png new file mode 100644 index 00000000000..862ec63e56f Binary files /dev/null and b/src/assets/images/exchange/exchange_logo_changehero.png differ diff --git a/src/assets/images/exchange/exchange_logo_changehero@2x.png b/src/assets/images/exchange/exchange_logo_changehero@2x.png new file mode 100644 index 00000000000..abbef56dc28 Binary files /dev/null and b/src/assets/images/exchange/exchange_logo_changehero@2x.png differ diff --git a/src/assets/images/exchange/exchange_logo_changehero@3x.png b/src/assets/images/exchange/exchange_logo_changehero@3x.png new file mode 100644 index 00000000000..6dcbece376e Binary files /dev/null and b/src/assets/images/exchange/exchange_logo_changehero@3x.png differ diff --git a/src/assets/images/exchange/index.js b/src/assets/images/exchange/index.js index 4edcaed12cd..f3cc58066ef 100644 --- a/src/assets/images/exchange/index.js +++ b/src/assets/images/exchange/index.js @@ -1,5 +1,6 @@ // @flow +import changeheroFullLogo from './exchange_logo_changehero.png' import changellyFullLogo from './exchange_logo_changelly.png' import changenowFullLogo from './exchange_logo_changenow.png' import coinswitchFullLogo from './exchange_logo_coinswitch.png' @@ -8,6 +9,7 @@ import foxExchangeFullLogo from './exchange_logo_fox_exchange.png' import godexFullLogo from './exchange_logo_godex.png' import shapeshiftFullLogo from './exchange_logo_shapeshift.png' import totleFullLogo from './exchange_logo_totle.png' +import changeheroLogo from './settingsExchangeChangeHero.png' import changellyLogo from './settingsExchangeChangelly.png' import changenowLogo from './settingsExchangeChangenow.png' import coinswitchLogo from './settingsExchangeCoinswitch.png' @@ -32,7 +34,8 @@ export const swapPluginIcons = { foxExchange: foxExchangeLogo, godex: godexLogo, shapeshift: shapeshiftLogo, - totle: totleLogo + totle: totleLogo, + changehero: changeheroLogo } // Big logos for the quote scene: @@ -44,5 +47,6 @@ export const swapPluginLogos = { foxExchange: foxExchangeFullLogo, godex: godexFullLogo, shapeshift: shapeshiftFullLogo, - totle: totleFullLogo + totle: totleFullLogo, + changehero: changeheroFullLogo } diff --git a/src/assets/images/exchange/settingsExchangeChangehero.png b/src/assets/images/exchange/settingsExchangeChangehero.png new file mode 100644 index 00000000000..ece64a83e78 Binary files /dev/null and b/src/assets/images/exchange/settingsExchangeChangehero.png differ diff --git a/src/components/services/ContactsLoader.js b/src/components/services/ContactsLoader.js index 5a4df04c450..a678cbccf48 100644 --- a/src/components/services/ContactsLoader.js +++ b/src/components/services/ContactsLoader.js @@ -170,6 +170,18 @@ const merchantPartners = [ jobTitle: '', familyName: '', recordID: '' + }, + { + givenName: 'ChangeHero', + hasThumbnail: true, + thumbnailPath: 'https://developer.edge.app/content/changehero.png', + emailAddresses: [], + postalAddresses: [], + middleName: '', + company: '', + jobTitle: '', + familyName: '', + recordID: '' } ] diff --git a/src/util/corePlugins.js b/src/util/corePlugins.js index b35591a2213..efb20a55ce0 100644 --- a/src/util/corePlugins.js +++ b/src/util/corePlugins.js @@ -79,7 +79,8 @@ export const swapPlugins = { foxExchange: ENV.FOX_INIT, godex: ENV.GODEX_INIT, shapeshift: ENV.SHAPESHIFT_INIT, - totle: ENV.TOTLE_INIT + totle: ENV.TOTLE_INIT, + changehero: ENV.CHANGEHERO_INIT } export const allPlugins = {