Important

This project has will no longer be updated. Instead go to the prototyp3 repo for updated versions.

Cartesi frontend web

Cartesi Rollups version: 0.8.x

Features

With this project you can test some interactions with the Cartesi Rollups project:

  1. Metamask integration
  2. Send Inspect state Requests and Listing Reports response
  3. Sending inputs
  4. Listing Notices
  5. Listing Reports
  6. Depositing Ether
  7. Depositing ERC20
  8. Depositing ERC721
  9. Listing Vouchers
  10. Executing Vouchers

Configurtion

Edit src/config.json to set the testnet parameters and deployment, inspect, graphql, rpc addresses.

Available Scripts

In the project directory, run:

yarn
yarn codegen

to build the app.

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

Voucher Notes

To execute Vouchers, the voucher epoch must be finalized so the rollups framework generate the proofs. As a reminder, you can advance time in hardhat with the command:

curl --data '{"id":1337,"jsonrpc":"2.0","method":"evm_increaseTime","params":[864010]}' http://localhost:8545

Open in Gitpod