The STON.fi SDK Demo App has just received a major update that enhances its functionality, making it an even more powerful tool for DeFi developers and users. The integration of a full referral system and a new Vault page streamlines operations, providing a seamless experience for managing referrals and claiming fees. Here’s a detailed breakdown of what’s new and how it can improve the development of decentralized applications on the TON blockchain.

What’s New in the SDK Demo App?

1. Referral System Integration

The most notable feature in the latest update is the full referral system integration. The new functionality on the swap page allows for greater flexibility and control over referral activities:


• Manage referral addresses directly from the swap page, providing an easy way to set up and track referrals.

• Set fee percentages to adjust the reward structure for referrals according to specific project needs.

This update makes it easier for developers to create incentives that drive adoption and encourage community growth through referrals.

2. Vault Page for Easy Fee Management

The addition of the Vault page brings a more efficient way to claim referral fees. Key features of this page include:

• Effortless claim of referral rewards, simplifying the process and improving the user experience.

• V2 Pools-focused functionality: The Vault is designed for V2 pools, allowing users to claim their referral rewards without hassle.

For V1 pools, referral fees are automatically sent to the wallet as part of the swap operation, ensuring a smooth and straightforward process without the need for a separate claims page.

Why These Features Matter

These new features significantly improve the experience for developers and users alike:

• Simplified integration: The intuitive design and functionality of the referral system and Vault page make it easy to implement and use, even for those new to the DeFi space.


• Enhanced user engagement: With easily adjustable fee structures and effortless reward claims, these updates encourage more users to participate in referral programs, boosting engagement and growth.


• Optimized for DeFi apps: By reducing complexity and streamlining operations, these updates empower developers to build more efficient and user-friendly DeFi apps on the TON blockchain.

How to Try the New Features


Ready to test out the updated SDK Demo App? Check out the following demos

Swap Demo: Explore the referral system integration and adjust fee percentages [ http://sdk-demo-app.ston.fi/swap ]

Vault Demo: Try out the new Vault page for easy claiming of referral rewards. [ http://sdk-demo-app.ston.fi/vault ]

These interactive demos allow users to experience the full functionality of the SDK and see firsthand how these new features can enhance their DeFi applications.

Developer Resources

For developers looking to dive deeper into the SDK’s new features, several resources are available:

• Vault Contract Documentation [ https://docs.ston.fi/docs/developer-section/api-reference-v2/vault ]

• Deep Link Example for Effortless Pool Claims [ https://sdk-demo-app.ston.fi/vault?pool=EQCGScrZe1xbyWqWDvdI6mzP-GAcAWFv6ZXuaJOuSqemxku4 ]

• Learn More About the SDK Demo App [ https://t.me/stonfidex/814 ]

• Demo App Source Code [ https://github.com/ston-fi/sdk/tree/main/examples/next-js-app ]

These resources provide everything needed to integrate and customize the SDK within DeFi projects.

Start Building the Future of DeFi on TON

The latest update to the STON.fi SDK Demo App sets a new standard for DeFi integration on the TON blockchain. With the added referral system and Vault page, developers now have access to a more streamlined, efficient, and user-friendly platform to enhance their decentralized applications.

Get started with the demo, explore the new features, and join the growing ecosystem of developers shaping the future of DeFi on TON.

Stay connected and follow STON.fi for more updates and resources:

Telegram: https://t.me/stonfidex