Desig's Staking Aggregator Rates the Staking Protocols

Our new Staking Aggregator, integrated with the Desig wallet, rates the different staking protocols to help users select an option.

Desig's Staking Aggregator Rates the Staking Protocols

Yields vary among different staking protocols on Sui, and users face a bewildering array of places where they can stake their tokens. Our Staking Aggregator, integrated into the Desig wallet extension, greatly simplifies the process of finding staking opportunities. In fact, its Smart Stake feature allows fully automated staking, while its Discover and Compare feature serves more experienced users who want to exercise more control.

At DesigLabs, we originally focused on multi-signature wallets for decentralized autonomous organizations (DAOs). This work led us to explore building decentralized finance (DeFi) platforms. Sui's launch of liquid staking tokens made it a perfect candidate to create our staking aggregator.

The Staking Aggregator platform consolidates and optimizes staking rewards from various validators and staking platforms across Sui, maximizing rewards for users. It's able to pool stakes from different platforms to streamline the staking process. Spreading stakes across multiple networks, it reduces the risk of losses associated with a single network failure or volatility.

User features

In the interest of serving users who want a very simple experience and those who prefer to monitor data and get into details, our Staking Aggregator offers a number of different tools. 

Informed staking decisions

  • One-Click Staking: People new to crypto or those with minimal time can simply stake assets with a single click. The platform will automatically stake in the most efficient way possible. 
  • Smart Dashboard: For people who want to exercise more control over their experience, the Smart Dashboard shows real-time data and personalized staking recommendations.
  • Comprehensive Data Presentation: Experts who want a deep dive into the data can view detailed staking options, including validators and liquid staking tokens, with essential metrics like annual percentage yield (APY), total staked, reward pool, and fees.
Three mobile interface screens showing the user journey for smart staking
Desig's Staking Aggregator offers users a simplified Smart Stake function, staking digital assets quickly and easily.
Four interface screens showing the Discover and Compare interface
Users choosing the Discover and Compare tool browse through different staking options to make a selection.

Efficient discovery and comparison tools

  • Search and Sort: Users can set criteria, such as APY or fees, to find specific staking opportunities. 
  • Filter Function: Users can customize their searches, differentiating between liquid staking tokens and validators, for example.
  • Optimal Route Selection: Allowing more specificity than the Filter Function, Optimal Route Selections lets users choose between top validators and liquid staking tokens  based on criteria such as APY, fees, and an overall scorecard.
  • Scorecard System: We also offer users a comprehensive scorecard system, with a thorough evaluation of staking options.

Staking Aggregator components

The Staking Aggregator builds on our previous work in multi-sig wallets, with a cryptographic multi-party computation (MPC) component helping manage each user's interaction with the staking pool. Organization and analysis of staking opportunities occurs on a backend server. 

User flow

The Staking Aggregator gives users three routes to interact with the system. Smart Stake relies on our staking opportunities analysis to commit digital assets in the most efficient way possible. The Discover and Compare route shows users more information, and lets them actively look for staking opportunities. Users interact with the Stake Management route to view their staked assets and control them.

flow graphic showing the user journey
The system's user flow includes three primary routes to interact with the Staking Aggregator, referred to as SAG in this diagram.

Infrastructure

User requests pass through two different flows in the Staking Aggregator infrastructure. When someone uses the Smart Stake feature, the backend Desig server automatically generates the stake destination, then feeds the proposal into the MPC system, which processes it as a multi-sig transaction. That signed transaction then passes through the Desig server for validation before being submitted to the Sui network to commit the stake.

flow graphic showing how the system places a stake
A Smart Stake request on the Staking Aggregator frontend routes through Desig's MPC system and backend server before committing as a stake on Sui.

Unstaking follows a similar path through the Staking Aggregator as staking. The user submits their request, and the backend Desig server generates the transaction. Again, the MPC system processes the multi-sig transaction. After validation by the backend server, the transaction is confirmed on the Sui network and the staked tokens go to the user's wallet.

flow graphic showing how users unstake
Unstaking follows a similar path through the Staking Aggregator as staking, with the various components signing the transaction then returning tokens to the user's wallet.

Protocol integration

The Staking Aggregator selects the best pool based on its APY and score. For a staking protocol to appear in the Staking Aggregator's pool (SAGPool), it needs to declare a compatible interface. The Staking Aggregator calculates the score based on metadata, including information such as total staked, APY, epoch data, and rewards.

List showing the variables needed to integrate a staking protocol with the Staking Aggregator
The SAGPool selects staking protocols based on their APY and score, a number calculated based on metadata such as total staked, APY, epoch data, and rewards.

The code for generating a stake pulls the APY and metadata to select a protocol from SAGPool.

export interface SAGPool {
  contract: string
  generateTxStake: ()=>Uint8Array
  generateTxUnStake: ()=>Uint8Array
  getAPY:  () => Promise<number>
  getMetadata : ()=>Promise<SAGMetadata>
}

Best of all worlds

Our Staking Aggregator accomplishes two important things. First, it takes data from as many staking protocols as possible to find the best option. Through the scoring system, it automates this process. And second, it lets less experienced users, or people with limited time, to quickly stake with an assurance that the system will find the best option for them.

We don't want to leave out the experts, of course. Here, the Staking Aggregator provides a dashboard letting them view all the options and make a choice based on their own experience and intuition.