Allo Kit gets you up and running building Allocation Strategies in no time!
Please see this for now: https://github.com/allocapital/allo-kit-simple-grants
npx create-eth@latest -e allocapital/allo-kit
Create .env.local
files for both the allo app and the indexer.
cp packages/allo-app/.env.sample packages/allo-app/.env.local
cp packages/allo-indexer/.env.sample packages/allo-indexer/.env.local
Update the Pinata variables. This is needed for the creation and fetching of metadata to work properly.
PINATA_GATEWAY_KEY=
PINATA_JWT=
PINATA_GATEWAY_URL=
yarn chain # Run hardhat node
yarn deploy # Deploy contracts
yarn allo:indexer # Run indexer
yarn allo:dev # Run app
open localhost:3000
Make sure Ponder schema has been generated. Regenerate by navigating to packages/allo-indexer
and run npm run codegen
.