Cartesi Rollups Node version: 1.2.x (sunodo version 0.10.x)
Made it project integrates with Rives gameplay verification to allow a complete ecosystem based on the game achievements and moments. Users can create achievements based on the output of games, players can get the achievements, and collectors can collect to display on their gallery.
DISCLAIMERS
For now, this is not a final product and should not be used as one.
- npm to install dependencies and run the frontend
- Sunodo to build and run the DApp backend
- Metamask to sign transactions in the frontend
- cartesapp, an interface to cartesi rollups framework
To build the DApp, two images are also required: riv/toolchain and sunodo/sdk:0.2.0-riv.
- To generate
riv/toolchain, clone RIV repository and in its directory do:
make toolchain- To generate
sunodo/sdk:0.2.0-riv, in theworld-arcadeproject directory do:
docker build --tag sunodo/sdk:0.2.0-riv . --target sunodo-riv --progress plain .Build backend with:
sunodo buildYou should also install the frontend dependencies. First install cartesi client, then run:
cd frontend
yarn
npm link cartesi-clientRun the DApp environment with:
sunodo runFinally, run the frontend
cd frontend
yarn devRun
sunodo run --no-backendand on another terminal
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
RIVEMU_PATH=path/to/riv/rivemu/rivemu ROLLUP_HTTP_SERVER_URL=http://localhost:8080/rollup cartesapp run app achievements --log-level debug