Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support running testnet with one command #2894

Merged
merged 3 commits into from
Jul 5, 2021

Conversation

newhoggy
Copy link
Contributor

@newhoggy newhoggy commented Jul 5, 2021

No description provided.

@newhoggy newhoggy force-pushed the support-running-testnet-with-one-command branch 2 times, most recently from 89eb338 to 6c0b7a7 Compare July 5, 2021 01:42
@newhoggy
Copy link
Contributor Author

newhoggy commented Jul 5, 2021

This is the old message:

To start the nodes, in separate terminals use:
 
cardano-node run \
  --config                          example/configuration.yaml \
  --topology                        example/node-bft1/topology.json \
  --database-path                   example/node-bft1/db \
  --socket-path                     example/node-bft1/node.sock \
  --shelley-kes-key                 example/node-bft1/shelley/kes.skey \
  --shelley-vrf-key                 example/node-bft1/shelley/vrf.skey \
  --shelley-operational-certificate example/node-bft1/shelley/node.cert \
  --port                            3001 \
  --delegation-certificate          example/node-bft1/byron/delegate.cert \
  --signing-key                     example/node-bft1/byron/delegate.key \
  | tee -a example/node-bft1/node.log
cardano-node run \
  --config                          example/configuration.yaml \
  --topology                        example/node-bft2/topology.json \
  --database-path                   example/node-bft2/db \
  --socket-path                     example/node-bft2/node.sock \
  --shelley-kes-key                 example/node-bft2/shelley/kes.skey \
  --shelley-vrf-key                 example/node-bft2/shelley/vrf.skey \
  --shelley-operational-certificate example/node-bft2/shelley/node.cert \
  --port                            3002 \
  --delegation-certificate          example/node-bft2/byron/delegate.cert \
  --signing-key                     example/node-bft2/byron/delegate.key \
  | tee -a example/node-bft2/node.log
cardano-node run \
  --config                          example/configuration.yaml \
  --topology                        example/node-pool1/topology.json \
  --database-path                   example/node-pool1/db \
  --socket-path                     example/node-pool1/node.sock \
  --shelley-kes-key                 example/node-pool1/shelley/kes.skey \
  --shelley-vrf-key                 example/node-pool1/shelley/vrf.skey \
  --shelley-operational-certificate example/node-pool1/shelley/node.cert \
  --port                            3003 \
  | tee -a example/node-pool1/node.log

This is the new message:

To start the nodes, in separate terminals use:

example/run/node-bft1.sh
example/run/node-bft2.sh
example/run/node-pool1.sh

Alternatively, you can run all the nodes in one go:

example/run/all.sh

@newhoggy newhoggy force-pushed the support-running-testnet-with-one-command branch from 6c0b7a7 to f8c4a19 Compare July 5, 2021 02:44
@newhoggy
Copy link
Contributor Author

newhoggy commented Jul 5, 2021

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jul 5, 2021

@iohk-bors iohk-bors bot merged commit 531e540 into master Jul 5, 2021
@iohk-bors iohk-bors bot deleted the support-running-testnet-with-one-command branch July 5, 2021 04:23
$CARDANO_CLI query utxo --address $utxoaddr --cardano-mode --testnet-magic "$TESTNET_MAGIC" --out-file $WORK/utxo.json
cat $WORK/utxo.json
$CARDANO_CLI query utxo --address $utxoaddr --cardano-mode --testnet-magic "$TESTNET_MAGIC" --out-file $WORK/utxo-1.json
cat $WORK/utxo-1.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why cat the utxo? @newhoggy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants