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

Korean crypto ‘Jedi Master’ plans to launch second VC blockchain fund

Blockchain VC investment firm Hashed is seeking $173 million for a second fund. One of South Korea’s leading blockchain evangelists is embarking on another huge blockchain fundraise following the success of his first. Simon Seojoon Kim is planning to raise $173 million for a second blockchain fund following the success of the initial one which netted $120 million from investors in December 2020 . Specifics regarding the new fund and its potential investors are thin on the ground however. Kim, dubbed “the Jedi Master of cryptocurrency” by Sean Park, a senior partner at Hong Kong-based Boston Consulting Group, co-founded the blockchain and crypto venture capital firm Hashed in 2018. The firm invests in crypto startups to enable them to grow through staff expansion, partnerships and marketing. It has attracted big-name financiers such as Naver, South Korea’s third-largest company by market value, which invested $12 million in the first Hashed blockchain fund. The Seoul-based compan...

Whale clusters suggest that this key Bitcoin level can trigger an explosive rally

Bitcoin whale clusters show $57,046 and $60,045 are the crucial support and resistance levels in the short term. The price of Bitcoin ( BTC ) is attempting to break the $60,000 resistance level after more than a week of ranging. Whale clusters show that $57,046 and $60,045 are the crucial support and resistance areas in the short term.  In other words, the probability of a strong breakout in the foreseeable future would increase substantially if Bitcoin stays above $57,046 and continues to test $60,000 resistance. Why whale clusters are important for Bitcoin Whale clusters form when high-net-worth investors buy or sell Bitcoin at a certain price and do not move their holdings thereafter. As such, a whale cluster support typically serves as a strong macro support area for Bitcoin because whales tend to buy more when BTC falls to a level where they initially bought BTC. On the flip side, a whale cluster resistance area would likely hold up as a sell area because whales are mo...

TA: Bitcoin Recovers Heavy Losses, Why BTC Could Resume Decline

Bitcoin price declined over 15% and tested $42,000 against the US Dollar. BTC is recovering, but it could face sellers near the $48,500 and $49,000 resistance levels. Bitcoin started a major decline below the $50,000 and $48,500 support levels. The price is now trading well below $50,000 and the 100 hourly simple moving average. There was a break below a key bullish trend line with support near $52,150 on the hourly chart of the BTC/USD pair (data feed from Kraken). The pair is correcting losses, but the bears are likely to remain active near $48,500 and $50,000. Bitcoin Price Recovers Above $45K Bitcoin price failed to clear the $53,000 zone and started a major decline. BTC broke the key $52,000 support zone and the 100 hourly simple moving average to into a bearish zone. There was also a break below a key bullish trend line with support near $52,150 on the hourly chart of the BTC/USD pair. The pair even declined heavily below the $48,500 support zone. Finally, there was a spi...