@secux/transport-webble
TypeScript icon, indicating that this package has built-in type declarations

3.3.2 • Public • Published

@secux/transport-webble

Secux Hardware Wallet webBLE API for communication layer

Usage

import { SecuxWebBLE } from "@secux/transport-webble";

const device = await SecuxWebBLE.Create(
    () => console.log("connected"),
    () => console.log("disconnected")
);

await device.Connect();

const otp = prompt("Please enter otp showing on SecuX Hardware Wallet");
await device.SendOTP(otp);

...

await device.Disconnect();

Readme

Keywords

Package Sidebar

Install

npm i @secux/transport-webble

Weekly Downloads

3

Version

3.3.2

License

Apache-2.0

Unpacked Size

28.1 kB

Total Files

7

Last publish

Collaborators

  • rus7hex