Last active
April 30, 2020 08:06
-
-
Save erikd/15ab104eb1a9eae33d3ca17ccc4eb617 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
cabal build cardano-cli cardano-node cardano-cluster | |
CARDANO_CLI=$(find dist-newstyle/ -type f -name cardano-cli) | |
CARDANO_CLUSTER=$(find dist-newstyle/ -type f -name cardano-cluster) | |
CARDANO_NODE=$(find dist-newstyle/ -type f -name cardano-node) | |
echo "cli: ${CARDANO_CLI}" | |
echo "node: ${CARDANO_NODE}" | |
echo "cluster: ${CARDANO_CLUSTER}" | |
kes_duration=100 | |
rm -rf shelley/ | |
mkdir -p shelley/ | |
cp cardano-cli/test/cli/create-genesis/data/genesis.spec.json shelley/ | |
${CARDANO_CLUSTER} | |
${CARDANO_NODE} \ | |
run \ | |
--host-addr 127.0.0.1 \ | |
--port 3003 \ | |
--config config.yaml \ | |
--database-path state-node-mainnet/db-mainnet \ | |
--socket-path state-node-mainnet/node.socket \ | |
--topology topology.yaml \ | |
--shelley-kes-key shelley/node-kes.skey \ | |
--shelley-vrf-key shelley/node-vrf.skey \ | |
--shelley-operational-certificate shelley/op-cert-output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment