Skip to content

Update: Mint LST Interface – Built with DOTUI #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lou1svuong opened this issue May 22, 2025 · 0 comments
Open

Update: Mint LST Interface – Built with DOTUI #26

lou1svuong opened this issue May 22, 2025 · 0 comments
Assignees

Comments

@lou1svuong
Copy link

Description
Following up on the initial proposal DeFi Yield Dashboard & Onboarding Guide (#24), the next milestone is the development of the Mint LST (Liquid Staking Token) interface. This feature will enable users to easily stake base tokens (e.g., DOT) and receive vTokens (e.g., vDOT) directly through the Bifrost protocol.

The UI will be built using the DOT UI Kit — an open-source, modern, opinionated scaffolding kit tailored for the Polkadot ecosystem. DOT UI Kit is built on a powerful stack, including:

  • Next.js, Tailwind CSS
  • Lucide Icons, ShadCN UI
  • RainbowKit, Wagmi, Viem
  • React Hook Form, Zod, Jotai, TanStack React Query

🔧 Key Features

  • Powered by DOT UI Kit

  • Reusing modular UI components such as Button, Dialog, StatusToast, and WalletConnectModal.

  • Utilizing built-in Web3 hooks for wallet connections, transaction submission, and real-time feedback.

  • Complete Mint Flow

  • Users input the amount of DOT to stake.

  • UI displays:

    • Estimated vToken to be received (e.g., vDOT)
    • Current exchange rate (if applicable)
    • Network/transaction fee
  • On submission:

    • Triggers wallet connect via RainbowKit
    • Executes onchain transaction using wagmi and viem
    • Shows live status updates (pending / success / failure) with DOTUI components
  • Fully Responsive

  • Designed to perform seamlessly on mobile devices and smaller screens — ideal for onboarding flows coming from social links or embedded apps.

  • Integration-Ready

  • Can be embedded into the existing onboarding wizard.

  • Supports callbacks or hooks for follow-up actions after a successful mint (e.g., yield tracking, education modules).

🧰 Tech Stack Summary

  • Frontend: Next.js, Tailwind CSS, ShadCN UI, Lucide
  • Wallet & Web3: RainbowKit, Wagmi, Viem
  • Form Handling: React Hook Form, Zod
  • State & Data: Jotai, TanStack Query

Reference Issue
#24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants