Skip to main content

How A Solana-Based DEX Bricked Itself, Locking $500K+ In Funds

It’s not easy being a dev. In recent days, a young Solana-based DEX, OptiFi, faced an unexpected downfall after a simple coding error. The platform released an announcement that their mainnet program is now unrecoverable yesterday. The move has resulted in an unexpected shutdown for the DEX.

Let’s review what we know from the announcement and how something like this could be avoided in the future.

OptiFi’s Unexpected Shutdown

OptiFi was an options and derivatives focused decentralized exchange (DEX) built on Solana that was less than a year in the making. The platform touted Solana’s low latency transactions, portfolio margining and partial liquidation mechanisms. The platform also brought the “first-ever delta-neutral options AMM vault” on Solana that provided yield to depositors. So how did we get here? According to OptiFi’s full debrief, a code update that was moving to Solana mainnet saw a user error that resulted in the use of a ‘solana program close’ command, locking roughly $660K worth of USDC in OptiFi-stored funds in their AMM vault.

OptiFi has assured that user funds will be compensated (while noting that a large majority of the funds are from an internal team member), and a proposal on the Solana github is currently active to address the matter. OptiFi notes in their debrief of a “lesson we learned harshly:”

EVERY DEPLOYMENT NEEDS A RIGOROUS PROCESS AND SINGLE POINT FAILURE CAN BE AVOIDED. PLEASE DON’T RUSH LIKE WHAT WE DID, ESPECIALLY FOR DEFI PROJECTS.

Solana (SOL) has been an emerging player in NFTs and DeFi, despite occasional setbacks like this recent OptiFi debacle. | Source: SOL-USD on TradingView.com Is It Still Solana Season?

Despite small network setbacks, Solana has still seen strong strides this year in both DeFi and NFT marketplaces. Across NFTs, Solana-based projects like DeGods and Okay Bears, among others, have helped spurred the network to a strangehold of the #2 spot (behind only top dog Ethereum). In the more relevant DeFi, Solana has largely outperformed last year to date metrics, according to DeFiLlama. This has been spurred by growing products like Solend, Serum and more. DeFiLlama has Solana listed as the #6 chain in order of total value locked (TVL), at just over $1B worth of funds.

Building and shipping products is rarely a small task, and this is no exception. It hurts to see ecosystem products, regardless of chain, fall to seemingly small errors, but it unfortunately is a byproduct of this world. Our team extends best wishes to the OptiFi builders as they move forward.

Featured image from Pexels, Charts from TradingView.com The writer of this content is not associated or affiliated with any of the parties mentioned in this article. This is not financial advice.

from NewsBTC https://ift.tt/IgvfHaY
via IFTTT

Comments

Popular posts from this blog

ENS DAO delegates offer perspective on DAO governance and decentralized identity

AlphaWallet CEO and Spruce co-founder talk about their roles as contributors to the Ethereum Name Service following the project's recent airdrop. Earlier this month, the Ethereum Name Service, or ENS, formed a decentralized autonomous organization, or DAO, for the ENS community.  Cointelegraph spoke to two ENS DAO delegates who applied for the opportunity to represent the community and stay involved in the decision making process: Victor Zhang, CEO of AlphaWallet, an open source Ethereum wallet, and Gregory Rocco, co-founder of Spruce, a decentralized ID and data toolkit for developers. Zhang spoke about his experience as an external contributor to ENS and an early supporter since 2018. Zhang initially sought to help ENS by offering Alpha Wallet as a user-friendly tool for  resolving .eth names and cryptocurrency wallet addresses. Essentially, if a user inputs an .eth name in the AlphaWallet, it will show the wallet address, and vice versa using reverse resolution. Alpha...

How Social Platform Chingari is Using Web 3.0 to Transform the Traditional Way We Use Social Media

The world is changing. This isn’t news to anyone, but sometimes it is nice to realize that—contrary to news headlines—not all the change is bad.  In fact, the last decade has seen so much innovation and so many improvements to technology that even 2015 seems like a different world.  Internet speeds, connecting with anyone globally (for free), and our ability to reach large groups of people without a middleman is nothing short of revolutionary. When it comes to technology evolution, this often happens with different iterations.  Once a system is mature, there’s a better idea of what we would like to change and improve.  We go back to the drawing board, target our creative minds at the issues, and create a new version that has evolved to better meet our needs.  The Internet has followed this model since its inception, evolving through three distinct stages.  We are only at the cusp of the third stage, called Web 3.0, with technologies such as blockchain and ...

INX submits bid for Voyager Digital's assets

FTX US won a $1.4-billion bid to purchase Voyager’s assets in September, but with the firm filing for bankruptcy, the funds were once again up for grabs. Trading platform INX has submitted a bid for an undisclosed amount to purchase the assets of crypto brokerage firm Voyager Digital. In a Nov. 30 announcement, INX said it had sent a non-binding letter of intent for Voyager’s assets following the platform filing for bankruptcy in July. According to INX CEO Shy Datika, the bid was aimed at providing “credibility, technology, and unique regulatory positioning” for Voyager users seeking stability in a volatile market. Voyager’s original bankruptcy filing from the Southern District Court of New York suggested the firm could owe between $1 billion to $10 billion to more than 100,000 creditors amid a bear market and exposure to Three Arrows Capital. In September, FTX US won a $1.4-billion bid to purchase Voyager’s assets, but with FTX Group itself filing for bankruptcy in November, th...