Subsrate-node-template uses Aura as a default block authoring algorithem. How can one repalace aura with babe?


2 Answers 2


As Substrate-node-template is based on POA(Proof of Authority) Consensus. In order to replace aura with babe you need to shift the substrate-node-template to POS(proof of stake) consensus.


You can replace aura with babe but easier way is to use the substrate node directly which already implements babe and has NPoS consensus.

If you still want to convert aura to babe than first go through their definitions, babe is a weight based algorithm and aura is round robin. So to change it first you need to change node/src/service.rs file in node-template you can have reference from here and you also need to change the client and grandpa according to babe.

Your Answer

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

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