Skip to content
Snippets Groups Projects
Commit de164469 authored by Éloïs's avatar Éloïs
Browse files

feat(scripts): add script gen-live-network-raw-spec.sh

parent eb60eb78
No related branches found
No related tags found
1 merge request!41feat: add script create-live-network.sh
#!/usr/bin/env bash
#
# USAGE
# This script is meant to be run on Unix/Linux based systems
set -e
# params
CURRENCY="${1:-gdev}"
GENESIS="${2:-resources/$CURRENCY.json}"
# constants
DUNITER_BINARY="./target/debug/duniter"
# generate raw_chain spec
export DUNITER_GENESIS_CONFIG=$GENESIS
$DUNITER_BINARY build-spec --chain $CURRENCY-gl --raw > resources/$CURRENCY-raw.json
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment