Skip to content

timewave-computer/covenant-dashboard

Repository files navigation

Covenant Dashboard

Covenant Dashboard Screenshot

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.

Getting started

Prerequisites

Steps

  1. install project dependencies
pnpm install
  1. start project in developer mode
pnpm dev
  1. start project in production mode
pnpm build
pnpm start

Linting

Husky 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

Generating types and client objects from contract schemas

  • 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

Resources

About

Next.js application to view covenants deployed with Valence Protocol V1/V2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •