@exodus/hw-common
v3.3.0
Published
The hardware wallet commons
Readme
@exodus/hw-common
This package shares the commons Ledger & someday Trezor.
Architecture
flowchart LR
A[HardwareWalletDiscovery] -->|"list()"| B(HardwareWalletDescriptor)
B --> |"get()"| C(HardwareWalletDevice)
C --> |"getAddress()\ngetPublicKey()\n..."| D("bc1q...wvrg")HardwareWalletDiscovery: interface for device discoverylist()will return a list of discoved devices
HardwareWalletDescriptor: interface to uniquely identify a device and offers factory forHardwareWalletDeviceget()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
