Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Trezor Common

Common contains files shared among Trezor projects.

Coin Definitions

JSON coin definitions and support tables.

External definitions

Description of external definitions for the Ethereum and Solana tokens and the process of their generation. See External definitions.

Communication

We use Protobuf v2 for host-device communication. The communication cycle is simple. Trezor receives a message (request), acts on it, and responds with another one (response). Trezor on its own is incapable of initiating the communication.

Protobuf Definitions

Protobuf messages are defined in the Common project, which is part of this monorepo. This repository is also exported to trezor/trezor-common to be used by third parties, which prefer not to include the whole monorepo. That copy is a read-only mirror and all changes are happening in this monorepo.

Tools

Tools for managing coin definitions and related data.

Message Workflows