The Exocore Validators repository provides a setup for four default validators, configured with default deposit and delegation settings.
https://github.com/ExocoreNetwork/exocore/releases/tag/v1.0.9
-
Clone the repository:
git clone https://github.com/cloud8little/ExocoreValidators.git
-
Ensure the folder path
/root/testnetV6
exists:cd testnetV6 cp -r <DIR>/ExocoreValidators/node* ./ # copy genesis file to each node folder ./copy.sh # clean data folder for each node folder ./clean.sh
-
Create a system service at
/etc/systemd/system/[email protected]
:[Unit] Description=Exocored node %I After=network.target [Service] Type=simple Environment=HOME=/root WorkingDirectory=/root/testnetV6 EnvironmentFile=-/root/testnetV6/node%I/start.env ExecStart=/usr/bin/exocored start --home ./node%I --minimum-gas-prices 0.0001hua $ADDITIONAL_OPTS Restart=on-failure [Install] WantedBy=multi-user.target
-
Start the four services:
systemctl start [email protected] systemctl start [email protected] systemctl start [email protected] systemctl start [email protected]
-
For VM1 to VM4, copy
node1
tonode4
to different VMs under/root/testnetV6
. -
Update
node1~4/config/config.toml
:persistent_peers = "0de015146582aa1a300366c8c6491323a631a17a@<IP_VM2>:29999,1c5133f1be821199d23b6106b9d9b58b8407c96d@<IP_VM3>:29998,60c5ad014f750f243afdf28a4b2412b48457bcab@<IP_VM4>:29997"
-
Replace
<IP_VM1>
with the IP address of VM1. -
Replace
<IP_VM2>
with the IP address of VM2. -
Replace
<IP_VM3>
with the IP address of VM3. -
Replace
<IP_VM4>
with the IP address of VM4. -
Start the four services on each VM:
systemctl start [email protected] systemctl start [email protected] systemctl start [email protected] systemctl start [email protected]
Before running script under assetsTool/ please make sure the sender address is the exocoreGateway Address.
exocored q assets Params --node http://localhost:20000
params:
exocore_lz_app_address: 0x6d73be844ea6cec86bfc0ff2b4bfa32ac5c4a7c2
exocore_lz_app_event_topic: "0x000000000000000000000000000000000000000000000000000000000000000"
exocored q assets QueStakerAssetInfos 0xa53f68563D22EB0dAFAA871b6C08a6852f91d627_0x9ce1 --node http://localhost:20000
This project is licensed under the MIT License.