Trezor.io/Start | Starting® Up® Your® Device®

Developers building integrations or using Trezor for automated signing should follow testing best practices, use testnets, and isolate developer keys from production assets.

Developer environment

Install the official libraries and Trezor Bridge if required. Use emulators and testnets first. Never develop against a mainnet wallet with significant funds connected to your test harness.

Key handling

Trezor devices keep private keys on the device and expose only signatures. Your integration should request signatures and verify addresses locally. Build your UI to show the important information for users to confirm on-device.

Test signing workflow

Use a separate test wallet and seed and run scripted signing flows to confirm your integration. Validate address derivation paths and confirm replay protection where applicable.

Continuous security

Include static analysis and code reviews for any code that constructs transactions. Encourage users to verify addresses and amounts on the device screen rather than relying on host UI alone.

// Example: pseudo flow
const tx = buildTransaction(...);
const sig = await device.sign(tx);
verifySignature(sig, tx);