Skip to content

Mugen-Builders/custom-contracts

Repository files navigation


A collection of smart contracts for interacting with the Cartesi Rollupś.
This repository aims to have assets and extensions that can interact with Cartesi Rollups.

Static Badge Static Badge

3. How to run:

To deploy these contracts on other networks not yet supported or on a localhost network, follow the commands below.

Generate the .env file and install the project dependencies contained in the .gitmodules file:

make setup

Execute the tests:

make test

Important

Before running the command below, confirm that the .env file contains all the necessary variables for deployment. For deploying on a local network, add the following values to the variables:

RPC_URL="http://localhost:8545"
NETWORK="localhost"
PRIVATE_KEY="0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" // You can use any private key from the local environment here.
TESTNET_BLOCKSCAN_API_KEY=""

Deploy the contracts:

make deploy

Check the new state of contracts after the voucher executions:

make new_state

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published