@onekeyfe/hd-web-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-alpha.13 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @onekeyfe/hd-web-sdk

Weekly Downloads

409

Version

1.0.0-alpha.13

License

ISC

Unpacked Size

22.4 MB

Total Files

52

Last publish

Collaborators

  • 1keyfe
  • loatheb