Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@trezor/connect

Package Overview
Dependencies
Maintainers
6
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trezor/connect

High-level javascript interface for Trezor hardware wallet.

  • 9.0.11
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
55K
decreased by-11.53%
Maintainers
6
Weekly downloads
 
Created
Source

@trezor/connect

API version 9.0.11

Build Status NPM Known Vulnerabilities

Trezor Connect is a platform for easy integration of Trezor into 3rd party services, as well as into Trezor Suite. It provides an API with functionality to access public keys, sign transactions and authenticate users.

This package is intended to be used in node.js environment. If you wan't to build a web application please refer to @trezor/connect-web package.

Installation

Install library as npm module:

npm install @trezor/connect

or

yarn add @trezor/connect

Initialization

ES6

import TrezorConnect from '@trezor/connect';

For more instructions refer to this document

Version 9 (stable)

Since version 9 we are adopting a new versioning strategy. With every release, we are going to update two urls

Version 9 is available as @trezor/connect and @trezor/connect-web npm packages.

Version 8 (legacy)

Legacy version 8 is accessible from url https://connect.trezor.io/8/trezor-connect.js.

Version 8 is available as trezor-connect npm package.

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.

For deployment process of trezor-connect v8 refer to trezor/connect repository

Docs

Interactive API explorer is available on https://connect.trezor.io/9/#/

Documentation is available docs/packages/connect

Examples

A collection of examples on how to implement @trezor/connect in various environments is available in packages/connect-examples

Tests

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

Keywords

FAQs

Package last updated on 24 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc