Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.02 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.02 KB

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.