This project is a set of scripts that generate all the required validators' key-pairs and configuration files to start a private Stellar network. Additionally, it generates a docker-compose file for the private Stellar Testnet that can be used to launch a testnet locally, or on a virutal private server.
- Docker Engine
- Docker Compose
- JQ , JSON Command line tool
- sed, File Streams Command line tool
control.sh is the main control script for the testnet.
Usage : control.sh <action> <arguments>
Actions:
start --val-num|-n <num of validators>
Starts a network with <num_validators>
configure --val-num|-n <num of validators>
configures a network with <num_validators>
stop
Stops the running network
clean
Cleans up the configuration directories of the network
status
Prints the status of the network
./control.sh configure -n <number_of_validators>
./control.sh start
./control.sh stop
./control.sh status
./control.sh clean
If you have not changed the volume that is used by stellar-genesis to store it's history then move to /deployment/history/buckets, dive into the next dirs to find the bucket.xvdf and execute the following (basically give read permissions to the file)
chmod +r <bucket_name.xvdf>
- Marios Touloupos ( @mtouloup ) - PhD Candidate, University of Nicosia - Institute for the Future ( UNIC -IFF)
This work is partially funded by the Stellar Development Foundation (SDF): https://www.stellar.org/foundation
- GitHub issues