4

In our solochain currently our chain using POA. Now we want to update the consensus to Delegated Proof of Stake(with AURA). Do we have any reference or suggestion for that implementation?

2 Answers 2

2

You can also check out this https://github.com/darwinia-network/darwinia/blob/main/pallet/staking/src/lib.rs.

This is our staking pallet, which is used in a parachain but does not rely on any parachain component. It can be easily transferred to a solo chain. Additionally, I have recently extracted the inflation logic, making it much simpler for you to apply your own inflation logic. Check it out here: https://github.com/darwinia-network/darwinia/pull/1310.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.