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 to proxy relays on behalf of Applications.
Gov Param References & Values
Gateway module governance params can be found here: https://dev.poktroll.com/protocol/governance/gov_params
Gateway module Beta parameter values can be found here: https://github.com/pokt-network/poktroll/blob/main/tools/scripts/params/bulk_params_beta/gateway_params.json
Gateway module Main parameter values can be found here: https://github.com/pokt-network/poktroll/blob/main/tools/scripts/params/bulk_params_main/gateway_params.json
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, mainConfiguration
The configuration file consists of the stake_amount entry denominated in upokt.
stake_amount (Required)
stake_amount: <number>upoktDefines the amount of upokt to stake by the Gateway to be able to serve RelayRequests on the Pocket network on behalf of Applications.
Was this helpful?
