diff --git a/packages/page-accounts/src/Accounts/modals/Create.tsx b/packages/page-accounts/src/Accounts/modals/Create.tsx index a5e6b61c53..2edc7e76dd 100644 --- a/packages/page-accounts/src/Accounts/modals/Create.tsx +++ b/packages/page-accounts/src/Accounts/modals/Create.tsx @@ -233,6 +233,7 @@ function Create ({ className, onClose, onStatusChange, seed: propsSeed, type: pr {address && isConfirmationOpen && ( )} - - - - + + - - - - - + + + + + + +

{t('The name for this account and how it will appear under your addresses. With an on-chain identity, it can be made available to others.')}

+
+
+ + /////". The "/" and "//" may be repeated and mixed`. The "///password" is optional and should only occur once.')} - isError={!!deriveError} - label={t('secret derivation path')} - onChange={_onChangeDerive} + help={t('The private key for your account is derived from this seed. This seed must be kept secret as anyone in its possession has access to the funds of this account. If you validate, use the seed of the session account as the "--key" parameter of your node.')} + isAction + isError={!isSeedValid} + isReadOnly={seedType === 'dev'} + label={ + seedType === 'bip' + ? t('mnemonic seed') + : seedType === 'dev' + ? t('development seed') + : t('seed (hex or string)') + } + onChange={_onChangeSeed} onEnter={_onCommit} - placeholder={t('//hard/soft///password')} - value={derivePath} + value={seed} + > + + + + +

{t('The secret seed value for this account. Ensure that you keep this in a safe place, with access to the seed you can re-create the account.')}

+
+
+ + + - {deriveError && ( -
{deriveError}
- )} -
-
+ +
+ +

{t('The password and password confirmation for this account. This is required to authenticate any transactions made and to encrypt the keypair.')}

+
+ + + + + + + +

{t('If you are moving accounts between applications, ensure that you use the correct type.')}

+
+
+ + + /////". The "/" and "//" may be repeated and mixed`. The "///password" is optional and should only occur once.')} + isError={!!deriveError} + label={t('secret derivation path')} + onChange={_onChangeDerive} + onEnter={_onCommit} + placeholder={ + pairType === 'sr25519' + ? t('//hard/soft///password') + : t('//hard///password') + } + value={derivePath} + /> + {deriveError && ( +
{deriveError}
+ )} +
+ +

{t('The derivation path allows you to create different accounts from the same base mnemonic.')}

+
+
+