Slava ac7067416c
Add Testnet scripts (#24)
* Make scripts more flexible, robust and wrappable

* Add Codex Testnet scripts
2024-11-18 22:03:34 +02:00

17 lines
305 B
Bash

# Codex Testnet - Generate
# Variables
set -a
BASE_SCRIPT="https://get.codex.storage/generate.sh"
SCRIPT_URL="https://get.codex.storage/testnet/generate.sh"
set +a
# Help
if [[ $1 == *"help"* ]] ; then
curl -s "${BASE_SCRIPT}" | bash -s -- help
exit 0
fi
# Generate
curl -s "${BASE_SCRIPT}" | bash