- Ask for an ERC20, start block and end block
- Create an array of object with the following structure of votes from the params in step 1:
{
address: '0x1234',
amount: 0.1,
}- Build a transaction with all of the voters and amounts from step 2 using disperse.app
First, enter your Sort API key to .env.example and rename it to .env.
Then, install dependencies and run the development server:
yarn install
yarn devOpen http://localhost:3000 with your browser to see the result.