dymension

module
v1.0.2-beta Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0

README

Dymension Hub

image

license Go issues tests lint

Overview

Welcome to the Dymension Hub, the Settlement Layer of the Dymension protocol.

This guide will walk you through the steps required to set up and run a Dymension Hub full node.

Table of Contents

Prerequisites

Installation

Clone dymension:

git clone https://github.com/dymensionxyz/dymension.git
cd dymension
make install

Check that the dymd binaries have been successfully installed:

dymd version

If the dymd command is not found an error message is returned, confirm that your GOPATH is correctly configured by running the following command:

export PATH=$PATH:$(go env GOPATH)/bin

Initializing dymd

  • Using the setup script:

    This method is preffered as it preconfigured to support running rollapps locally

    bash scripts/setup_local.sh
    
  • Manually:

    First, set the following environment variables:

    export CHAIN_ID="dymension_100-1"
    export KEY_NAME="local-user"
    export MONIKER_NAME="local"
    

    Then, initialize a chain with a user:

    dymd init "$MONIKER_NAME" --chain-id "$CHAIN_ID"
    dymd keys add "$KEY_NAME" --keyring-backend test
    dymd add-genesis-account "$(dymd keys show "$KEY_NAME" -a --keyring-backend test)" 100000000000udym
    dymd gentx "$KEY_NAME" 1000000dym --chain-id "$CHAIN_ID" --keyring-backend test
    dymd collect-gentxs
    

Running the Chain

Now start the chain!

dymd start

You should have a running local node!

If you have any issues please contact us on discord in the Developer section. We are here for you!

Directories

Path Synopsis
app
cmd
e2e module
shared
testutil
nullify
Package nullify provides methods to init nil values structs for test assertion.
Package nullify provides methods to init nil values structs for test assertion.
x
irc
irc/types
Package types is a reverse proxy.
Package types is a reverse proxy.
rollapp/types
Package types is a reverse proxy.
Package types is a reverse proxy.
sequencer/types
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

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