This Next.js application is a tool to visualize covenants (on-chain agreements) deployed with Valence Protocol V1. Deployed covenants can be found here.
Select a covenant address to view all components of the covenant (routers, balances, states, addresses) and advance the state of the covenenat by ticking the clock.
- install project dependencies
pnpm install- start project in developer mode
pnpm dev- start project in production mode
pnpm build
pnpm startHusky is installed to lint automatically on commit.
To do manually:
# to lint your staged changes
git add .
pnpm lint-staged
# to lint everything
pnpm exec prettier . --write- covenant contract schema is copied to contract-schema folder
- import schema into scripts/codegen.ts file (we will only generate schema for the files specified here)
- types are deloyed to app/codegen folder
