cd contracts
yarn
npx hardhat compile
npx hardhat node
- new terminal
npx hardhat run scripts/deploy.ts --network localhost
cd minimal-aggregator
yarn
yarn start
cd frontend
yarn
yarn start
- open browser
- click connect button
- set x and y value
- click send and sign transaction
- the app takes value for x and y and creates a message
- user then signs over the message and the message is sent to aggregator
- aggregator waits for 5 transactions and then submits the batch on-chain