Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1004 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 1004 Bytes

Allo Kit Extension for Scaffold-ETH 2

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

Installation

npx create-eth@latest -e allocapital/allo-kit

Getting Started

Update .env variables

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=

Development

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.