Skip to content
Snippets Groups Projects
Select Git revision
  • elois-compose-metrics
  • master default protected
  • elois-substrate-v0.9.23
  • elois-technical-commitee
  • elois-opti-cert
  • release/runtime-200
  • elois-fix-85
  • elois-rework-certs
  • elois-remove-renewable-period
  • poc-oneshot-accounts
  • hugo-cucumber-identity
  • elois-ci-binary-release
  • distance
  • release/runtime-100
  • ud-time-64
  • elois-duniter-storage
  • elois-smoldot
  • no-bootnodes
  • ts-types
  • runtime-201
  • runtime-200
  • runtime-105
  • runtime-104
  • runtime-103
  • runtime-102
  • runtime-101
  • v0.1.0
  • runtime-100
28 results

gen-live-network-raw-spec.sh

Blame
  • Forked from nodes / rust / Duniter v2S
    Source project has a limited visibility.
    gen-live-network-raw-spec.sh 376 B
    #!/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