we built swaps: a solana swap-instruction library
you give it a swap request and it tells you which accounts to fetch, decodes the account bytes you pass in and builds the swap instruction for the target dex.
the lib handles the dex-specific account layouts and instruction encoding.
humidifi, raydium, orca, meteora, solfi, pumpfun/pumpswap, pancakeswap, tessera v + more.
any feedback is welcome.
DeFi today is basically CeFi except instead of trusting a board of old men that fear jail and are regulated and insured to the tits you trust some risk-seeking 20-30 year olds with a multisig and a prayer.
Today, Drift is announcing a collaboration with @tether and other partners totaling up to nearly $150 million to support our commitment to a relaunch with USDT at the center, and a path to user recovery.
These funds encompass a $100M revenue-linked credit facility, an ecosystem grant, and loans to market makers, designed to fund a dedicated user recovery pool.
Learn more 👇
Once again, with his tests @ax_1000x helped me find a bug before it reached mnb. This happens multiple times each release cycle.
If you want solana to be safe and fast, consider staking with him, this is exactly the kind of operator we need to be rewarding.
(Also give him a follow I'm trying to pull him out of the dark web)
I fear it's not up to them anymore who gets what. Their word doesn't mean anything anymore if they are looking at filing for bankruptcy.
So either some white knight comes around and funds the loss or they go bust and courts take over. No inbetween. I think the loss is too big to do something like Bitfinex back then with an IOU token to slowly earn it back from revenue.
@defigosha@DriftProtocol Pretty sure this is all what's left: https://t.co/ibJGErAvDv
Including the 15M USDC I've sent you earlier. We're looking at total of $23.1M left (including all insurance funds).
Over 90% loss, and that's before a bankruptcy lawer touched it 💀
I mean technically these vaults were isolated and users staked to them were still able to unstake and claim fully after the hack (until Drift moved the assets).
Will be interesting how this will play out. You could argue that the insurance fund assets were not hacked and therefore should be 100% distributed to their stakers, thus not socialized to the main lending pool.