MCPcopy Index your code
hub / github.com/dymensionxyz/roller

github.com/dymensionxyz/roller @v1.18.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.18.7 ↗ · + Follow
1,159 symbols 3,948 edges 248 files 126 documented · 11%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Roller CLI

Roller CLI Logo

Introduction

Roller CLI is a command-line interface tool designed to facilitate the creation and operation of RollApps on the Dymension Hub. It allows developers to effortlessly spin up and run RollApps, simplifying the development process and making the Dymension Hub more accessible.

Local Development

To build and test the latest version from the main branch:

First, install all the necessary dependencies using the following command:

curl https://raw.githubusercontent.com/dymensionxyz/roller/main/install.sh | bash

Next, clone this repository. Once cloned, navigate to the root directory and execute:

make build

This command builds the latest version of Roller and places the executable in the ./build directory.

To run Roller, use:

./build/roller

Testing

To run all the tests, run from the root directory:

go test ./...

Installing a Pre Release

To install a specific pre-release version, use:

export ROLLER_RELEASE_TAG="<RELEASE_TAG>"
curl https://raw.githubusercontent.com/dymensionxyz/roller/main/install.sh | bash

For more information about Roller and its usage, please refer to the documentation.

Contribution

pre-commit will help you with the hooks that will make sure you follow the style guidelines, once installed run:

pre-commit install -c .pre-commit-config.yaml -t commit-msg
pre-commit install -c .pre-commit-config.yaml

Extension points exported contracts — how you extend this code

DataLayer (Interface)
(no doc) [11 implementers]
data_layer/da_layer.go
ContractDeployer (Interface)
ContractDeployer defines the interface for deploying contracts on different chains [2 implementers]
cmd/oracle/utils/deployer.go
VersionedSoftware (Interface)
(no doc) [1 implementers]
utils/upgrades/types.go
CommandOption (FuncType)
(no doc)
utils/bash/bash_commands.go
KeyInfoOption (FuncType)
(no doc)
utils/keys/key_info.go
UpdateableSoftware (Interface)
(no doc)
utils/upgrades/types.go
KeyConfigOption (FuncType)
(no doc)
utils/keys/key_config.go

Core symbols most depended-on inside this repo

String
called by 163
cmd/consts/consts.go
LoadConfig
called by 57
utils/roller/roller.go
ExecCommandWithStdout
called by 53
utils/bash/bash_commands.go
UpdateFieldInFile
called by 43
utils/config/tomlconfig/toml.go
PrettifyErrorIfExists
called by 36
utils/errorhandling/error_handling.go
ExpandHomePath
called by 24
utils/filesystem/filesystem.go
Create
called by 20
utils/keys/key_config.go
Print
called by 18
utils/keys/key_info.go

Shape

Function 627
Method 310
Struct 205
TypeAlias 10
Interface 4
FuncType 3

Languages

Go100%

Modules by API surface

utils/sequencer/sequencer.go31 symbols
utils/rollapp/rollapp.go31 symbols
utils/genesis/genesis.go27 symbols
relayer/config.go24 symbols
data_layer/celestia/celestia.go24 symbols
data_layer/loadnetwork/loadnetwork.go22 symbols
data_layer/aptos/aptos.go22 symbols
data_layer/solana/solana.go21 symbols
cmd/oracle/utils/evm_deployer.go21 symbols
data_layer/kaspa/kaspa.go20 symbols
data_layer/da_layer.go20 symbols
data_layer/sui/sui.go19 symbols

Datastores touched

tool-versionsCollection · 1 repos
blockexplorerDatabase · 1 repos

For agents

$ claude mcp add roller \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact