This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-libzt/test/create_test_identities.sh

12 lines
286 B
Bash
Raw Normal View History

2017-11-13 16:46:33 -08:00
# !/bin/bash
# Generates test identities and joins them to a test network
2017-11-13 16:46:33 -08:00
2017-12-14 16:27:25 -08:00
NWID=$1
2017-11-13 16:46:33 -08:00
2017-12-14 16:27:25 -08:00
mkdir -p alice bob carol ted
2017-11-13 16:46:33 -08:00
2017-12-14 16:27:25 -08:00
./../bin/selftest generate_id ${NWID} alice
./../bin/selftest generate_id ${NWID} bob
./../bin/selftest generate_id ${NWID} carol
./../bin/selftest generate_id ${NWID} ted