⚙️ LST Creator Widget
LST minting made easy, with minimal code and no hassle.
The LST Creator Widget is a plug-and-play solution that allows users to mint Liquid Staking Tokens (LSTs) directly within your application. Powered by The Vault, this widget simplifies staking and enhances user engagement by offering a seamless minting experience.
For the code, see the GitHub repository The Vault LST Creator Widget.
Key features
The widget offers these features:
- Seamless integration: Easily embed the widget into your app to enable LST minting.
- User-friendly interface: A simple and intuitive UI for all users.
- Blockchain-powered: Interacts with The Vault's secure API for minting.
- Customizable: Can be tailored to fit your app's branding and needs.
How it works
The widget provides an effortless way for users to stake assets and receive LSTs in return.
- Select a staking option: Widget implementors choose which asset to stake.
- Enter amount: They input the amount to stake.
- Mint LSTs: The widget provides a serialized transaction built with The Vault API.
- Receive confirmation: Users get real-time feedback on their minted tokens.
All the transaction building happens in the background, which minimizes dependencies required in your application (Figure 14.1).

Figure 14.1: How LST minting works
Widget integration
The widget is built to be easy to integrate:
- No coding required: Just embed the widget and configure a few parameters.
- Secure API calls: The widget handles all blockchain interactions safely.
- Works with any app: Whether it's a web app, dApp, or DeFi platform, it fits in perfectly.
For advanced use cases, developers can modify the widget's styles and functionality to match their platform.
API overview (non-technical)
The LST Creator Widget interacts with The Vault API to:
- Fetch supported LST options
- Process staking transactions
- Provide real-time feedback
All API calls are securely handled within the widget, ensuring a smooth user experience without requiring direct API management from developers (Figure 14.2).

Figure 14.2: Where the widget fits
FAQs
Do users need a crypto wallet?
Yes. The widget requires a compatible Solana wallet to process transactions.
Can this be customized?
Absolutely. You can adjust styling and behavior to fit your platform's needs.
Do I have to have an LST to use it?
Not at all. You can simply use the direct staking feature with the widget.
Get help
For any issues or questions, join our community on Discord.