Quick Access
Coin Methods
Bitcoin
Miscellaneous
Getting started

Integrate Trezor devices with your project

Explore Trezor Connect SDKs

Trezor Connect is a tool for seamless integration of Trezor hardware wallet with third-party apps and extensions. Built with a developer-friendly interface, it ensures secure interactions for Trezor users within these apps.

There are couple of options how to integrate Trezor devices with your project. This page walks you through installation and lets you explore SDK API.

Quick start

Choose your environment

Depending on your environment you need to chose the right package and follow the particular guide:

Node.js

Node.js

README

View on Github

connect schema when used in node

About

In Node.js the core SDK is loaded as a JavaScript module without any specificities. This allows native or CLI applications to directly interact with Trezor devices.

Web

Web
DOM required

README

View on Github

Suite desktop is focused and popup is presented to user

About

@trezor/connect-web ships a thin API layer that routes requests to one of two runtime modes: Suite Desktop WebSocket (preferred when Suite Desktop is running) or Suite Web popup hosted on connect.trezor.io. User input (PIN, passphrase, confirmations) is handled inside Suite Desktop or the popup, isolated from your application.

Web extension

Web extension
Using service worker

README

View on Github

connect schema when used in webextension

About

In case of @trezor/connect-webextension, TrezorConnect object is created in a service worker. In this env we can't inject iframe so we use a mode similar to popup mode in @trezor/connect-web, where we load SDK logic in the popup. This however does not build persistent connection between SDK and 3rd party application meaning that events cannot be used.

Learn step-by-step

Learn how to integrate the @trezor/connect-webextension package into a Chrome extension, allowing secure connection to Trezor hardware wallets. By the end, you'll have a fully functional web extension.

Open Tutorial →

Examples:

Mobile

Mobile
Using deep linking

README

View on Github

connect schema when used in deeplink

About

@trezor/connect-mobile is a package that allows you to communicate with Trezor devices from your mobile app. This package is somewhat different from the other SDKs, as it doesn't provide a direct API to the device. Instead, it uses deep linking to open the Trezor Suite app and communicate with the device.

Use deep linking without SDK

If you are not able to use the SDK, for example on non-supported platforms, you can still use deep linking to open the Trezor Suite app and communicate with the device.

This can be done by implementing the following specification.

Deep linking specification

Examples: