mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-07-27 16:13:16 +00:00
22 lines
703 B
Bash
22 lines
703 B
Bash
|
|
#!/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
|
||
|
|
|
||
|
|
cargo install --path lez/wallet --force --features keycard-debug
|
||
|
|
|
||
|
|
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" --reveal
|
||
|
|
|
||
|
|
echo "=== Test: wallet keycard get-private-keys path 11 ==="
|
||
|
|
wallet keycard get-private-keys --key-path "m/44'/60'/0'/0/11" --reveal
|
||
|
|
|
||
|
|
echo ""
|
||
|
|
echo "=== All get-private-keys tests finished ==="
|