Skip to content
Merged
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 @@ -6,6 +6,7 @@
- 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
- 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.
- changed: Sign MoonPay buy/sell widget URLs and bind them to the customer's IP via the info server, for MoonPay's on-ramp IP-matching security upgrade.
- changed: Style the entire "Already have an account? Sign in" line in the getting-started USP carousel with the tertiary link color, not just "Sign in".
- changed: Refresh the buy, sell, sort, scan-QR and FIO names icons to the updated design.
Expand Down
9 changes: 9 additions & 0 deletions src/actions/WalletListMenuActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export type WalletListMenuKey =
| 'exportWalletTransactions'
| 'getSeed'
| 'manageTokens'
| 'signMessage'
| 'viewXPub'
| 'goToParent'
| 'getRawKeys'
Expand Down Expand Up @@ -76,6 +77,14 @@ export function walletListMenuAction(
}
}

case 'signMessage': {
return async (dispatch, getState) => {
navigation.navigate('signMessage', {
walletId
})
}
}

case 'rawDelete': {
return async (dispatch, getState) => {
const state = getState()
Expand Down
9 changes: 9 additions & 0 deletions src/components/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ import { ReviewTriggerTestScene } from './scenes/ReviewTriggerTestScene'
import { SecurityAlertsScene as SecurityAlertsSceneComponent } from './scenes/SecurityAlertsScene'
import { SendScene2 as SendScene2Component } from './scenes/SendScene2'
import { SettingsScene as SettingsSceneComponent } from './scenes/SettingsScene'
import { SignMessageScene as SignMessageSceneComponent } from './scenes/SignMessageScene'
import { SpendingLimitsScene as SpendingLimitsSceneComponent } from './scenes/SpendingLimitsScene'
import { EarnScene as EarnSceneComponent } from './scenes/Staking/EarnScene'
import { StakeModifyScene as StakeModifySceneComponent } from './scenes/Staking/StakeModifyScene'
Expand Down Expand Up @@ -283,6 +284,7 @@ const SecurityAlertsScene = ifLoggedIn(SecurityAlertsSceneComponent)
const SellScene = ifLoggedIn(SellSceneComponent)
const SendScene2 = ifLoggedIn(SendScene2Component)
const SettingsScene = ifLoggedIn(SettingsSceneComponent)
const SignMessageScene = ifLoggedIn(SignMessageSceneComponent)
const SpendingLimitsScene = ifLoggedIn(SpendingLimitsSceneComponent)
const StakeModifyScene = ifLoggedIn(StakeModifySceneComponent)
const StakeOptionsScene = ifLoggedIn(StakeOptionsSceneComponent)
Expand Down Expand Up @@ -1101,6 +1103,13 @@ const EdgeAppStack: React.FC = () => {
title: lstrings.title_settings
}}
/>
<AppStack.Screen
name="signMessage"
component={SignMessageScene}
options={{
title: lstrings.sign_message_title
}}
/>
<AppStack.Screen
name="spendingLimits"
component={SpendingLimitsScene}
Expand Down
31 changes: 31 additions & 0 deletions src/components/modals/WalletListMenuModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const icons: Record<string, string> = {
goToParent: 'upcircleo',
manageTokens: 'plus',
rawDelete: 'warning',
signMessage: 'edit',
walletSettings: 'control-panel-settings',
resync: 'sync',
split: 'arrowsalt',
Expand Down Expand Up @@ -115,6 +116,36 @@ export const WALLET_LIST_MENU: Array<{
label: lstrings.fragment_wallets_view_xpub,
value: 'viewXPub'
},
{
Comment thread
j0ntz marked this conversation as resolved.
pluginIds: [
'badcoin',
'bitcoin',
'bitcoincash',
'bitcoincashtestnet',
'bitcoingold',
'bitcoingoldtestnet',
'bitcoinsv',
'bitcointestnet',
'bitcointestnet4',
'dash',
'digibyte',
'dogecoin',
'eboost',
'ecash',
'feathercoin',
'groestlcoin',
'litecoin',
'pivx',
'qtum',
'ravencoin',
'smartcash',
'ufo',
'vertcoin',
'zcoin'
],
Comment thread
j0ntz marked this conversation as resolved.
Comment thread
cursor[bot] marked this conversation as resolved.
label: lstrings.fragment_wallets_sign_message,
value: 'signMessage'
},
{
pluginIds: ['monero', 'piratechain', 'zcash', 'zano'],
label: lstrings.fragment_wallets_view_private_view_key,
Expand Down
Loading
Loading