The install.sh script is meant to simplify installation and setup of rddl network nodes.
The overall process is staged into the following steps:
- install_stack: installs all dependencies and the software stack
- initialize_components: initializes the different components
- get_identities: get the system identities for to be configured
- configure_components: configures the components with respect to the prior initialization
- start_services: starts all services
- verify_status: get the status of all services
Deployment of an new network is done as follows
- Define a network name and the IPs/names of all nodes in the install.sh file
- Perform steps 1,2, and 3.
- MANUALLY Adjust the genesis.json file and copy the public keys (step 3) of all nodes to the file
- MANUALLY Adjust the config.yaml and define the 'persistent_peers' with the IPs/hostnames and the tendermint address from step 3.
- Perform step 4
- MANUALLY login to the hosts and remove their own entry from the .tendermint/config/config.yaml persistent_peer list
- Perform step 5
Create a transaction, note down the transaction id and verify if the TX is present on all nodes:
- Create transaction and write down TX-id
- call ./install.sh has_tx
- verify if the TX is available on all nodesg
- please run 'tendermint init --home ./.tendermint' before running the planetmint-aio for the fist time.