Skip to content

Latest commit

 

History

History

sdk

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

sdk

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

Quick start

  1. Populate the .env file with the example content:
cp .env.example .env
  1. Install dependencies
pnpm install
  1. Transpile the code
pnpm run build
  1. Add some data to the database
pnpm run populate:db
  1. Create the 0xSplits if they don't exist, or modify them according to the last week of impact metrics.
pnpm run update:weights