feat: add /accounts/:address/validate endpoint (#726)
* add ValidateAddressService * add ValidateAddressController * add AccountsValidate to polkadot, westend, and kusama * imports * add kusama chain config * fix response * fix networkInfo bug * lint * get tests started * change the name of the service * cleanup, lint, fix build, test boilerplate * update the tests * more tests * use hexToU8a for hex conversion * add tests for hex values * cleanup * docs * add AccountsValidate controller to other chains-config * remove networkId * update tests * ValidateAddrResponse -> IValidateAddrResponse * typos * ss58Decoded -> ss58Prefix * inline docs for validate address * update docs * cleanup testws * Update src/services/accounts/AccountsValidateService.spec.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/accounts/AccountsValidateService.spec.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/accounts/AccountsValidateService.spec.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/accounts/AccountsValidateService.ts Co-authored-by: David <[email protected]> * update docs * add proper error handling for base58decode * docs Co-authored-by: Zeke Mostov <[email protected]> Co-authored-by: David <[email protected]>
Please register or sign in to comment