Subsrate-node-template uses Aura as a default block authoring algorithem. How can one repalace aura with babe?
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
grandpa according to
I have integrated the POS in fresh node-template on polkadot-v1.0.0
Here you can find the POS(proof-of-stake) node-template with babe: https://github.com/Aideepakchaudhary/POA-to-POS