launchpayload is the default blockchain application generated with Starport. It serves as a template of how to package the Cosmos blockchain as a Docker image so that multiple instances thereof can be spun up with LaunchControlD. It is also used as the blockchain backend behind Eventivize - context and details as to how everything works together are explained in this blog post.
launchpayload includes a simple faucet service under cmd/faucet
.
Script files save lctrld
from having to know too many details of how to configure and run any particular payload.
cmd/faucet/configurefaucet.sh
andcmd/faucet/runfaucet.sh
decoupleslctrld
from the details of the faucetrunlightclient.sh
decoupleslctrld
from knowing how the light client daemon should be started
Currently, the process of generating the genesis.json and validator node configuration is tightly coupled with lctrld
. This will be improved in the future.
Build the binaries to dist/
> make build
Build the docker image (only possible after building binaries)
> make docker
Push to your docker repository and follow the instructions in LaunchControlD to tell lctrld
to deploy your image to the virtual machines.