Skip to main content

Gateway staking config

This document describes the configuration file used by the Gateway actor to submit a stake transaction, which is a prerequisite for it proxy relays on behalf of Applications.

tip

You can find a fully featured example configuration at gateway1_stake_config.yaml.

Usage

The stake-gateway transaction submission command accepts a --config flag that points to a yaml configuration file that defines the stake_amount the Gateway is willing to lock.

pocketd tx gateway stake-gateway \
--home=./pocket \
--config ./stake_config.yaml \
--keyring-backend test \
--from gateway1 \
--network=<network> #e.g. local, alpha, beta, main

Configuration

The configuration file consists of the stake_amount entry denominated in upokt.

stake_amount

Required

stake_amount: <number>upokt

Defines the amount of upokt to stake by the Gateway to be able to serve RelayRequest on the Pocket network on behalf of Applications.