description |
---|
Create a strategy and use it on your own space |
To add your own strategy on Snapshot you need to fork the snapshot.js repository and create pull request.
{% embed url="https://github.com/snapshot-labs/snapshot.js" caption="Snapshot.js repository" %}
└── src
└── strategies
└── erc20-balance-of
npm run test --strategy=<STRATEGY NAME> // replace <STRATEGY NAME>
// OR
npm run test // for the default strategy
5. The snapshot team will review your PR and after it is approved it will be available in your space settings.