Skip to main content

Quick start RollApp

The information below shows developers how to deploy a local instance of a RollApp. This is designed for developers looking to launch their own RollApp in the quickest way possible.

info

To deploy a RollApp that is connected to public networks for transferring tokens follow the following tutorial.

EVM RollApps enable developers to write application logic in Solidity and is compatible with existing Ethereum based development frameworks (e.g. MUD).

Run a local instance of an EVM RollApp and deploy smart contracts to it. To begin install the following EVM RollApp template (Requires Go 1.22.1):

git clone https://github.com/dymensionxyz/rollapp-evm.git
cd rollapp-evm
make install

Export the following variables:

export EXECUTABLE="rollapp-evm"

export ROLLAPP_CHAIN_ID="rollappevm_1234-1"
export KEY_NAME_ROLLAPP="rol-user"
export BASE_DENOM="arax"
export BECH32="ethm"
export DENOM=$(echo "$BASE_DENOM" | sed 's/^.//')
export MONIKER="$ROLLAPP_CHAIN_ID-sequencer"

export ROLLAPP_HOME_DIR="$HOME/.rollapp_evm"
export ROLLAPP_SETTLEMENT_INIT_DIR_PATH="${ROLLAPP_HOME_DIR}/init"
export SKIP_EVM_BASE_FEE=true # optional, removes fees on the rollapp

Initialize the RollApp with an accompanying genesis file:

sh scripts/init.sh

Run the RollApp:

rollapp-evm start