blzjs icon indicating copy to clipboard operation
blzjs copied to clipboard

Legacy Coin Type flag to BLZJS

Open DevonSangha opened this issue 4 years ago • 0 comments

Added legacy coin flag to BlZconfig, API constructor, called legacyCoin flag in mnemonicToAddress to allow for dynamic coin type selection(legacy or new)

Second path option in setPath changed to 483 coin type

API legacyCoin property set properly, current error: setPath has implicitly 'any' type

Fixed implicit any error

properties added and legacyCoin called in setPath, setPath is considered unresolved, API still works without flag change from default, but returns nothing when flag is set

changed cosmos declaration type to 'unknown'

Ternary operator set in mnemonicToAddress function, legacyCoin type still works, new coin type throws an exception

legacyCoin flag works when assigned true, but c.setPath does not when called on a path that includes new coin type error: pubKey does not match signer address

Legacy coin flag is working, set to false by default, added getPath global function to allow address generation and signing with coin type

DevonSangha avatar Jun 29 '21 00:06 DevonSangha