Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

delvtech/elf-council-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

First, some setup:

# install npm dependencies
npm ci
# copy the tokenlist and addresses jsons from the testnet
npm run copy-testnet

Then, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

You'll also need to follow the README instructions for the elf-council-merkle and elf-council-testnet repos. In total you'll need 4 terminal windows running processes. Here is a diagram to help: Deveopment Setup

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.