diff --git a/CHANGELOG.md b/CHANGELOG.md index e900f48539f..91d4cd0069f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ## 4.51.0 (staging) +- added: Robinhood Chain wallets - added: Push info-server attestation tokens into edge-core-js via `setAttestationToken` so the login server can skip CAPTCHA for attested devices, and allow `LOGIN_SERVER` / `INFO_SERVER` env overrides for local E2E stacks. - added: App/device attestation for gated info-server requests - added: Swapter swap provider diff --git a/src/constants/WalletAndCurrencyConstants.ts b/src/constants/WalletAndCurrencyConstants.ts index 4e43c3d4191..67f39dbcc17 100644 --- a/src/constants/WalletAndCurrencyConstants.ts +++ b/src/constants/WalletAndCurrencyConstants.ts @@ -82,6 +82,7 @@ export const CURRENCY_SETTINGS_KEYS = [ 'pulsechain', 'qtum', 'ravencoin', + 'robinhood', 'rsk', 'sepolia', 'smartcash', @@ -150,7 +151,8 @@ export const WALLET_TYPE_ORDER = [ 'wallet:mayachain', 'wallet:monad', 'wallet:opbnb', - 'wallet:nym' + 'wallet:nym', + 'wallet:robinhood' ] export interface WalletSettingOption { @@ -559,6 +561,17 @@ export const SPECIAL_CURRENCY_INFO: Record = { reference: '8453' } }, + robinhood: { + initWalletName: lstrings.string_first_robinhood_wallet_name, + dummyPublicAddress: '0x0d73358506663d484945ba85d0cd435ad610b0a0', + allowZeroTx: true, + isImportKeySupported: true, + showChainIcon: true, + walletConnectV2ChainId: { + namespace: 'eip155', + reference: '4663' + } + }, filecoin: { initWalletName: lstrings.string_first_filecoin_wallet_name, allowZeroTx: false, diff --git a/src/envConfig.ts b/src/envConfig.ts index 3f3f1836df7..6e488c03033 100644 --- a/src/envConfig.ts +++ b/src/envConfig.ts @@ -405,6 +405,7 @@ export const asEnvConfig = asObject({ referrerFee: asOptional(asString, '0.75') }).withRest ), + ROBINHOOD_INIT: asCorePluginInit(asEvmApiKeys), RSK_INIT: asCorePluginInit(asEvmApiKeys), SEPOLIA_INIT: asCorePluginInit(asEvmApiKeys), SIDESHIFT_INIT: asCorePluginInit( diff --git a/src/locales/en_US.ts b/src/locales/en_US.ts index 51f82a5058b..dd82e28424c 100644 --- a/src/locales/en_US.ts +++ b/src/locales/en_US.ts @@ -824,6 +824,7 @@ const strings = { string_first_sepolia_wallet_name: 'My Sepolia', string_first_sonic_wallet_name: 'My Sonic', string_first_opbnb_wallet_name: 'My opBNB', + string_first_robinhood_wallet_name: 'My Robinhood Chain', my_crypto_wallet_name: 'My %s', string_help: 'Help', string_exit: 'Exit', diff --git a/src/locales/strings/enUS.json b/src/locales/strings/enUS.json index ecfa739a196..05560662374 100644 --- a/src/locales/strings/enUS.json +++ b/src/locales/strings/enUS.json @@ -637,6 +637,7 @@ "string_first_sepolia_wallet_name": "My Sepolia", "string_first_sonic_wallet_name": "My Sonic", "string_first_opbnb_wallet_name": "My opBNB", + "string_first_robinhood_wallet_name": "My Robinhood Chain", "my_crypto_wallet_name": "My %s", "string_help": "Help", "string_exit": "Exit", diff --git a/src/util/corePlugins.ts b/src/util/corePlugins.ts index 7d0c9b06fdb..b7ff59487c3 100644 --- a/src/util/corePlugins.ts +++ b/src/util/corePlugins.ts @@ -47,6 +47,7 @@ export const currencyPlugins: EdgeCorePluginsInit = { polygon: ENV.POLYGON_INIT, pulsechain: ENV.PULSECHAIN_INIT, ripple: true, + robinhood: ENV.ROBINHOOD_INIT, rsk: ENV.RSK_INIT, sepolia: ENV.SEPOLIA_INIT, solana: ENV.SOLANA_INIT,