Create new strategy

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.

1. Navigate to the src\strategies

└── src
└── strategies
└── erc20-balance-of

2. Create a copy of the erc20-balance-of strategy folder and rename it to the name of your strategy

3. Write the logic of your strategy and test it with:

npm run test --strategy=<STRATEGY NAME> // replace <STRATEGY NAME>
// OR
npm run test // for the default strategy

4. Include it atsrc\strategies\index.ts and create a pull request