@onekeyfe/hd-web-sdk
v1.0.16
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.
Downloads
3,207
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-sdk
or
yarn add @onekeyfe/hd-web-sdk
Initialization
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