Nine Chronicles is an idle game created that runs on a blockchain based platform for multiplayer activities like PvP and Market activity.
It uses the in-game currency as a way to incentivize miners.
This repository is an attempt to make it simpler for miners to run multiple containers, tweak options, and pull logs.
This is currently built for folks running Linux.
If someone would like to help me in maintaining a Windows version, I would appreciate the support.
- Install Docker.
- Install Docker Compose.
- Git clone this repository
- Copy the .env.example to .env and fill in your details
- Open a terminal to where you cloned this repository
- Run:
./refresh-snapshot.sh
- Run:
docker-compose up -d
- See the full log:
docker-compose logs --tail=100 -f
- Watch for mined blocks:
docker-compose logs --tail=100 -f | grep -A 10 --color -i 'Mined a block'
This works when using the normal docker-compose.yml which enables the graphql server
- Visit: http://localhost:23061/ui/playground
- Enter the following Query and press the Play button:
query
{
goldBalance(address: "YOUR_ADDRESS_HERE")
}