Skip to content

Commit

Permalink
Feat/12 word warning (#414)
Browse files Browse the repository at this point in the history
* Fix dapp login

* Add more warnings on key export
  • Loading branch information
ChewingGlass authored Aug 10, 2023
1 parent 9e21947 commit fed130d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/features/dappLogin/DappLoginScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ const makeBurnTxn = async (opts: { payerB58: string }) => {
const txn = new TokenBurnV1({
amount: 1,
payer: Address.fromB58(payerB58),
payee: Address.fromB58(payerB58),
// TODO: This must not be a global const or checksum fails for some reason??
// This whole login process should go away anyway.
payee: Address.fromB58(
'13PuqyWXzPYeXcF1B9ZRx7RLkEygeL374ZABiQdwRSNzASdA1sn',
),
nonce: 0,
memo: '',
})
Expand Down
4 changes: 2 additions & 2 deletions src/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -804,14 +804,14 @@ export default {
alertTitle: 'Are you sure?',
done: 'Done',
subtitle:
'<secondaryText>Do not share your private key!</secondaryText><red500>\n\nIf someone has your private key they will have full control of your wallet!</red500>',
'<secondaryText>Do not share your private key!</secondaryText><red500>\n\nIf someone has your private key they will have full control of your wallet! Do not enter this into any websites. Any individual asking for this key is likely a scammer.</red500>',
tap: 'Tap to reveal your private key',
title: 'Your Private Key',
},
revealWords: {
next: 'I have written these down',
subtitle:
'<secondaryText>It is crucial you write all of these\n{{numWords}} words down, in order.</secondaryText><red500>\n\nHelium cannot recover these words.</red500>',
'<secondaryText>Never give these words to anyone, or enter them into any website. <red500>Any person or website asking for these words is likely a scammer</red500>. It is crucial you write all of these\n{{numWords}} words down, in order, and keep them safe.</secondaryText><red500>\n\nHelium cannot recover these words.</red500>',
title: 'Your {{numWords}} Word Password',
warning: 'Helium cannot recover these words',
},
Expand Down
1 change: 1 addition & 0 deletions src/utils/linking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const authenticatedLinking: LinkingOptions<RootStackParamList> = {
LinkWallet: 'link_wallet',
SignHotspot: 'sign_hotspot',
PaymentScreen: 'payment',
DappLoginScreen: 'dapp_login',
ImportPrivateKey: 'import_key/:key',
},
},
Expand Down

0 comments on commit fed130d

Please sign in to comment.