0

Can we add validators in runtime in POA system??(clone node-template)
Is this functionality available??
or we can only configure the validators before chain runs?

2 Answers2

0

You can configure the validator before running a chain in your chain spec file.

You can find more details at Substrate tutorial. Start a Private Network > Add Validators says:

To add validators:
Modify the aura section to include Sr25519 addresses.
Modify the grandpa section to include Ed25519 addresses and a voting weight.

dm4
  • 1,396
  • 1
  • 9
  • 4
  • Hi @dm4, can you please take a look at the Substrate StackExchange proposal and support it: https://area51.stackexchange.com/proposals/126136 – Shawn Tabrizi Dec 17 '21 at 08:49
0

You can just need to add pallet_session and create some mechanism to allow pallet_session to pick a new set of validators for every session.

There are some code examples to you take a look here

Justin Pham
  • 183
  • 2
  • 7