Add prompt to get private key

This commit is contained in:
Shreerang Kale
2025-05-19 10:55:06 +05:30
parent 3d7ba45796
commit a4cb808c96
6 changed files with 30 additions and 23 deletions
+2 -3
View File
@@ -75,9 +75,6 @@
- Export required env vars:
```bash
# private key of the existing account
export PVT_KEY=<private-key-in-hex-format>
# desired key name
export KEY_NAME=<key-name>
@@ -92,6 +89,8 @@
ansible-playbook -i localhost, -c local ~/cerc/laconicd-stack/playbooks/validator/create-validator.yml
```
- Input private key of the existing account when prompted
- Check the validator list:
```bash
+2 -3
View File
@@ -83,9 +83,6 @@
- Update `~/cerc/laconicd-stack/playbooks/first-validator/first-validator-vars.yml` with required values:
```bash
# Use the private key of the existing account that was exported in previous steps
pvt_key: "<private-key>"
# Path to the generated mainnet genesis file
# Use the absolute path of generated output directory in the previous steps
genesis_file: "<absolute-path-to-generated-output-dir>/genesis.json"
@@ -117,6 +114,8 @@
ansible-playbook -i localhost, -c local ~/cerc/laconicd-stack/playbooks/first-validator/run-first-validator.yml
```
- Input private key of the existing account that was exported in previous steps when prompted
- Check logs to ensure that node is running:
```bash
+2 -3
View File
@@ -74,9 +74,6 @@
- Export required env vars:
```bash
# Use the private key of the existing account that was exported in previous steps
export PVT_KEY=<private-key-in-hex-format>
# desired key name
export KEY_NAME=<key-name>
@@ -91,6 +88,8 @@
ansible-playbook -i localhost, -c local ~/cerc/laconicd-stack/playbooks/validator/create-validator.yml
```
- Input private key of the existing account that was exported in previous steps when prompted
- Check the validator list:
```bash