Skip to content
  • Tarik Gul's avatar
    feat: add /accounts/:address/validate endpoint (#726) · 77bf8edb
    Tarik Gul authored
    
    
    * 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: default avatarZeke Mostov <[email protected]>
    
    * Update src/services/accounts/AccountsValidateService.spec.ts
    
    Co-authored-by: default avatarZeke Mostov <[email protected]>
    
    * Update src/services/accounts/AccountsValidateService.spec.ts
    
    Co-authored-by: default avatarZeke Mostov <[email protected]>
    
    * Update src/services/accounts/AccountsValidateService.ts
    
    Co-authored-by: default avatarDavid <[email protected]>
    
    * update docs
    
    * add proper error handling for base58decode
    
    * docs
    
    Co-authored-by: default avatarZeke Mostov <[email protected]>
    Co-authored-by: default avatarDavid <[email protected]>
    77bf8edb