As a major project for my college, we are trying to modify the substrate node template for the voting system use case. Can anyone guide us on what would be the most important modules, palettes, and areas in the documentation we should refer to in order to successfully modify the substrate node template for the election (government) voting system use case?

  • 1
    you can start by adding pallet-democracy
    – Ganesh11
    May 17 at 1:57
  • what kind of voting system are you talking about? May 17 at 4:07
  • e voting system used by government to elect candidates for government elections May 17 at 4:22

2 Answers 2


You don't need to modify any pallet, you need to make a new pallet and write you election logic in it, refer the link on how build a custom pallet. https://docs.substrate.io/build/custom-pallets/

  • Actually, I am new to blockchain programming so I was looking to modify and use some existing libraries for implementing election logic rather than starting from scratch but I don't know which existing functions would be relevant for election use case needed guidance for that May 17 at 6:05
  • Blockchain election algorithm is totally different from governance election, but if you want to change it then go ahead May 18 at 7:43

I'd suggest you take a look into this previous StackExchange question with a list of resources about voting on Substrate: How to implement voting functionality?

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.