divergence 🌌 retweeted
Lending Optimizers - Reimagined with Euler
In this article we are detailing the spec that @euler_mab
shared in his post, explaining how the original morpho optimizers can be rebuilt in a more elegant way, utilizing the @eulerfinance stack.
divergence 🌌 retweeted
With morpho midnight coming soon, been seeing a lot of talk about p2p lending/borrowing and optimizers.
So @0xdivergence and myself decided to write up an aritcle on how morpho optimizer used to work.
Next up, article on euler optimizer @euler_mab
divergence 🌌 retweeted
Perpetuals trading powered by @HyperliquidX is now live at DeFi Saver.
This marks a major step in our mission towards providing access to all of DeFi within one app.
Hyperliquid markets combined with signature DFS features are now available at: app.defisaver.com/hyperliqui…
divergence 🌌 retweeted
Ethereum is turning privacy into a first-class primitive.
Frame transactions (EIP-8141) + 2D nonces remove the need for intermediaries: fees can be paid from the withdrawal itself, no third party relayer or doxxed account needed anymore.
Next steps include:
- cheaper deposits/withdrawals (more throughput, cheaper proving)
- enshrined privacy at L1
More details in the ethresearch post:
ethresear.ch/t/frame-transac…
divergence 🌌 retweeted
Collateral switching with aWETH is now available at DFS
Starting today, you can do collateral swaps for your @Aave positions with $ETH collateral even while the market is frozen or while market utilization is at 100%.
Traditionally, our collateral switches withdraw the underlying assets to make these swaps, in order to access the best liquidity.
However, right now, using the aWETH tokens directly is the only viable choice because of the constant 100% utilization of the market.
Important considerations:
- There are liquidity constraints, as this feature depends on aWETH liquidity available through @0xfluid aWETH Redemption Protocol. Please be mindful of TSI.
- Be careful about which asset you're swapping to and make sure its utilization is not at 100%.
- This is currently available on Ethereum mainnet only.
You can use the updated Collateral Switch in our Aave dashboard at:
app.defisaver.com/aave/
divergence 🌌 retweeted
As part of using this bear market to deepen my knowledge in certain areas of DeFi, I have been poking around @aave, trying to find the best learning resource for V3 and V4 but was not able to find anything unified in one place, besides @cal_nix aave book.
I’m creating two short, focused book-style courses: one for Aave V3 and one for V4.
The first book I'm releasing is the V3 one as it is essential for understanding many of the design choices and updates in V4.
The course contains animated charts (insipred by the legendary @3blue1brown) and worked examples to make the core mechanics of Aave easier to grasp.
divergence 🌌 retweeted
⚡️ Zig 0.16 is out.
And the new I/O model is a huge shift.
• Swap implementations (threaded, evented, etc.)
• Write code that looks blocking but runs async
• Composable like allocators
ziglang.org/download/0.16.0/…
#zig #ziglang
divergence 🌌 retweeted
Tokenized equities aren't just a listing.
They're a new financial primitive, and builders like xPrime are showing what that actually means.
Congratulations @EbisuEthan, @0xdivergence and @0xscannty for winning the xStocks Hackathon!
Grateful to win the @xStocks Hackathon by @krakenfx with @0xdivergence @0xscanty
We built xPrime, a prime brokerage for onchain equities.
Here's some learnings about the potential and mechanics of tokenized equities:
1. Equities are the biggest pool of idle capital in the world. ~$100T in equities, ~$40T in retail brokers sits in spot. In an AI world where value is accruing to equity vs labor, most are structurally underexposed. Services like stock loans & structured products that let users do more with their assets are inaccessible & costly.
2. Tokenized equities enable financial offerings (earn, borrow, trade, spend) on parity to traditional finance, but accessible globally to anyone with internet.
3. Programmability and composability create net new financial surface area. Traditional brokerages are walled gardens. DeFi strategies between markets for spot <> structured vaults <> lending <> perpetuals <> options <> neobanks for RWAs is the new frontier.
4. There's no free lunch. Onchain financial system for equities is not without intermediaries & counterparties. Risk is being shifted to asset issuers, tokenization platforms, KYC'd mint/redeemers, permissioned RFQs...
5. DeFi infrastructure needs to adapt. There's no (and likely not going to be) deep 24/7 onchain liquidity for tokenized assets. Swaps are currently done via KYC'd non-atomic mint/redeem, or atomic RFQ like Cowswap with variable spreads especially after hours. This creates problems liquidating loans & rebalancing vaults. Solving this with T+1 & clearing houses will enable literally trillions of collateral to come onchain unconstrained by DEX liquidity. More collateral -> more demand to borrow -> more yield for lenders -> onchain economic expansion!
Thank you to the hackathon hosts, fellow participants, and sponsors for the great experience. We'll be building more!
Seeing all the ETHCC recaps on the timeline (all copy pastas btw), I thought I'd write something actually worth your attention from Cannes.
The @xStocksFi Hackathon - first place xPrime, second place @spreads_fi.
Hackathons usually don't stand out to me, but this one was the exception.
As an xStocks user, I've been watching tokenization closely, how it will evolve, as it seems the next big thing.
Stocks have traditionally been relatively unproductive assets. You buy and sell them, maybe collect dividends, and if you're on IBKR, for example, you get a few extra features. But onchain, they become composable primitives - allowing new strategies that aren't possible in a traditional brokerage account.
Let's talk about the winner - xPrime, a prime brokerage for onchain equities by @EbisuEthan, @0xdivergence and @0xscannty.
xPrime breaks down into four core features:
1) Structured Strategies
• Vault strategies built on top of the tokenized stocks: Tokenized Leveraged ETFs, USD Carry Strategy, Basis Trade, Covered Calls and Wheel Strategy
• Strategies span from conservative delta neutral plays to aggressive leveraged ETF exposure - depending on your risk profile
2) Borrow Against Your Stocks
• Use tokenized stocks as collateral to borrow USDC
• Two options: floating rate or zero cost via a collar strategy
3) Perps Trading
• Long or short tokenized stocks with up to 10x leverage
• 24/7 access - no market hours
4) xPrime Card
• Payment card to spend the value of your xPrime portfolio
Congrats to the team for winning the Hackathon!
I could easily see myself using xPrime daily, as it has a ton of features and an extremely seamless UX, literally an onchain broker.
Ethan put it best:
"Equities are the biggest pool of idle capital in the world. ~$100T in equities, ~$40T in retail brokers sits in spot. In an AI world where value is accruing to equity vs labor, most are structurally underexposed. Services like stock loans & structured products that let users do more with their assets are inaccessible & costly."
xPrime is an answer to that.
Now for second place - Stretch by Spreads from @Wajahat.
Spreads's current product breaks down into two core features:
1) Invest
• Trade stocks directly onchain with USDC
• Full TradingView charts with live oracle pricing
• Clean spot trading UI
2) Smart Money
• Copy the portfolios of notable investors, politicians, and influencers into a vault with one click
• Examples include Nancy Pelosi (+41.1% 1Y), the Magnificent 7 basket, and investor Joseph Carlson
For the hackathon, they took a different approach - building Stretch, which focuses entirely on a single tokenized stock: $STRC.
Three primitives for one asset: leverage & yield, enhanced trading tooling, and gamified savings (sadly, I got no screenshots yet).
Congrats to the Spreads team for the 2nd place!
Both teams took very different approaches - xPrime went broad by building a full prime brokerage suite around xStocks. Spreads went deep by focusing on a single asset and exploring everything you could do with it, literally stretching it to the max.
Two different bets on where onchain equities are headed, both worth watching.
Big shoutout to @xStocksFi, @inkonchain and @krakenfx for putting this Hackathon together - seemed like a blast.
It still feels early, but promising and exciting to see where tokenization is heading.
divergence 🌌 retweeted
$100T in equities. mostly idle.
the winners of the xStocks hackathon built a prime brokerage for onchain equities on Ink.
their writeup on why it matters is worth your time.
programmability unlocking net new financial surface area.
infrastructure that still needs to catch up.
read this ↓
Grateful to win the @xStocks Hackathon by @krakenfx with @0xdivergence @0xscanty
We built xPrime, a prime brokerage for onchain equities.
Here's some learnings about the potential and mechanics of tokenized equities:
1. Equities are the biggest pool of idle capital in the world. ~$100T in equities, ~$40T in retail brokers sits in spot. In an AI world where value is accruing to equity vs labor, most are structurally underexposed. Services like stock loans & structured products that let users do more with their assets are inaccessible & costly.
2. Tokenized equities enable financial offerings (earn, borrow, trade, spend) on parity to traditional finance, but accessible globally to anyone with internet.
3. Programmability and composability create net new financial surface area. Traditional brokerages are walled gardens. DeFi strategies between markets for spot <> structured vaults <> lending <> perpetuals <> options <> neobanks for RWAs is the new frontier.
4. There's no free lunch. Onchain financial system for equities is not without intermediaries & counterparties. Risk is being shifted to asset issuers, tokenization platforms, KYC'd mint/redeemers, permissioned RFQs...
5. DeFi infrastructure needs to adapt. There's no (and likely not going to be) deep 24/7 onchain liquidity for tokenized assets. Swaps are currently done via KYC'd non-atomic mint/redeem, or atomic RFQ like Cowswap with variable spreads especially after hours. This creates problems liquidating loans & rebalancing vaults. Solving this with T+1 & clearing houses will enable literally trillions of collateral to come onchain unconstrained by DEX liquidity. More collateral -> more demand to borrow -> more yield for lenders -> onchain economic expansion!
Thank you to the hackathon hosts, fellow participants, and sponsors for the great experience. We'll be building more!
divergence 🌌 retweeted
Replying to @Yaugourt
if you wanna bang around on my findings so far this is being actively iterated on and updated now as the re work continues lastdotnet.github.io/hyperli…
divergence 🌌 retweeted
Morning workout with @stablewatchHQ fam went great!
Pitty only @EbisuEthan & @0xdivergence went swimming with me later on 😹
divergence 🌌 retweeted
🧮 Today, we release Leanstral - the first open-source code agent for Lean 4, an efficient proof assistant capable of expressing complex mathematical objects and software specifications.
New: I'm sharing the @trailofbits Claude Code defaults. This is how we setup, configure, and use claude code:
github.com/trailofbits/claud…




























