social-dist0rtion-protocol / thc

Treasure Hunt Creator
MIT License
21 stars 8 forks source link

Treasure Hunt C*(THC)

THC stands for:

This is the monorepo of THC, a framework to create decentralized treasure hunts. Planetscape, a dystopian escape game for 36C3 gives a good overview of what it can be used for.

Components

The directory structure is the following:

Development

Each directory has its own dependencies. To install all of them run:

make install-deps

THC requires two services to be up and running:

Now you have everything you need to develop THC.

Work on the app (frontend)

Compile and deploy the chapters and the smart contract with:

make backend

Then go to the app directory and run:

npm start

Work on the contracts (backend)

Go to the eth directory and do something there like adding code and tests.

Deploy a new game locally

Run:

make game