logos-execution-zone/keycard_test_3.sh

19 lines
618 B
Bash
Raw Normal View History

2026-05-04 21:28:29 -04:00
#!/usr/bin/env bash
# keycard_test_3.sh — tests for `wallet keycard get-private-keys`.
#
# Prerequisites:
# 1. Run wallet_with_keycard.sh once to install dependencies.
# 2. Keycard reader inserted with card loaded (wallet keycard load has been run).
source venv/bin/activate
export KEYCARD_PIN=111111
echo "=== Test: wallet keycard get-private-keys path 10 ==="
wallet keycard get-private-keys --key-path "m/44'/60'/0'/0/10"
2026-05-04 21:28:29 -04:00
echo "=== Test: wallet keycard get-private-keys path 11 ==="
wallet keycard get-private-keys --key-path "m/44'/60'/0'/0/11"
2026-05-04 21:28:29 -04:00
echo ""
echo "=== All get-private-keys tests finished ==="