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

How to play and earn in CryptoKitties

CryptoKitties is a blockchain-based game where players can buy, sell and breed digital cats with unique attributes. Reminiscent of Tamagotchi and Pokémon, the wildly popular digital pets and creatures of the 1990s, CryptoKitties is a blockchain-based game where players can collect, trade and breed digital virtual cats. CryptoKitties was the first Ethereum-based game, and its popularity underscored many of the network’s scaling issues. This digital cat-breeding blockchain game caused quite a bit of congestion on the Ethereum blockchain, peaking in 2020. However, the game’s creators were able to address these issues. What is CryptoKitties? Launched in 2017, CryptoKitties was built by Dapper Labs, the company that uses blockchain technology to bring nonfungible tokens (NFTs) and new forms of digital engagement to fans around the world. CryptoKitties is also considered one of the world’s first-ever blockchain games. In the game, each one of the digital collectible cats possesses a

Bitcoin dominance falls under 40%

While Bitcoin critics claim this means that BTC is losing its first-mover competitive advantage, others are anticipating the “altcoin season” is just around the corner, or might even be already underway. Bitcoin’s market dominance has continued to fall, bottoming out below 40% this week. That’s very close to the all-time low of 36.7% in Jan 2018 according to data from Tradingview. Bitcoin ( BTC ) market dominance refers to the ratio between BTC’s market cap and the total crypto market cap. It's not the first time dominance has dipped in 2021. Back in May, Cointelegraph reported that BTC had dipped to represent just 40.3% of the combined crypto asset capitalization, according to Coinmarketcap, and it neared the same level again in September.  Bitcoin critic and Europac chairman Peter Schiff tweeted about the event on Dec 29th, saying that it’s indicative that BTC is “losing its first-mover competitive advantage.” With over 16,000 alternative cryptos to choose from Bitcoin

Five Bitcoin Price Charts Analyzing The Dramatic Q1 2022 Conclusion

There are only hours remaining until the Q1 2022 close in Bitcoin price action. With the important quarterly candle set to close tonight, let’s look at what technicals might say about the direction of the next quarter. Q1 2022 Comes To A Close For Bitcoin The first quarter of a year, often sets the tone for the year to come. In investments, a poor Q1 performance is indicative of a bad year ahead. Considering the fact that Bitcoin price is now above $45,000 after touching $32,000 this quarter, it is tough to say the performance has been “poor” by anything other than crypto standards. Related Reading | Bitcoin Weekly Momentum Flips Bullish For First Time In 2022 The cryptocurrency has recovered nearly 40% from the low, leaving a long wick behind. Such a long wick suggests that before the quarter came to a close, buyers stepped up in a major way. Buyers were able to step up in a larger capacity in Q1 2022 than bears were able to in the final quarter of last year. The bearish wick to cl