Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 664 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 664 Bytes

ZQ Staking Portal

Running locally

  1. Install dependencies
npm install
  1. Run the development server
npm run dev
  1. Open http://localhost:3000 with your browser to see the result.

Environments

Rename selected environment to .env to use it with npm run dev.

.env.mocked_wallet

This enables easy UX/UI workflow where you can modify the wallet states in the code to check for different scenarios.

.env.local_zq2

This one makes the app connected to locally run docker-compose ZQ2 network.

Adding new Delegator

  1. Fetch delegator static data using npx tsx src/script/fetchPoolStaticData.ts