To add your own voting validation strategy on Snapshot you need to fork the score-api repository and create a pull request. https://github.com/snapshot-labs/score-apiDocumentation Index
Fetch the complete documentation index at: https://docs.snapshot.box/llms.txt
Use this file to discover all available pages before exploring further.
1. Navigate to the src\validations.
2. Create a copy of the basic strategy folder and rename it to the name of your voting validation.
3. Customize the logic of your voting validation.
If you are not sure about theValidation class, have a look at its definition:
https://github.com/snapshot-labs/score-api/blob/master/src/strategies/validations/validation.ts
The validation name has to be included in the index.ts in the validationClasses variable.