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

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...

FTX hacker reportedly transfers a portion of stolen funds to OKX after using Bitcoin mixer

On-chain activity suggests that the hacker has sent at least 225 BTC (4.5 million) to OKX so far. Hackers who drained FTX and FTX USA of over $450 million worth of assets just moments after the doomed crypto exchange filed for bankruptcy on Nov. 11, continue to move assets around in an attempt to launder the money.  A crypto analyst who goes by ZachXBT on Twitter alleged that the FTX hackers have transferred a portion of the stolen funds to the OKX exchange, after using the Bitcoin mixer ChipMixer. The analyst reported that at least 225 BTC — worth $4.1 million USD — has been sent to OKX so far.  1/ Myself and @bax1337 spent this past weekend looking into the FTX attacker’s deposits to ChipMixer. It appears they’ve likely been transferring a portion of the stolen FTX funds to OKX after withdrawing from CM So far we’ve accounted for at least $4.1m (255 BTC) sent to OKX pic.twitter.com/C46JZWtktn — ZachXBT (@zachxbt) November 29, 2022 According to ZachXBT, the FTX h...

2 metrics signal the $1T crypto market cap support likely won’t hold

Despite the 8.5% weekly rally in cryptocurrencies, the lack of stablecoin premiums in Asia and futures markets activity shows buyers’ lack of confidence. Cryptocurrencies broke the $1 trillion market capitalization resistance on Oct. 26, which had been holding strong for the previous 41 days. Despite Bitcoin’s ( BTC ) modest 5.5% weekly gains, the aggregate value of 20,000 listed tokens increased by 8.5% between Oct. 24 and 31. Total crypto market cap, USD (in billions). Source: TradingView The cryptocurrency market was positively impacted by a 6.3% weekly rally in the Russell 2000 mid-capitalization stock market index. Some encouraging news accompanied the positive tailwinds from traditional markets. For instance,  55,000 BTC was withdrawn from Binance on Oct. 26, a record high. Typically, analysts consider the reduced number of coins deposited on exchanges a bullish indicator, as the immediate selling pressure eases. Moreover, exchange and wallet provider Blockchain.com ...