Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggest enhancing chain address verification #2194

Open
adivated opened this issue Mar 19, 2021 · 0 comments
Open

Suggest enhancing chain address verification #2194

adivated opened this issue Mar 19, 2021 · 0 comments
Labels
enhancement New feature or request UI

Comments

@adivated
Copy link

e.g. in BlockchainAddresses.tsx, etc. to:

const VALIDATION_SCHEMA = Yup.object().shape({
blockchainAccountAddress: Yup.string()
.label(t('user.properties.blockchainAddress'))
.test(
t('user.properties.blockchainAddress'),
t('user.validationMessages.invalidBlockchainAddress'),
function (value) {
return ethers.utils.isAddress(value);
}
)
});

@josipbagaric josipbagaric added enhancement New feature or request UI labels Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request UI
Projects
None yet
Development

No branches or pull requests

2 participants