Movatterモバイル変換


[0]ホーム

URL:


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
NotificationsYou must be signed in to change notification settings

pooltogether/pooltogether-info-ui

Repository files navigation

This is aNext.js project bootstrapped withcreate-next-app.

Getting Started

yarn to install

direnv allow

cp .envrc.example .envrc copy env variables and add your RPC key

Run the development server:

npm run dev# oryarn dev

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

You can start editing the page by modifyingpages/index.tsx. The page auto-updates as you edit the file.

API routes can be accessed onhttp://localhost:3000/api/hello. This endpoint can be edited inpages/api/hello.ts.

Thepages/api directory is mapped to/api/*. Files in this directory are treated asAPI routes instead of React pages.

Adding more info

To add a new Governance EOA to track

NOTE: All eoa addresses are lowercase

  1. Add a new item to theGOVERNANCE_ADDRESSES array inuseGovernanceTokenBalances

To add a new token to query balances of

NOTE: All token addresses are lowercase

  1. Add the token toTOKEN_LISTS inuseTokenLists nested under the proper chain.
  2. Ensure the token price data is being fetched properly by adding the address toTOKENS ingetCoingeckoTokens.
  3. (optional) Add an alias toTOKEN_PRICE_ALIASES ingetCoingeckoTokens to map the price of a token to another token.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check outthe Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use theVercel Platform from the creators of Next.js.

Check out ourNext.js deployment documentation for more details.

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp