dymint

module
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: Apache-2.0

README

Dymint

banner

ABCI-client implementation for Dymension's autonomous RollApp forked from celestiaorg/optimint.

To learn more about Dymension's autonomous RollApps and dymint read the docs.

license Go issues tests lint

Installation

From Binary

To download pre-built binaries, see the releases page.

From Source

You'll need go 1.18 installed and the required environment variables set, which can be done with the following commands:

echo export GOPATH=\"\$HOME/go\" >> ~/.bash_profile
echo export PATH=\"\$PATH:\$GOPATH/bin\" >> ~/.bash_profile
Get Source Code
git clone https://github.com/dymensionxyz/dymint.git
cd dymint
Compile

to put the binary in $GOPATH/bin:

make install

or to put the binary in ./build:

make build

The latest Dymint is now installed. You can verify the installation by running:

dymint

Run

To run a sequencer with a simple in-process (kvstore) application:

dymint init
dymint start --proxy_app=kvstore

Reinstall

If you already have Dymint installed, and you make updates, simply

make install

To upgrade, run

git pull origin main
make install

Regenerate protobuf

make proto-gen

Run tests

make test

Directories

Path Synopsis
cmd
da
Package gerr provides a systematic way to think about errors.
Package gerr provides a systematic way to think about errors.
v1
p2p
pb
rpc
state
test
utils
retry
Package retry shall be used alongside "github.com/avast/retry-go/v4" for simple retry patterns which the avast package makes difficult.
Package retry shall be used alongside "github.com/avast/retry-go/v4" for simple retry patterns which the avast package makes difficult.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL