Skip to content

About

Self-Repaying ENS Frontend

Resources

Stars

2 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

srens-web

Getting started

  1. Install dependencies: pnpm i
  2. Configure environment varibles: cp .env.example .env
  3. Start dev server: pnpm dev

Environment variables

  • NEXT_PUBLIC_INFURA_KEY - required for mainnet RPC
  • NEXT_PUBLIC_ENABLE_FOUNDRY - set to true to enable localhost network

GraphQL codegen

@graphprotocol/client-cli is used to generate an SDK for querying the ENS subgraph.

  • queries are defined in src/graphql
  • configuration is defined in .graphclientrc.yml
  • run generation with: pnpm codegen:graphql

Note: there are warnings in the console when using this but the expert advice is to ignore. Will revisit if it ends up being problematic.

Libraries

About

Self-Repaying ENS Frontend

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages