Gallactic blockchain with SputnikVM and Tendermint consensus engine
You need to make sure you have install Go (version 1.10.1 or higher) and rust. After installing them, you can follow these steps to compile and build the gallactic project:
mkdir -p $GOPATH/src/github.com/gallactic/gallactic
cd $GOPATH/src/github.com/gallactic
git clone https://github.com/gallactic/gallactic.git .
make
Run gallactic version to make sure gallactic is properly compiled and installed in your machine.
Initialize the working directory by running:
gallactic init -w=<workspace_directory>
This command will create config.toml, genesis.json and private key for validator.
For running a Gallactic node, use:
gallactic start -w=<workspace_directory>
This command will ask you to enter the private key of the validator. Enter the private key (priv_key) of the validator, as provided by the init command above. The Gallactic blockchain starts immediately, upon successful acceptance of the private key.
Install Docker and run the following commands to build the docker file:
cd $GOPATH/src/github.com/gallactic/gallactic
docker build . --tag gallactic
Then you can execute the Gallactic blockchain, using the docker:
docker run -it --rm -v "/tmp/chain1:/gallactic" gallactic init -w=/gallactic
Thanks for considering to contribute in Gallactic project!
The Gallactic blockchain is under MIT <TODO: link> license.