High-level javascript interface for Trezor hardware wallet.


Keywords
Trezor, trezor-connect, javascript, bitcoin
License
ICU
Install
npm install trezor-connect@8.2.12-extended

Documentation

⚠️ Maintenance Mode

Trezor Connect v8 is under maintenance mode, all new development efforts are focused on v9. New integrations are recommended to start with v9.

New NPM package

NPM package trezor-connect will not receive any v9 changes. v9 changes are only available at NPM package @trezor/connect.

Trezor Connect API version 8.2.12

Build Status NPM Known Vulnerabilities

Trezor Connect is a platform for easy integration of Trezor into 3rd party services. It provides API with functionality to access public keys, sign transactions and authenticate users. User interface is presented in a secure popup window served from https://connect.trezor.io/8/popup.html

Issues

Please report any issues directly in our Trezor Suite monorepo and apply the connect label.

Versions

We started tagging versions and releasing them to separate URLs, so we don't break any existing (and working) integrations.

Currently, we are at version 8, which has an url https://connect.trezor.io/8/trezor-connect.js. If you would like to find out which version is deployed precisely simply run:

curl -s https://connect.trezor.io/8/trezor-connect.js | grep VERSION

With regards to this repo - All updates should go to current version branch, the previous releases are in corresponding branches. The gh-pages is the same older version, that is used at trezor.github.io/connect/connect.js, and it's there for backwards compatibility; please don't touch.

Tests

For integration testing against trezord and emulator refer to this document.