Submitting a Proposal
Submit a proposal using the mantrachaind tx gov submit-proposal
command.
This is best done by a person with command-line access to a fully synchronised MANTRA Chain node running the mantrachaind
service.
A specific example is given here:
If <proposal type>
is left blank, the type will be a Text proposal. Otherwise, it can be set to param-change
or community-pool-spend
. Use --help
to get more info from the tool.
mantrachaind
is the command-line interface client that is used to send transactions and query the MANTRA Chain.tx gov submit-proposal community-pool-spend
indicates that the transaction is submitting a community pool spend proposal.--~/community_spend_proposal.json
indicates the file containing the proposal details.--from validator-01-wallet
is the account key that pays the transaction fee and deposit amount. This account key must be already saved in the keyring on your device and it must be an address you control.--gas 500000
is the maximum amount of gas permitted to be used to process the transaction.The more content there is in the description of your proposal, the more gas your transaction will consume
If this number isn't high enough and there isn't enough gas to process your transaction, the transaction will fail.
The transaction will only use the amount of gas needed to process the transaction.
--fees
is a flat-rate incentive for a validator to process your transaction.The network still accepts zero fees, but many nodes will not transmit your transaction to the network without a minimum fee.
Many nodes (including the Figment node) use a minimum fee to disincentivize transaction spamming.
7500uom is equal to 0.0075 OM.
--chain-id mantra-hongbai-1
is MANTRA Hongbai Chain (Testnet).--node https://rpc.hongbai.mantrachain.io:443
is using an established node to send the transaction to the MANTRA Chain network.
Note: be careful what you use for --fees
. A mistake here could result in spending hundreds or thousands of OMs accidentally, which cannot be recovered.
Last updated