Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Zilliqa/zq2-staking

Repository files navigation

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

Deployment

The app is powered by z app utility. The prototestnet deployment is automatic on push to main branch. The protomainnet deployment is automatic on release. Deployment to devnet environment requires manual z app sync.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 15

Languages

AltStyle によって変換されたページ (->オリジナル) /