art/peace
is a collaborative art game where users can place pixels on a large shared canvas and receive rewards for collaborating to build art. The game will run over X days, and end with a final snapshot of the board. The goal is to give users the feeling of collectively building on a highly responsive art canvas, which they can explore, interact with, and compete on.
Some of the features include :
- Placing Pixels : This will be the main user interaction, where every X minutes a user will be allowed to place a pixel onto the canvas.
- Quests : Tasks to get extra pixels to place on-top of the one every X minutes.
- Voting : In addition to the base colors, there will be a vote to add new colors to the palette every day.
- Templates : Artwork templates used to help communities collaborate on an art piece. Bounties can be added to a template to incentivize creation.
- NFTs : Mint NFTs from the canvas.
docker compose up
To stop the run use Ctrl-C
.
For a complete reset of the state and rebuild of the containers use :
# WARNING! This will clear the state (volumes) of all the DBs and the Devnet
docker compose down --volumes
docker compose build
# Must install all the dependencies first
# Use npm install inside the `frontend` directory
# Change the user on `configs/database.config.json` for postgres
make integration-test-local
To stop the run use Ctrl-C
.
Each component can also be run individually, check the Components section below for more details.
docker compose build
make build
Use the make build-X
command for each corresponding component X
. See the Components section below for more details.
- Onchain: Starknet contract(s) for trustless onchain interactions.
- Backend: Monolithic Go backend for managing requests, interactions, and DBs.
- Frontend: Reactjs application for users to interact with.
- Indexer: Apibara indexer for monitoring Starknet events and forwarding to the DBs.
- Postgres: DB for storing general data used for analytics, frontend, and backend.
- Redis: In memory DB used to store the compressed
Canvas
data for fast retrieval - tests: Integration tests for local, docker, ...
Its recommended to use docker compose
when building and running, so the only dependencies would be docker and docker compose
However, it might be worth running only certain components for development/testing sometimes. Each component has various dependencies, check dependencies.txt for more details.
Thanks goes to these wonderful people. Follow the contributors guide if you'd like to take part.
This project follows the all-contributors specification. Contributions of any kind welcome!