From 27d8685ca8079c7a7713c2f66dae0b98e4b89ebe Mon Sep 17 00:00:00 2001 From: IshaVenikar Date: Thu, 27 Jun 2024 10:46:36 +0530 Subject: [PATCH] Update testnet-laconicd stack instructions --- .../stacks/testnet-laconicd/README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/stack-orchestrator/stacks/testnet-laconicd/README.md b/stack-orchestrator/stacks/testnet-laconicd/README.md index 3f950d0..28664b6 100644 --- a/stack-orchestrator/stacks/testnet-laconicd/README.md +++ b/stack-orchestrator/stacks/testnet-laconicd/README.md @@ -26,10 +26,12 @@ Instructions for running a laconicd testnet full node and joining as a validator ```bash # laconicd - laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/testnet-laconicd setup-repositories + laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/testnet-laconicd setup-repositories --pull - # laocnic cli and console - laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console setup-repositories + # laconic cli and console + laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console setup-repositories --pull + + # If this throws an error as a result of being already checked out to a branch/tag in a repo, remove the repositories and re-run the command ``` * Build the container images: @@ -38,7 +40,7 @@ Instructions for running a laconicd testnet full node and joining as a validator # laconicd laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/testnet-laconicd build-containers - # laocnic cli and console + # laconic cli and console laconic-so --stack ~/cerc/testnet-laconicd-stack/stack-orchestrator/stacks/laconic-console build-containers ``` @@ -216,7 +218,10 @@ laconic-so deployment --dir laconic-console-deployment start * Create required validator configuration: ```bash + # Note: # Edit the staking amount and other fields as required + # Replace with your node's moniker for "moniker" field and the file name in command below + laconic-so deployment --dir testnet-laconicd-deployment exec laconicd 'cat < -validator.json { "pubkey": $(laconicd cometbft show-validator), @@ -256,6 +261,12 @@ laconic-so deployment --dir laconic-console-deployment start # Set your PK as 'userKey' in the config file laconic-so deployment --dir laconic-console-deployment exec cli "nano config.yml" + # services: + # registry: + # ... + # userKey: + # ... + # Note: any changes made to the config will be lost when the cli Docker container is brought down # So set / update the values in 'laconic-console-deployment/config.env' accordingly before restarting ```