Network properties are governance-curated, global, on-chain variables used to control various behaviours of the KIRA blockchain application. Values of all network properties can be found here.
To modify network properties a PermCreateSetNetworkPropertyProposal (12) and PermVoteSetNetworkPropertyProposal (13) are required to vote on and create properties modification proposal.
Commands Examples
Proposals Creation
# CLI
sekaid tx customgov proposal set-network-property "${KEY^^}" "$VALUE" \
--title="Upserting Network Property '$KEY'" \
--description="Assign value '$VALUE' to property '$KEY'" \
--from=$ACCOUNT --chain-id=$NETWORK_NAME --keyring-backend=test --fees=100ukex --yes --log_format=json --broadcast-mode=async --output=json
# KM
# e.g: upsertNetworkProperty <account> <property-name> <property-value>
setNetworkProperty validator "MIN_TX_FEE" 123
Bash
Query All Properties
# CLI
sekaid query customgov network-properties --output=json --home=$SEKAID_HOME
# INTERX
curl "<ip>:11000/api/kira/gov/network_properties" | jq
# KM
showNetworkProperties
# Example Output:
{"properties":{"min_tx_fee":"100","max_tx_fee":"1000000","vote_quorum":"33","default_proposal_end_time":"360","minimum_proposal_end_time":"300","proposal_enactment_time":"300","min_proposal_end_blocks":"2","min_proposal_enactment_blocks":"1","enable_foreign_fee_payments":true,"mischance_rank_decrease_amount":"1","max_mischance":"50","mischance_confidence":"25","inactive_rank_decrease_percent":"50","min_validators":"1","poor_network_max_bank_send":"1000000","jail_max_time":"1209600","enable_token_whitelist":false,"enable_token_blacklist":true,"min_identity_approval_tip":"200","unique_identity_keys":"moniker,username"}}
Bash