# trezor-connect

> High-level javascript interface for Trezor hardware wallet.

Latest version **8.2.12** (published 2022-12-06) · SEE LICENSE IN LICENSE.md license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install trezor-connect
pnpm add trezor-connect
yarn add trezor-connect
bun add trezor-connect
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 8.2.12 |
| Published | 2022-12-06 |
| First published | 2018-03-02 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE.md |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 493.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 347 |
| Author | Trezor |
| Maintainers | martin_varmuza, prusnak, szymonlesisz, tsusanka-sl, matejkriz, trezor-ci, tsusanka, tomasklim |
| Keywords | Trezor, trezor-connect, javascript |

## Links

- npm: https://www.npmjs.com/package/trezor-connect
- Repository: https://github.com/trezor/connect
- Issues: https://github.com/trezor/connect/issues
- npm.io page: https://npm.io/package/trezor-connect

## Dependencies (3)

- [events](https://npm.io/package/events.md) ^3.3.0
- [cross-fetch](https://npm.io/package/cross-fetch.md) ^3.1.5
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.15.4

## Recent versions

- 8.2.12 (latest) — 2022-12-06
- 8.2.12-extended (extended) — 2022-12-06
- 8.2.9-beta.2 (beta) — 2022-05-17
- 5.0.32 (ethereum-blockbook) — 2018-09-18
- 8.2.11-extended — 2022-08-24
- 8.2.11 — 2022-08-24
- 8.2.10-extended — 2022-07-18
- 8.2.10 — 2022-07-18
- 8.2.9-extended — 2022-06-14
- 8.2.9 — 2022-06-14
- 8.2.9-beta.3 — 2022-06-02
- 8.2.9-beta.1 — 2022-04-14
- 8.2.8-extended — 2022-04-13
- 8.2.8 — 2022-04-13
- 8.2.8-beta.4 — 2022-03-30
- … 202 more at https://npm.io/package/trezor-connect/versions

## README

# :warning: 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.

* [Trezor Connect](https://github.com/trezor/trezor-suite/tree/develop/packages/connect)
* [@trezor/connect NPM](https://www.npmjs.com/package/@trezor/connect)

## New NPM package
NPM package [trezor-connect](https://www.npmjs.com/package/trezor-connect) will not receive any v9 changes. v9 changes are only available at NPM package [@trezor/connect](https://www.npmjs.com/package/@trezor/connect).

# Trezor Connect API version 8.2.12
[![Build Status](https://github.com/trezor/connect/actions/workflows/tests.yml/badge.svg)](https://github.com/trezor/connect/actions/workflows/tests.yml)
[![NPM](https://img.shields.io/npm/v/trezor-connect.svg)](https://www.npmjs.org/package/trezor-connect)
[![Known Vulnerabilities](https://snyk.io/test/github/trezor/connect/badge.svg?targetFile=package.json)](https://snyk.io/test/github/trezor/connect?targetFile=package.json)

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`

* [Integration](docs/index.md)
* [Development](https://wiki.trezor.io/Developers_guide:Trezor_Connect_API)

## Issues
Please report any issues directly in our [Trezor Suite monorepo](https://github.com/trezor/trezor-suite/issues) 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](./tests/README.md).

---
_Source: https://npm.io/package/trezor-connect · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
