@onekeyfe/hd-web-sdk
v1.1.22
Published
`@onekeyfe/hd-web-sdk` is a browser implementation of hardware-sdk that creates an iframe and communicates with transport through the iframe to avoid cross-domain issues.
Readme
@onekeyfe/hd-web-sdk
@onekeyfe/hd-web-sdk is a browser implementation of hardware-sdk that creates an iframe and communicates with transport through the iframe to avoid cross-domain issues.
Installation
Install library as npm module:
npm install @onekeyfe/hd-web-sdkor
yarn add @onekeyfe/hd-web-sdkInitialization
import { HardwareSDK } from '@onekeyfe/hd-web-sdk';
function init() {
HardwareSDK.init({
debug: false,
connectSrc: 'https://jssdk.onekey.so/'
});
}Docs
Documentation is available hardware-js-sdk
