I also noticed it is failing on legitimate account names:
I'm looking in the Wallet code, and this seems to be the more loose regex they're using. At some point in the future, people will be able to have the account mike on mainnet without it having to be mike.near.
I believe regex patterns need to updated to include valid subaccounts.
https://github.com/multi-safe/ui.multisafe/blob/a9d9bc2fc1fd1c6c5c62ada1c01f7ea6484a214a/src/utils/validation/CreateMultisafePage.js#L24
and potentially:
https://github.com/multi-safe/ui.multisafe/blob/a9d9bc2fc1fd1c6c5c62ada1c01f7ea6484a214a/src/utils/validation/SendFundsModal.js#L14
Note the error here that should be valid:
I also noticed it is failing on legitimate account names:
I'm looking in the Wallet code, and this seems to be the more loose regex they're using. At some point in the future, people will be able to have the account
mike
on mainnet without it having to bemike.near
.https://github.com/near/near-wallet/blob/072515eb8c2eedb75a89ddbdc94d7c86ef3c276a/packages/frontend/src/components/send/components/InputAccountId.js#L131
Note this valid account: