This repository contains the docker compose files for the infraestructure of the ZK Mastermind game.
- Docker 24.0.7 or higher
- Cardano CLI
- jq
The command run-docker.sh
take care of al the solution configuration. The current user must be in the docker group How to add current user to docker group.
$ ./run-docker.sh
Once you run the run-docker.sh
script for the first time you can start and stop the solution with these commands.
# Start all containers
$ docker compose up -d
# Stop all
$ docker compose down
The relevant repositories of the mastermind Dapp are as follows:
- zk-mastermind-webdapp: Frontend application of the Mastermind Dapp.
- zk-mastermind-backend: Backend application of the Mastermind Dapp.
- zk-mastermind-backend-onchain: Hada mint contrat of the Mastermind Dapp.
- zk-mastermind-docker: Docker container with the Kupo, Hydra and Cardano node components of the Dapp.
- zk-mastermind-circom: Circom circuits of the mastermind Dapp.
- zk-mastermind-plutus: PlutusTx validator that implements the logic of the game.
- zk-mastermind-aiken: Aiken validator that implements the logic of the game.