This package contains the SDK for the AutoRF project. It provides the following functionalities:
- Minting on-chain project registration attestations using the Sign protocol
- Collecting data required to compute a project's impact metrics
- Creating a funding pool with 0xSplits contracts
- Adjusting the split contract weights according to project impact
- Enabling funding distribution over a designated period
- Populate the
.env
file with the example content:
cp .env.example .env
- Install dependencies
pnpm install
- Transpile the code
pnpm run build
- Add some data to the database
pnpm run populate:db
- Create the
0xSplits
if they don't exist, or modify them according to the last week of impact metrics.
pnpm run update:weights