Is it possible to use different coin to check proposal validation? #1391
-
For example, Users must be hold 1st ERC721 strategy to vote. But 2nd ERC721 to create proposal. |
Beta Was this translation helpful? Give feedback.
Answered by
bonustrack
Jan 2, 2022
Replies: 1 comment 2 replies
-
@obbaeiei Yes it's possible using basic validation parameters, you will need to input the strategies like: {
"strategies": [
{
"name": "erc721",
"params": {
"address": "0x25ed58c027921e14d86380ea2646e3a1b5c55a8b"
}
}
]
} Another option is to use a custom validation strategy, it's not documented but you can check the code here for others strategies: https://github.com/snapshot-labs/snapshot.js/tree/master/src/validations |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
bonustrack
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@obbaeiei Yes it's possible using basic validation parameters, you will need to input the strategies like:
Another option is to use a custom validation strategy, it's not documented but you can check the code here for others strategies: https://github.com/snapshot-labs/snapshot.js/tree/master/src/validations