Submitting a Proposal

Submit a proposal using the selfchaind tx gov submit-proposal command.

# Create an env variable that points to the HOME location
export SELF_CHAIN_HOME=~/.selfchain

# The location of example_proposal.json is irrelevant
selfchaind tx gov submit-proposal /proposal.json \
    --node http://165.232.125.66:26657 \
    --gas="auto" \
    --chain-id="self-tet-1" \
    --gas-prices="0.5uslf" \
    --gas-adjustment="1.2" \
    --keyring-backend file \
    --keyring-dir $SELF_CHAIN_HOME/keys \
    --broadcast-mode sync \
    --from="selfdexv46w9kzqjjr73cpannt74rxq63gtxsrszd8"

During the draft proposal stage, ensure the proposal.json file is meticulously prepared with all essential details about your proposal.

Last updated