---
# System prepended metadata

title: Setting Voting power for multi-validator testnet

---

# Setting Voting power for multi-validator testnet

## Scenarios

One validator:

- Create account with `add-genesis-account`
- Set stake amount with `gentx`
- Patch genesis file with `collect-gentxs`

Whatever the amount we stake, that one validator will have 100% voting power.

Two validators:

- Create account with `add-genesis-account`
- Set stake amount with `gentx`

- Create account with `add-genesis-account`
- Set stake amount with `gentx`
- Patch genesis file with `collect-gentxs`

Both validators will get 50%

Three validators:

- Create account with `add-genesis-account`
- Set stake amount with `gentx`

- Create account with `add-genesis-account`
- Set stake amount with `gentx`

- Create account with `add-genesis-account`
- Set stake amount with `gentx`

- Patch genesis file with `collect-gentxs`

All validators will get 33.3333%

Option 1:

Make a staked amount list that uses actual denoms:

Assuming we are targeting a 1000uatom total bonded stake (in uatom), the following setting could be used to produce a 50%/25%/25% split.

```
validator_stake_amount: # make sure these match up with your validators
  - 500{{ chain_denom }}
  - 250{{ chain_denom }}
  - 250{{ chain_denom }}
```


We would have to make sure that the validators are being set up with enough funds to cover this stake.

Option 2:

Set a total amount of pooled bonded tokens and use it to calculate percentages:

```
bonded_tokens_pool: 1000{{chain_denom}}

hosts:
  host1:
    voting_power: 25
    bonded_tokens: {{ bonded_tokens_pool * voting_power / 100 }}
    validator_coins: {{ 10*bonded_tokens + bonded_tokens }}
  host2:
    voting_power: 25
  host3:
    voting_power: 50
```

The first validator will end up with:
250uatom bonded/staked tokens
2500uatom available to spend

2500+250 = 2750uatom will be used in the `add-genesis-account` command
250uatom will be staked via the `gentx` command

Create account with `add-genesis-account` using `validator_coins`
    
Set stake with gentx using `bonded_tokens`
    