Key takeaways
- Stader Labs is a multi-chain liquid staking solution operating across six blockchains with $80 million TVL and 70,000 wallets.
- Liquid staking allows users to deposit native tokens, earn staking yields, and receive mirror tokens for use in DeFi without locking assets.
- NearX launched on August 9th and reached $14 million TVL within one week with strong community adoption and liquidity pool performance.
- Stader Labs conducts smart contract audits with leading auditors like Halborn and Blocktech to ensure security of user funds.
- A security incident on August 16th allowed exploitation of NearX through a transfer call vulnerability unique to the NEAR ecosystem.
Stader's multi-chain liquid staking push
Ashton Addison: At a high level, what is Stader Labs bringing to the blockchain world?▶ 00:45
Anoothi: Stader is a multi-chain liquid staking solution. Our vision is to onboard one billion-plus users onto staking, so they can earn passive income on their crypto tokens. We launched on Terra, now Terra Classic, in November last year and reached about $1 billion in TVL with 35,000 wallets in a matter of months. We always wanted to be multi-chain, so we expanded quickly, and by April of this year we were live on four blockchains. We launched on NEAR and BNB just a few weeks ago. Our current TVL is about $80 million, with some 70,000 wallets staking with us. The goal is to reach all the major proof-of-stake blockchains, and we're looking at Aptos and Sui.
Ashton: For people who have only dabbled in staking, what is the advantage of the liquid part?▶ 02:24
Anoothi: Simple staking means you deposit your native tokens with staking infrastructure on the blockchain and earn a passive yield. While you earn, though, your tokens are locked and you can't use them anywhere else. It's like a fixed deposit or bond in Web2. Liquid staking improves the capital efficiency of staking. You give your native tokens to the staking infrastructure, and the validators stake them, while you get back a mirror token equal in value to what you deposited. On NEAR, for example, you deposit NEAR and get NearX in return. You earn the staking yield, and you can also earn LP rewards or use NearX as collateral for lending and borrowing. You can even use it to buy NFTs or fund new projects through launchpads. It has a multiplier effect on earning potential.
Our vision is to onboard one billion-plus users onto staking, so they can earn passive income on their crypto tokens.
NearX launch and the August exploit
Ashton: How did NearX perform after it launched?▶ 05:22
Anoothi: It was a terrific launch. We went live on the 9th of August at 4 pm UTC, and the response was overwhelming. Within 48 hours we hit $5 million in TVL, which was unheard of in the NEAR ecosystem. Within the first week we had over $14 million. Our liquidity pool on Ref crossed $3 million, and our pool on Jumbo, the second DEX, became the biggest pool there. For launch month we offered $150,000 in rewards, with competitions like Guild Wars and staking contests. The upgraded NearX is just around the corner, and it will offer that and much more.
Ashton: How do you make sure users' funds in these smart contracts are secure?▶ 07:05
Anoothi: Staking is middleware infrastructure built on top of the L1 blockchain, and we write a smart contract that executes it. One of the critical ways to ensure security is audits. NearX was audited by two major auditors, one of them the leading auditor in the NEAR ecosystem. Audits are one way to do it, and there are several other security measures that we're working on for the upgraded NearX.
Ashton: I read that something unexpected happened with the NearX launch. What was it?▶ 08:46
Anoothi: On the 16th of August we had a security incident with the NearX smart contract. It was unexpected because we were one of the few protocols that launched with two audits, and the auditors didn't catch it either. The exploiter was able to mint 20 million NearX by transferring NearX to his own account in a loop. This is unique to the NEAR ecosystem, where the sender and receiver address can be the same, and it needs to be handled in the code. We caught it within minutes. It drained 165K NEAR from the liquidity pools on Ref and Jumbo. However, the 2.5 million NEAR staked on the contract was completely safe with the validators, and we paused the contract and transfers just in time. Stader is reimbursing all users in full for the 165K NEAR drained from the LPs, so users will be made completely whole for the NearX they hold. The detailed plan is pinned on our Twitter, with the wallet addresses and amounts. It was the first security incident Stader has ever faced, and it was a moment of deep learning.
Rebuilding security for the upgraded NearX
Ashton: How will you prevent something like this from happening again?▶ 12:41
Anoothi: We've deployed a multi-layer security program. First, we've onboarded a third auditor, highly recommended by the NEAR Foundation and Proximity Labs. We're also asking our first two auditors to do an entirely fresh audit of the updated NearX contract with a team of brand new engineers. That's effectively three new audits. Second, once the audits are complete and the code can be open-sourced, we'll start a bug bounty program with rewards of up to $1 million, depending on the criticality of the bug. Third, we've strengthened internal testing and review by adding team members to peer review and increasing the number of checkpoints before code goes to audit. Fourth, we're building a monitoring tool called Prometheus. It tracks the LPs and the NEAR-NearX exchange rate on the DEXes and the smart contract, and alerts developers through Slack to any aberration. We're also opening community channels with dedicated email IDs for security issues.
Users will be made completely whole for the NearX they hold.
Growing NearX adoption
Ashton: How will you bring more NEAR holders to stake with Stader?▶ 16:32
Anoothi: We're keeping education front and center. First, we're spreading awareness about liquid staking through multiple AMAs with protocols, local communities and guild members. Second, we have an educational content series called NEAR Nuggets: bite-sized videos, threads, tweets and Medium blogs about the NEAR ecosystem and its technology. Third, we're running a NEAR pop quiz where people can win prizes for what they've learned. Finally, we're offering incentives, including SD, Stader's native token, with more than $150,000 in rewards as part of the launch bonanza. We're also integrating quickly across DEXes, lending protocols and yield optimizers, with dual incentives so users can earn additional yield on those DeFi protocols.
This interview has been edited for length and clarity. Recorded September 2022.
