File tree Expand file tree Collapse file tree 4 files changed +62
-1
lines changed Expand file tree Collapse file tree 4 files changed +62
-1
lines changed Original file line number Diff line number Diff line change 104104yarn test:debug
105105```
106106
107+ #### Hardware Testing
108+
109+ For hardware wallet testing (Trezor/Ledger), see the [ Hardware Testing Guide] ( packages/wallet/HARDWARE_TESTING.md ) or use the automated setup:
110+
111+ ``` bash
112+ # Set up hardware testing environment
113+ ./packages/wallet/scripts/setup-hw-testing.sh
114+
115+ # Run hardware tests
116+ yarn test:hw:trezor
117+ yarn test:hw:ledger
118+ ```
119+
107120### Lint
108121
109122``` bash
Original file line number Diff line number Diff line change @@ -24,6 +24,18 @@ yarn add @cardano-sdk/hardware-trezor
2424- ** Trezor Bridge** - Required for USB communication
2525- ** Node.js** - Version 16.20.1 or higher
2626
27+ ### Quick Setup
28+
29+ For automated setup of the Trezor testing environment:
30+
31+ ``` bash
32+ # Set up Trezor testing environment (from wallet package)
33+ ./packages/wallet/scripts/setup-hw-testing.sh
34+
35+ # Or install Trezor Bridge only
36+ ./packages/wallet/scripts/install-trezor-bridge.sh
37+ ```
38+
2739## Quick Start
2840
2941### Basic Usage
Original file line number Diff line number Diff line change @@ -10,7 +10,31 @@ This document explains how to set up and run hardware tests for Trezor and Ledge
1010
1111## Quick Start
1212
13- ### 1. Install Trezor Bridge
13+ ### Option 1: Automated Setup (Recommended)
14+
15+ Use the provided setup script to automatically install dependencies and configure your environment:
16+
17+ ``` bash
18+ # Run the automated setup script
19+ ./scripts/setup-hw-testing.sh
20+ ```
21+
22+ This script will:
23+ - Install Trezor Bridge automatically
24+ - Set up udev rules (Linux only)
25+ - Create necessary directories
26+ - Make all scripts executable
27+
28+ ### Option 2: Manual Setup
29+
30+ #### 1. Install Trezor Bridge
31+
32+ ** Using the installation script:**
33+ ``` bash
34+ ./scripts/install-trezor-bridge.sh
35+ ```
36+
37+ ** Or manually:**
1438
1539** macOS:**
1640``` bash
Original file line number Diff line number Diff line change @@ -4,6 +4,18 @@ Running these suites requires both a supported Ledger and Trezor device to be pl
44install udev rules, if running on Linux, which can be done by using the script documented in
55[ Download and Install Ledger Live docs] , and via the [ Trezor Suite] UI.
66
7+ ## Quick Setup
8+
9+ For automated setup of the hardware testing environment:
10+
11+ ``` bash
12+ # Set up Trezor testing environment
13+ ./scripts/setup-hw-testing.sh
14+
15+ # Install Trezor Bridge only
16+ ./scripts/install-trezor-bridge.sh
17+ ```
18+
719[ download and install ledger live docs ] : https://support.ledger.com/hc/en-us/articles/4404389606417-Download-and-install-Ledger-Live?docs=true
820[ trezor suite ] : https://trezor.io/trezor-suite
921
You can’t perform that action at this time.
0 commit comments