Comment on page
Creating Governance Proposals
In order to create a governance proposal, you must submit an initial deposit along with a title and description. Currently, in order to enter the voting period, a proposal must accumulate within a week deposits of at least 100
Note: Please remember through the duration of this guide that the
secretclicounts SCRT in uscrt. 1 SCRT = 1,000,000 uscrt.
Various modules outside of governance may implement their own proposal types and handlers (eg. parameter changes), where the governance module itself supports
Textproposals. Any module outside of governance has it's command mounted on top of
To submit a
secretcli tx gov submit-proposal \
--title <title> \
--description <description> \
--type Text \
--deposit 100000000uscrt \
You may also provide the proposal directly through the
--proposalflag which points to a JSON file containing the proposal:
secretcli tx gov \
--proposal <path/to/proposal.json> \
"title": "My Cool Proposal",
"description": "A description with line breaks \n and `code formatting`",
To submit a parameter change proposal, you must provide a proposal file as its contents are less friendly to
secretcli tx gov submit-proposal param-change <path/to/proposal.json> --from <key_alias>
"title": "Param Change",
"description": "Update max validators with line breaks \n and `code formatting`",
keyare case sensitive and
valuemust be of the correct type and within the allowed bounds.
- Proposals with errors on these inputs should not enter voting period (should not get deposits) or be voted on with
- ⚠️ Currently parameter changes are evaluated but not validated, so it is very important that any
valuechange is valid (i.e. correct type and within bounds) for its respective parameter, eg.
MaxValidatorsshould be an integer and not a decimal.
- ⚠️ Proper vetting of a parameter change proposal should prevent this from happening (no deposits should occur during the governance process), but it should be noted regardless.
To submit a community pool spend proposal, you also must provide a proposal file as its contents are less friendly to
secretcli tx gov submit-proposal community-pool-spend <path/to/proposal.json> --from <key_alias>
proposal.jsonis (make sure to change the recipient address to a real address when testing):
"title": "Community Pool Spend",
"description": "Spend 10 SCRT with line breaks \n and `code formatting`",
SoftwareUpgradeis currently not supported as it's not implemented and currently does not differ from the semantics of a
Last modified 9mo ago