@trezor/transport

1.3.2 • Public • Published

@trezor/transport

NPM

Library for low-level communication with Trezor.

Intended as a "building block" for other packages - it is used in trezor.js (deprecated) and @trezor/connect.

You probably don't want to use this package directly. For communication with Trezor via a more high-level API, use @trezor/connect.

What is the purpose

  • translate JSON payloads to binary messages using protobuf definitions comprehensible to Trezor devices
  • chunking and reading chunked messages according to the Trezor protocol
  • exposing single API for various transport methods:
    • Trezor Bridge
    • WebUSB

Publishing

This package is published to npm registry because it is a dependency of @trezor/connect which can be installed as a standalone package.

Follow instructions how to publish @trezor package to npm registry.

Readme

Keywords

Package Sidebar

Install

npm i @trezor/transport

Weekly Downloads

36,069

Version

1.3.2

License

SEE LICENSE IN LICENSE.md

Unpacked Size

174 kB

Total Files

66

Last publish

Collaborators

  • martin_varmuza
  • prusnak
  • tsusanka-sl
  • trezor-ci