@onekeyfe/hd-common-connect-sdk
is a libarary that runs in the node enviroment. And communicates with transport in the normal way.
Install library as npm module:
npm install @onekeyfe/hd-common-connect-sdk
or
yarn add @onekeyfe/hd-common-connect-sdk
import HardwareSDK from '@onekeyfe/hd-common-connect-sdk';
function init() {
HardwareSDK.init({
debug: false,
});
}
Documentation is available hardware-js-sdk
// TODO: add example url