Create a validation strategy
Create a validation strategy and use it in your own space
1. Navigate to the src\validations.
src\validations.2. Create a copy of the basic strategy folder and rename it to the name of your voting validation.
basic strategy folder and rename it to the name of your voting validation.3. Customize the logic of your voting validation.
https://github.com/snapshot-labs/score-api/blob/master/src/strategies/validations/validation.ts
4. Test your validation
4. Make sure you pass the checklist
5. Create a pull request
Last updated
Was this helpful?
