Open szymonlesisz opened 4 years ago
It would be also great to have some util to parse valid URL strings and extract protocol, domain or suffix from it
few duplicates are still there, files were moved to a different directory:
like validateAddress vs isAddressValid. or hex validation functions defined here and there
https://github.com/trezor/trezor-suite/blob/develop/suite-common/wallet-utils/src/ethUtils.ts
https://github.com/trezor/trezor-suite/blob/develop/suite-common/wallet-utils/src/validation.ts
https://github.com/trezor/trezor-suite/blob/develop/packages/suite/src/utils/wallet/ethUtils.ts
https://github.com/trezor/trezor-suite/blob/develop/packages/suite/src/utils/wallet/validation.ts
https://github.com/trezor/trezor-suite/blob/develop/packages/suite/src/utils/suite/validators.ts