Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 592 Bytes

index.md

File metadata and controls

41 lines (30 loc) · 592 Bytes

Installation

Install library as npm module:

npm install trezor-connect

or

yarn add trezor-connect

Include library as inline script:

<script src="https://connect.trezor.io/5/trezor-connect.js"></script>

Initialization

ES6

import TrezorConnect from 'trezor-connect';

CommonJS

var TrezorConnect = require('trezor-connect').default;

Inline

var TrezorConnect = window.TrezorConnect;

API methods

Handling events