# `@ukeyfe/hardware-web-sdk`

`@ukeyfe/hardware-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:

```javascript
npm install @ukeyfe/hardware-web-sdk
```

or

```javascript
yarn add @ukeyfe/hardware-web-sdk
```

## Initialization

```javascript
import { HardwareSDK } from '@ukeyfe/hardware-web-sdk';

function init() {
  HardwareSDK.init({
    debug: false,
    connectSrc: 'https://jssdk.ukey.io/'
  });
}
```

## Docs

Documentation is available [hardware-js-sdk](https://developer.ukey.io/connect-to-hardware/hardware-sdk/start)
