Proof of Stake as service for blockchain networks