@exodus/hw-common
This package shares the commons Ledger & someday Trezor.
Architecture
HardwareWalletDiscovery
: interface for device discoverylist()
will return a list of discoved devices
HardwareWalletDescriptor
: interface to uniquely identify a device and offers factory forHardwareWalletDevice
get()
will return an instance of a device
HardwareWalletDevice
: interface for common actions such as getting addresses, public keys and signing.getAddress(...)
for example, would get an address based on theassetName