Skip to content
Draft
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 @@ -5,6 +5,7 @@
- added: `chooseCaip19Asset` EdgeProvider API for precise wallet selection using CAIP-19 identifiers
- added: Pass OS and app version details to core context for v2/coreRollup endpoint
- added: EdgeSpend feature for gift card purchase via Phaze
- added: Monad (MON) support
- changed: Append chain names to token codes in RampCreateScene
- changed: ramps: Infinite buy support enabled

Expand Down
11 changes: 11 additions & 0 deletions src/constants/WalletAndCurrencyConstants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -926,6 +926,17 @@ export const SPECIAL_CURRENCY_INFO: Record<string, SpecialCurrencyInfo> = {
reference: '999'
}
},
monad: {
initWalletName: lstrings.string_first_monad_wallet_name,
dummyPublicAddress: '0x0d73358506663d484945ba85d0cd435ad610b0a0',
allowZeroTx: true,
displayBuyCrypto: false,
isImportKeySupported: true,
walletConnectV2ChainId: {
namespace: 'eip155',
reference: '143'
}
},
sepolia: {
initWalletName: lstrings.string_first_sepolia_wallet_name,
dummyPublicAddress: '0x0d73358506663d484945ba85d0cd435ad610b0a0',
Expand Down
1 change: 1 addition & 0 deletions src/envConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ export const asEnvConfig = asObject({
edgeApiKey: asOptional(asString, '')
}).withRest
),
MONAD_INIT: asCorePluginInit(asEvmApiKeys),
OPTIMISM_INIT: asCorePluginInit(asEvmApiKeys),
OSMOSIS_INIT: asCorePluginInit(asEvmApiKeys),
PIVX_INIT: asCorePluginInit(
Expand Down
1 change: 1 addition & 0 deletions src/locales/en_US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@ const strings = {
string_first_zksync_wallet_name: 'My zkSync',
string_first_abstract_wallet_name: 'My Abstract',
string_first_sepolia_wallet_name: 'My Sepolia',
string_first_monad_wallet_name: 'My Monad',
string_first_sonic_wallet_name: 'My Sonic',
my_crypto_wallet_name: 'My %s',
string_help: 'Help',
Expand Down
1 change: 1 addition & 0 deletions src/locales/strings/enUS.json
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,7 @@
"string_first_zksync_wallet_name": "My zkSync",
"string_first_abstract_wallet_name": "My Abstract",
"string_first_sepolia_wallet_name": "My Sepolia",
"string_first_monad_wallet_name": "My Monad",
"string_first_sonic_wallet_name": "My Sonic",
"my_crypto_wallet_name": "My %s",
"string_help": "Help",
Expand Down
1 change: 1 addition & 0 deletions src/util/corePlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const currencyPlugins: EdgeCorePluginsInit = {
hyperevm: ENV.HYPEREVM_INIT,
liberland: ENV.LIBERLAND_INIT,
liberlandtestnet: false,
monad: ENV.MONAD_INIT,
optimism: ENV.OPTIMISM_INIT,
osmosis: ENV.OSMOSIS_INIT,
piratechain: true,
Expand Down
Loading