Skip to content

drift-labs/superstakesol

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Run sh ./build_all_sm.sh to

  • fetch the git submodules
  • build the submodule dependencies
  • link submodules to the project
  • build the project

To start development, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

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

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

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Adding a new Liquid Staking Token (LST)

  1. Add the relevant config in LST.ts
  2. Add the method to get historical prices of the LST to calculateSolEarned() in superStake.ts of the Drift SDK.
  3. Add hook to fetch metrics e.g. useSyncMSolMetrics.tsx
  4. Add metrics to useCurrentLstMetrics.tsx
  5. Update NEW_LST_DATE_ADDED in useLastAcknowledgedTerms.tsx
  6. Update Terms and FAQ

Learn More

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

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

About

UI for superstakesol (powered by Drift)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published