Skip to main content
Version: Testnet - Blumbus

Community spend

As part of the distribution module an amount of tokens denominated as a percentage of the tokens distributed may be allocated to the RollApp's community pool.

Community-spend proposals distribute RollApp owned funds (i.e. community pool) to specified addresses. These funds are generally distributed for the betterment of the RollApp (i.e. paying for services).

Querying community pool

The following command allows a user to query the RollApp's community pool balance:

rollapp-evm query distribution community-pool

Spending community funds

The following command allows a user to submit a community-spend proposal to the RollApp:

rollapp-evm tx gov submit-legacy-proposal community-pool-spend [proposal-file] [flags]

An example proposal.json file may look like this:

{
"title": "Community Pool Spend",
"description": "Funding an open source project.",
"recipient": "rollapp12fvrskuecfgheughjrwkqvlui67kufjk9xgdqz",
"amount": "1000000000000000000arollapp",
"deposit": "10000000000000000arollapp"
}