gridiron

module
v0.2.0-gridiron Latest Latest
Warning

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

Go to latest
Published: May 10, 2023 License: Apache-2.0

README

Gridiron Hub

banner

The Settlement Layer of the Gridiron protocol

license Go issues tests lint

Step 1: Install Go

Installing Go is a pre-requisite for running a dYmension full node. If you still need to install Go on your system, head to the Go download and install page.

Step 2: Install binaries

Clone gridiron:

git clone https://github.com/gridfoundation/gridiron.git
cd gridiron
make install

Check that the furyd binaries have been successfully installed:

furyd version

If the furyd 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
Step 3: Initializing furyd

Occasionally you may need to perform a comlpete reset of your node due to data corruption or misconfiguration. Resetting will remove all data in ~/.gridiron/data and the addressbook in ~/.gridiron/config/addrbook.json and reset the node to genesis state.

Perform a complete reset of your furyd:

  furyd tendermint unsafe-reset-all

Set the following variables:

export CHAIN_ID="local-testnet"
export KEY_NAME="local-user"
export MONIKER_NAME="local"

When starting a node you need to initialize a chain with a user:

  furyd init "$MONIKER_NAME" --chain-id "$CHAIN_ID"
  furyd keys add "$KEY_NAME" --keyring-backend test
  furyd add-genesis-account "$(furyd keys show "$KEY_NAME" -a --keyring-backend test)" 100000000000stake
  furyd gentx "$KEY_NAME" 100000000stake --chain-id "$CHAIN_ID" --keyring-backend test
  furyd collect-gentxs

Now start the chain!

furyd start

You should have a running local node! Let's run a sample transaction.

Keep the node running and open a new tab in the terminal. Let's get your validator consensus address.

Step 4: Running a transaction
furyd tendermint show-address

This returns an address with the prefix "furyvalcons" or the Gridiron validator consensus address.

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

Directories

Path Synopsis
app
cmd
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