Skip to content

BallKidz/defifa-interface

Repository files navigation

Defifa

The web interface for defifa.net.

Resources

Resource Description
Subgraph The UI relies on an up-to-date deployment of this Subgraph
Discord Come chat

Getting Started

  1. Create a .env file. Ask Kmac or Blaz for the values.

  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run dev

Development

Integrate a new contract deployment

  1. Bump the @ballkidz/defifa-collection-deployer version in package.json.
  2. Run npm install to install the latest contract ABIs.
  3. Ask Jango if the IDefifaDelegate_INTERFACE_ID has changed. If it has, make that change to the const IDefifaDelegate_INTERFACE_ID
  4. Make code changes. Typically this means updating contract calls (wagmi hooks), types/interfaces and similar.
  5. Update Subgraph if required. Learn more about the subgraph.