Writing about how protocols acquire market power. Founder @auditless. Clients raised $450M+.

Weekly brief for operators →
We started collaborating with the @UniswapFND in late 2023. At the time, @unichain wasn't even a project. It's amazing to see @unichain reach $1B in TVL and become the place where teams like @euler and @renzoai go to design net new protocols. Time to share more about our grant. ↓
10
1
70
7,469
Last weekend @VitalikButerin explored the idea of Cairo becoming enshrined at Ethereum L1. It captured the spirit of what we think @Starknet represents. A blueprint for Ethereum's future. And that future is here now ↓
23
91
345
79,878
ZK isn't just a scaling solution. It offers new primitives for app builders When applied to DeFi, this gives the rise of a new paradigm which we call zkFi which @starknet is pioneering. ↓
21
43
245
28,855
.@Starknet’s just made the most powerful ZK stack available for rollups 🤯. Here's why the stack is going to play a huge role in scaling Ethereum. ↓
15
41
242
21,124
As Ethereum searches for its North Star, @starknet is exploding. It's overtaken other ZK rollups despite the lack of EVM compatibility. Here's a quick recap of Ethereum's scaling story and the pivotal importance of Starknet's architectural innovations. ↓
24
50
236
33,700
Uniswap V3's license has now expired. Anyone can fork the protocol. But it's notoriously tricky to understand. Took me two days to fully *get* it. Here's my take on why it was hard and the one insight that unlocked everything.
13
31
195
51,472
We're running out of blob space. Surprised? Most of CT chose to ignore the benefits of validity based rollup architectures for a long time. The bill comes due. Here's why @starknet will become the most performant rollup and it won't even be close. ↓
11
35
163
19,980
Hot take: this is great for crypto.
12
21
154
14,601
The Google search bar doesn't lie. @Starknet heating up...
6
22
123
33,343
ERC6551 is misunderstood. It doesn't just make NFTs better. It creates a new asset class – tradable collections of accounts. Remember what happens when a new asset class is created in crypto?
16
19
137
33,172
Time to get rigorous with Uniswap V3. How much more impermanent loss are LPs taking on with concentrated positions? p-e.medium.com/impermanent-l… - In the range [1/2 P, 2 P] where P is the current price, impermanent loss is nearly 4x higher - 10x+ higher for very narrow price ranges
11
26
125
Cairo 1.0, the most advanced smart contract language to date, is coming; here's a master thread on everything you need to know. 👇
2
32
130
39,014
.@ethereum recently mentioned a virtual world built on @Starknet as an important app to watch. This has been years in the making. Autonomous worlds are here.
9
24
130
12,688
ERC4626 is my favorite standard. I've used it for over 5 vaults in 2 different smart contract languages. But one wonders – where is it going next? What does it enable? Here's the breakdown ↓
8
20
126
29,251
AggLayer is honestly one of the most impressive strategic counter-attacks I've seen in crypto. It negates switching cost effects of competitors + threatens to create a strong network effect. But at its core it's a counter-positioning strategy. It redefines the market.
7
16
125
31,294
.@pendle_fi recently announced Boros. I think it will be even bigger than V2. Time to expand derivatives markets. ↓
9
14
127
16,960
My favorites books about learning: @tferriss 4-hour Chef @RayDalio Principles @elonmusk biography @ID_AA_Carmack Masters of Doom An Actor Prepares Way of the Turtle The @McKinsey Way One L I've found practical examples of someone becoming the best at X most instructive.
3
13
112
Rust in Cairo compiler Rust (wasm) in Cairo hints Rust in cairo-rs VM Rust in Protostar/cairo-foundry Rust in starknet-rs Huge implications for StarkNet developer ecosystem growth, individual as well as group productivity.
1
14
98
Spearbit security audits are ruthless. Yet Arbor Finance passed with 0 Crits and 0 Highs. How? They followed the "Pre-Audit Checklist". Use it to ace your next audit. (Compatible with all blue chip auditors.) 1. Follow (so I can DM you) 2. Comment "Audit" I'll DM you.
126
4
93
35,114
Pleased to announce my latest AI-assisted project. Community Documentation for Sierra, Starknet/Cairo's intermediate language.
5
20
89
16,391
Starknet critics used to call it centralized, slow and difficult to learn. In less than a year, the end-to-end stack is being aggressively re-architected for performance and ergonomics. Moreover, the work is largely community-led. Secret sauce? Rust. 🧵
2
13
84
24,832
Happy to share that I'm a proud dad of this 3-week year old boy. No playbook for this yet, just trying to enjoy it. Many cliches I could say about the last 3 weeks... Instead, 3 things I'm grateful for: – Moms (sheesh!) – Flexibility and the fulfilling work I get to do (now I know why it matters!) – A board & card game buddy in the house (hopefully!) *Honestly parenting information is some of the most unstructured, conflicting and unresearched (probably because it's written by people who thrive in the most chaotic process in life).
28
88
6,283
.@eigencloud is not just a restaking service. It's a platform for building shared margin accounts. With @symbioticfi, this is even clearer to see. ↓
8
7
87
26,058
Uniswap V4's most fun feature. Hooks. 🪝 Why? Developers are using them to build next-generation AMMs. Want a preview? Here are all the hooks designs we've seen in the wild ↓
4
12
83
15,538
Cairo 1.0 introduced a stable intermediate language called Sierra. This is an intro to reading Sierra for advanced developers, aspiring Cairo auditors and fellow compiler nerds. Welcome to the bleeding edge of code-to-STARK compilation: Summary below 👇 medium.com/yagi-fi/reading-s…
4
40
82
18,488
Replying to @Bankless @bankless
Easy - @Starknet Tech that’s not from 2013. No drama. Nicest community.
20
12
77
49,487
Starknet Early Adopter Grants Decisions are announced today. First big step towards sustainable community incentives.
2
15
74
21,816
Retroactive public goods funding is a powerful mechanism with fascinating implications. Which is why I'm excited that @Starknet is announcing the "Early Community Member Program". They are assembling a dominant collective of contributors. Apply by November 23. Link below ↓
5
14
75
9,160
Never seen anything like this. 🤯 @cronfinance did a full stack simulation of their protocol. ‣ Private Ethereum node ‣ Simulates agents running arbitrage w/ real price information ‣ Front-end where testers can act
7
10
80
24,904
The EVM offers stability, good tools and a proven environment for high-value DeFi. But for more innovative mainstream use cases, we need to move beyond the EVM. Here's why @Starknet is the best place to innovate. ↓
15
14
77
8,895
OpenZeppelin created a beautiful new account contract for Cairo 1. Co-authored by @martriay @amxx @ericng39 @_andrew_fleming.
4
14
69
16,850
I don’t think there’s an ecosystem that spots talent earlier than @Starknet and a lot of it was @GuthL who has an uncanny sense and a big heart for the rough diamonds.
Thank you @StarkWareLtd @Starknet, appreciate you for all the support you have given me when I was just getting started on my journey as a research engineer with a grant for @devpillme to create a Starknet section and now for being a user of Starknet. ❤️
13
5
72
52,140
Whenever there is a new compute paradigm due to emerging types of “hardware”, it changes how software is developed and optimized. @CairoLang is exactly that for ZK computing. ↓
10
21
79
9,676
Huge news 🤯. StarkWare is catapulting Cairo from one of the lowest level smart contract programming languages to perhaps the only usable and performant high level smart contract language. Read up 👇
Time to announce: Cairo 1.0 🦅 This is Cairo's biggest advancement to date. Cairo 1.0 will enhance usability, safety, and convenience. It will support StarkNet's permissionless network requirements, and will simplify and secure the protocol medium.com/starkware/cairo-1…
2
15
71
Account abstraction, intents, signatures, multisig wallets... These focus on interfaces from the user perspective. But offer very little composability... @safe {Core} solves this. Here's why you should read the whitepaper ↓
1
9
70
15,018
Solana's going modular and the community's not sure if that's a good thing. ETH maxis who never used a network extension are jumping in to comment. So I went and used one and here's what I found. ↓
11
29
67
7,874
Before we get too excited, Solana token transfers vs. @Starknet token transfers.
10
11
70
12,592
zkVMs and coprocessors are the 2 killer use cases of zk in smart contracts. One concept helps understand how they are used by apps. Synchronicity.
2
7
70
13,975
You've definitely heard of @nounsdao. I think they're in trouble. But Nouns is also the closest thing we have to a web3 super brand... There's a way out. Here's the crazy story of how arbitrageurs are raiding @nounsdao and what they could do to revitalize. ↓
4
11
68
5,740
Replying to @p_e @virgilabloh @risd
The @Harvard lecture is even crazier, students started throwing sneakers at Virgil to get them a limited edition @OffWht signature. Peak University times. piped.video/watch?v=qie5VITX…
2
8
65
There is one way to build a $1M NFT collection. "The Infinite Game" And @jackbutcher plays it it perfectly. His piece 008 was a masterclass hidden in a single picture. 🧵
3
13
69
6,167
Back in 2021, @tarunchitra mentioned an idea he had for a decentralized treasury management protocol. @gauntlet_xyz had figured out a way to use a network of parameter submitters to collectively satisfy arbitrary treasury management objectives. Challenge This was one of the most exciting prompts for protocol design I'd heard. DAOs didn't have an effective and tailored way to trustlessly manage their capital. It was also clear that many parts of DeFi (e.g., options protocols) could benefit from organic institutional-style demand. From there, @auditless was enlisted as an R&D partner to help design and implement successive iterations of the protocol and we got to work. Solution @auditless worked closely with the Product, Engineering, Leadership and BD teams at @gauntlet_xyz as well as with our engineering partners @blockvis_team and security partners @SpearbitDAO. We collectively shaped & developed a trust-minimized treasury management protocol which uses current DeFi instruments and off-chain guardians to satisfy a variety of custom treasury objectives. The live Aera protocol is pioneering custom treasury objectives for each client, a frictionless deployment process and a path to decentralization through the use of a guardian role. Results +$4.3M (and counting) since inception Auditless helped develop 2 major versions of the Aera protocol which have led to several active treasury deployments. The flexibility of the underlying smart contracts allows Aera to address distinct needs with each deployment. These vary from volatility targeting, deepening liquidity, generating yield on idle holdings and diversifying treasury assets. Clients are drawn to the trust model that Aera provides. Guardian actions are highly limited and guarded by a variety of pre and post-execution hooks that include action whitelisting, allowance checks and limits on vault value changes — all enforced onchain. On the flipside, Aera clients have full and immediate control over their funds and are free to utilize their Aera vault as a wallet. +$8M raised for Aera The Aera Foundation has now raised $8M from @jump_ and @BainCapCrypto to continue scaling the protocol. From PR Newswire: “The Aera team has developed a much-needed solution perfect for crypto-native organizations looking to responsibly manage their treasuries,” said @stefancoh, partner at Bain Capital Crypto. “Aera is the first solution of its kind for DAO treasury management and was built by a team that’s amazingly well equipped to usher in a new era of responsible decentralized finance growth.” Most importantly – it's been a highlight of my career to collaborate and learn from the many talented individuals in the Aera team: @tarunchitra @ChiangRei @jmo_mx @shaanvaria @JuliusDegesys @mattdobel @_nickborg Victor Xu, Simon Yakunin @BenSchreck @saucekind Trey Sadiq, Jesse Kao, Nick Hewitt @jreem. This is only the beginning.
6
3
70
17,873
Starknet uses native multicall so this is still an overestimate. The thing that Optimistic roll ups had going for them was tx costs. Now their final defence will be to spend more on BD, community, incentives. @apolynya’s thesis playing right out.
Most L2s are now using blobs… and Starknet is now the cheapest one 😱
12
12
62
15,246
Time for some 🌶️. Why Ethereum Needs Another Programming Language ↓
4
7
65
6,406
Parallel @parallelTCG are pioneering an interesting strategy in web3 gaming. They are both: – Building a "web3 native" autonomous worlds game (Colony) – Building a "web2 + NFTs" style trading card game (Parallel TCG) [IN PARALLEL.]
2
9
63
6,904
Be lean with your MVP. Yagi: – got hundreds depositing in testnet vaults – helped automate several popular projects – just received an Early Adopter Grant from Starknet Running tech costs? $27/mo. Here's the breakdown ꜜ
1
8
59
22,673
Thanks to many friends in the @Starknet community for providing me with ideas and vulnerabilities. Was fun to try & curate a small snapshot of things that can go wrong when building smart contracts with Cairo.
Curious about Cairo Security? Look no further. @SpearbitDAO has just released our seminar with @p_e on the new types of vulnerabilities and ideas that security researchers should keep in mind while reviewing Cairo code. 1-hour long of pure Cairo alpha 🫡 Link below 👇
1
10
56
20,695
Cairo is provable Rust.
1
7
52
16,715
Started compiling a set of resources about Cairo 1.0. The language is evolving quickly so one of the best ways to learn it is to study the corelib and projects like Quaireaux, Kakarot and Dojo. All that and more featured below: github.com/auditless/awesome… (PRs welcome)
3
16
58
9,905
Restaking platforms like @eigencloud and @symbioticfi are actually margin-as-a-service platforms just like @synthetix, @uniswap V4 and the various recent lending aggregators. Full explanation coming tomorrow.
7
4
58
9,832
Cairo VM getting some love from @VitalikButerin.
pretty excited about this approach.
2
7
57
17,405
Earlier this year I started to tweet regularly. Thought I would hear: – Why are you wasting time – Isn't this too much work – Cringe Instead: – "Loving the content" – "Seeing a clear 0 to 1" – "How do I do this" Get friends that motivate you to keep going. ❤️ my crew.
6
2
57
4,321
Want the secret to building a career in crypto? Stop chasing how people made money last year. Instead: ‣ Follow your passion with consistency ‣ Think about what the space needs next ‣ Don't assume others will create demand ‣ Go to ecosystems where you're wanted
2
6
25
1,472
It's so over. While your favorite smart contract language is hoping to be more like Rust, Cairo is already a step beyond and incorporates a truly linear type system while maintaining the elegance of Rust-like syntax. TLDR; Cairo1 = best parts of Move + Rust + Linear Haskell
9
8
56
59,881
.@eniwhere_ added a memory data structure to the @KakarotZkEvm project. Memory is one of the hardest things to implement in an EVM, but the Cairo trait system allows the solution to resemble Rust/C++ implementations.
1
10
40
13,456
In Cairo, boolean operations are implemented as arithmetic operations over felt252 types. a & b = ab a | b = a + b - ab a ^ b = (a-b)^2 !a = 1 - a From the docs:
1
6
46
11,016
You wanted a GPT-4 prompt to convert Cairo 0 code to Cairo 1? Built by tensojka from @CarmineOptions. Sneak preview:
5
11
44
19,658
Cairo macros are mainstream now. for @TsubasaStarknet by @lucas_lvy:
1
64
29
2,601
Work on Aera and help shape the future of treasury management As we recently announced, @auditless has been tasked with supporting the @aerafinance Foundation in developing future versions of the protocol. To than end, we are hiring several protocol engineers at different seniorities. If you're interested in the opportunity, please check out the Jobs page and apply. If you're wondering if this is the right opportunity for the next stage in your career, allow me to share some context... Aera is solving a real and unique problem Existing protocol treasuries form a large and underserved market. Due to friction in governance processes, regulatory burdens and the communication challenges associated with decentralized organisations, the majority of capital in these treasuries is sitting idle. As @matthewliu articulated for @blockworks: "The evolving crypto landscape cannot survive without crypto-native firms taking a more proactive approach toward treasury management. By blending traditional financial wisdom with crypto’s unique dynamics, firms can build a solid treasury framework that will help them navigate uncertainty and capitalize on opportunities." So if the market is substantial and the appetite to act is there, why haven't existing solutions worked? For one, nobody has figured out how to do treasury management in a decentralized or trustless way while preserving the dynamics of what is needed to respond to a rapidly evolving crypto market. Most existing treasury management solutions effectively fall into one of three buckets: One-time treasury diversification. These approaches are explicit about what yield farms they prefer and usually allocate capital into a set of vaults. This is your grandfather's retirement fund but applied to crypto treasuries. Principled but hopelessly static. Centralized treasury management. The DAO elects a treasury manager who is somewhat restricted by smart contracts and effectively has a very broad remit around asset class choices and investment strategies. Breaks a lot of the properties that DAOs seek to achieve like credible neutrality, limiting points of failure and others. Inaction by democracy. The DAO only makes large reallocation decisions based on voting. Usually these decisions are driven by point-in-time proposals from DAO service providers who have their own incentive sets and don't lead to comprehensive objective-driven strategies. Note that these three pillars form a perceived treasury management trilemma between Decentralization, Principled allocation and Effective allocation. Faced with three choices that are fundamentally unappealing DAOs choose to keep their capital largely unallocated. Aera breaks the treasury management trilemma Aera is a solution that achieves all three desirable properties: trustless, principled & responsive treasury management. Here's how that works: Aera achieves responsiveness and efficacy by using off-chain guardians. Guardians are able to build complicated data pipelines and strategies to ensure that treasuries are managed using best available market instruments, are risk-aware, liquidity-aware and otherwise responsive to market conditions. Aera achieves trustlessness by limiting what guardians can do at the protocol level. A comprehensive hooks contract is used in each vault that limits the types of actions that a guardian can take and how they can impact the vault, bounding possible loss. Every action a guardian takes happens with assets that are approved, with actions that are whitelisted and with consequences that are within the approved parameters of the treasury owner. Safety first. Trustlessness will further improve as the initial permissioned model will evolve to a permissionless implementation with progressive decentralization. Aera achieves principled strategies through the use of a custom objective function for each treasury. The stated objective function serves as a point of alignment between the DAOs objectives and the guardians' actions. Guardians are incentivized to act only in ways that improve the objective function of the vault and not limited to simple strategies like seeking yield without consideration of insolvency. Aera is built on a modular and extensible stack Treasury management is a highly complex and easily obfuscated problem domain. The “obvious” solution to a problem is can easily be convoluted and led to an accumulation of custom features, points of centralization and other forms of tech debt. The entire Aera team fought against complexity, carefully evaluating what should exist onchain vs. off-chain and how Aera could serve a very wide array of institutions while being easy to reason about from a security perspective. The result was a simple and modular protocol: Aera has traction Perhaps most importantly, a growing number of DAOs are already running parts of their treasuries on Aera, lending credibility to the overall value proposition and our ability to deliver on it with a protocol. One of the contributing factors to this is that Aera has a non-parasitic nature. It's a protocol that can happily exist to operate a tactical subset of a larger treasury and is additive and collaborative to existing treasury management offerings in the market. For parts of treasuries that need to be responsive, principled and trustless, Aera can be used, sized and tuned appropriately. The friction of deploying an Aera vault is already smaller than most alternative treasury management approaches today. The Aera documentation transparently explains what's involved in vault operations today. What's next? Aera's successful start begets the question of the future. There are clear vectors along which Aera will expand both vertically and horizontally. On the vertical front, Aera's whitepaper outlines the vision behind decentralized treasury management driven by off-chain intelligence. There are many exciting problems to solve and translate into elegant protocol solutions in what is a category-defining protocol. On the horizontal front, the Aera protocol has the privilege of being able to experiment with and use some of the latest tools in DeFi. A treasury needs to generate yield, trade tokens, borrow, provide liquidity and do many other functions that necessarily interact with a large surface area of DeFi. It's the responsibility of the Aera core team to continuously and safely incorporate newly emerging protocols and ERC standards on the market to keep improving vault performance for clients. We are early adopters of ERC4626 for instance and are looking at many other standards. As a protocol engineer for Aera, you will think about and write code that solves problems which other teams haven't even attempted to solve. You will do so in a highly collaborative way, working closely with the Gauntlet team and our external partners. You will also help evolve our systems around shipping secure smart contracts. We have explored and adopted many modern practices like executable specifications, invariant testing, internal security reviews, extensive inline protocol documentation, explicit trust models and will continue to add to this list. Simply put — you won’t be building the 20th DEX or lending protocol with a slightly different trading or interest rate curve. If you're excited by solving challenges in unknown territory, you should definitely consider applying. The best way to start a conversation is via the Jobs page. Why the future is exciting Ultimately, progress at Aera means progress in treasury management across crypto. Improving the reliability and speed at which treasuries can fund and achieve their objectives means more progress, more public goods and a more stable and competitive crypto industry. It's a worthy mission that will benefit long-term crypto-aligned token holders and not just drum up the next wave of speculation.
6
7
44
16,172
Hosting a Starknet breakfast with @tarrence in NYC next Tuesday. Casual chat about Starknet and related topics: ZK, autonomous worlds. DM me for RSVP.
4
42
9,768
2023 is a great time to build a crypto company. The industry is 15 years old. Smart contracts have only been around for 8 years. Yesterday, 200+ people learned why AI has given crypto its biggest challenge to date. Miss the issue? Check it out now: newsletter.auditless.com/p/a….
8
23
26,679
Surely Cairo 1 experimentation would slow down at some point? Not yet. 4 more Cairo snippets that foretell the Rusty future of L2 development.
3
8
42
10,205
The smart contract dev stack is too complex. And it'll only get larger with coprocessors and client-side proving. @vercel solved this for UI development, incorporating client/server side computation in one platform. Want something similar on Ethereum? Just use Cairo. ↓
3
7
42
9,581
Replying to @Starknet
Cairo 1 doesn’t just look like Rust, it’s incredibly fast. As a Solidity developer, I spent inordinate amounts of time writing and running tests. With Cairo 1, there’s no trade off between safety and productivity anymore. Stop overthinking gas optimisations and start building.
3
6
45
8,479
I can't ignore it any longer. LLMs (#GPT4) threaten to permanently disrupt the gradient of human productivity. We all need to step back, reflect and re-adjust. Over the next 2-weeks, l'll push hard to evolve my workflow, build tools and share the learnings. 👇
1
4
44
15,318
This year @basche42 and I have been collaborating with the @StarkWareLtd team and many community members on a true deep-dive into Starknet's technology. The complete 13000 word report is available here and we encourage you to read it: research.auditless.com/p/sta…
1
10
47
3,413
Onchain lending is the simplest form of a margin account. Last week, I explained the rise of the margin-as-a-service (MaaS) platforms. Here's a deep dive exploring one of the most fascinating emerging MaaS platforms. ––– @eulerfinance EVC ––– ↓
3
7
43
8,293
I'm launching a Substack. You can subscribe for free here: newsletter.auditless.com/. I plan on sharing field notes about building great crypto products, mechanism design, engineering, strategy. If you like my Tweets, please subscribe and enjoy
3
3
41
18,246
I know 10x TPS is exciting and all, But have you seen Cairo 2? A novel state machine composability pattern that breaks through the Solidity / Vyper trade off between extensibility and auditability. 🤯
3
4
43
7,366
Cairo is the language for game logic. @aloothero shows us why in this gem:
4
4
41
6,876
Learned that crypto Founders are still relatively unaware of @attio. It's quietly become the Linear of CRMs. Have been joyfully using for months, can't see going back to Hubspot.
4
5
43
5,548
orldnetwork is misunderstood. It's neither eyeball harvesting nor "onboarding the masses" to crypto @worldnetwork is a PLATFORM. It makes developing new financial primitives in emerging countries 10x easier. Let's dive in ↓
3
7
38
5,273
A number of the early Cairo 1.0 repositories are focused on tooling to help w/ general computation (e.g., data structures) and games. So I'm releasing `suna`, a DeFi/financial use case focused Cairo library built for @yagi_fi. 🧵 below github.com/auditless/suna
2
8
39
11,403
Every week I share what I've learned in my journey to make good long-term decisions: tech, crypto, sci-fi, performance, longevity, investing, etc. 📬 peteriserins.com/subscribe/ Because the best time to plan for the future is today.
2
2
41
There's a new ERC that's proposing for tokens to have a built-in AMM: github.com/ethereum/ERCs/pul… I think the spirit of this – the convergence of issuance and trading – is correct, but the details are not. Here's why: – The proposal exists in an outdated context, e.g., it talks about constant product AMMs but these are much less capital efficient than modern alternatives like @uniswap v4 – Building a new AMM for every token doesn't make sense when you can get singleton routing benefits and far improved security by building on @uniswap v4 – This assumes every token's main pool should be trading with ETH. While a good default, that's simply not the best way to offer liquidity for many tokens, especially stablecoins but even yield bearing tokens – In practice, tokens will have pools with many other tokens not just one. So users would have to use a different interface to operate the token's built-in AMM and outside sources of liquidity – The author points out that integrating with @uniswap means doing something "external". With v4 that's not true anymore, hook developers can directly build their token as a hook and get this functionality out of the box But the spirit of this is accurate. Issuers want deeper control over how they provide liquidity. Uniswap v4 gives them that control. What we actually need are standards and templates on how to build tokens as hooks.
6
7
37
2,520
StarkWare wrote a default ERC20 implementation in Cairo 1.0 that illustrates future conventions: - `felt` for addresses (for now) - u256 for amounts - u8 for name/symbol - underscore naming to break w/ EVM conventions github.com/starkware-libs/ca…
1
2
40
6,990
They've done it again. @tarrence @dojostarknet created the ultimate integer type for DeFi. – Storage capacity of a felt – Future portability – Half the footprint of `u256`
3
3
38
9,875
10. Life is short Your attention is scarce. You should invest it by working with good people. Not by tearing others down. The market will take care of that.
1
6
35
9,823
It's easy to assume Uniswap V4 is a platform for order flow. Instead, it's a "don't burn your hands" implementation of concentrated liquidity. One of the most complex things to build in crypto. Here's why ↓
3
9
42
8,366
Sequencing is at the intersection of L2 scaling & MEV, two of the most important topics in crypto right now. You don't just have to be an appchain developer to care. How far along is sequencing research? What are the crucial components? Here's the breakdown ↓
3
8
42
4,216
Why does ERC4626 need an extension? @hieronx @ilinzweilin @vikramarun @joeysantoro recently proposed EIP7540 titled "Asynchronous ERC-4626 Tokenized Vaults". It adds: ‣ two new actions users can take: requestDeposit, requestRedeem ‣ two related view functions: pendingDepositRequest, pendingRedeemRequest These exist to support two new use cases: asynchronous redemptions and asynchronous withdrawals. Here's where it fits into the landscape: Asynchronous redemptions Let's start with a simple use case. One of the most popular and effective yield opportunities right now is liquid staking. ERC4626 can already effectively model liquid staking vaults through supporting standardized deposits, conversion rates between underlying (ETH) and the staking shares. However, it's not obvious how to implement the "withdraw" function. For most liquid staking vehicles, withdrawals are only available when requested at specific times. Thus the correct implementation would be to effectively show the maxWithdraw amount as 0 for every user and perhaps provide withdrawal windows where that value becomes positive and a withdrawal can be made. This would be tricky for systems integrating with this kind of vault: ‣ These systems would have to build their own tracking of how much each user intends to withdraw ‣ These systems would have to perfectly time the withdrawal in the withdrawal window (which would have to be configured), requiring some form of keepers With EIP7540, the standard interface can be used instead: ‣ Each user can request their redemption using requestRedeem, the remaining capital remains allocated ‣ That user can then monitor their redemption request through pendingRedeemRequest and maxWithdraw ‣ When the capital is available, they can make a regular withdrawal in accordance with the interface Asynchronous deposits The complementary strategy is asynchronous deposits. This is required when the vault itself needs to perform some action in aggregate with all user funds and cannot do it incrementally. For example, a lending vault can incrementally add each new deposit to a lending pool. However, an options vault may need to aggregate deposits together and make a single auction. This results in "epochal" vaults, mimicking structured products in traditional finance. These vaults run on a pre-specified epoch (e.g., weekly), they make their purchases and disposals at specific times. Previously, each vault like @OndoFinance and @ribbonfinance would develop their own interface for requesting deposits. Now – they can be unified using EIP7540. So who will integrate with these? This will be immediately helpful for DeFi aggregators to provide unified interfaces for managing deposits and redemptions. But onchain consumers will also benefit. In treasury management with @aerafinance, ERC4626 has helped us standardize the way we interact with yield opportunities. ERC7540 will no doubt be an interesting and valuable new asset class to consider and incorporate. Linear pools, liquidity provision strategies and other vehicles built around ERC4626 may be able to adapt and develop ERC7540-compliant versions.
4
6
40
6,210
Replying to @Suhail
roamreasearch.com http://localhost:port Github Discord
2
40
Researchers who were interested in account abstraction once it arrived on EVM chains learned a lot from @Starknet's early experience with it. In the same way, people who want to get deep on coprocessors should start by studying @HerodotusDev: docs.herodotus.dev/herodotus…
2
8
33
7,203
The World Chain launch is misunderstood. Sure, it maintains a great user experience for $WLD grantees. But it also builds on @worldnetwork's counter-positioning advantage when others won't. Nobody else wants to deliver sybil-resistant blockspace. Their mistake. ↓
4
7
40
9,079
For people who are sleeping on @uniswap v4: Issuance is the only thing that matters now. And no it's not just about memecoins. Crypto is not about trading ETH/USDC, it's about replacing the traditional exchanges we know today. Existing AMMs were so poor for issuance that dedicated launchpads had to spring up to support issuer needs. What you actually needed was for issuers to be able to control their liquidity. They can finally do that with hooks. It's no surprise that @flaunchgg is the leading hook on v4. But way more are coming. It's not just about launchpads, it's also about blue chip issuers taking control of their liquidity. Expect the biggest and baddest stable coin and other RWA providers to build their own custom hooks. Early days.
2
3
40
2,471
How to migrate your protocol from Cairo 0 to Cairo 1. The 🔑 is to play each stage correctly.
2
10
32
11,774
Cairo is the most elegant and powerful smart contract language. – Helps you ship faster – Easier to build secure deep abstractions – A pathway to scaling/privacy with ZK More people will get to try it, and they won't go back. Let's track the journey of flipping Solidity.
3
8
40
5,076
Three bold new ways developers were using Cairo 1 last week. A thread 🧵:
1
10
37
17,029
In other words - Galois Connections...
Math for vault. How much shares to mint? How much amount to withdraw?
4
34
The lasting innovation in AMMs is not the liquidity, it’s the LP share. 👇
2
2
37
Broke: Hard code zkEVM in your platform spending years. Woke: Build zkEVM as an app on your general purpose zk platform which anyone can tweak and evolve for their needs. In a month.
1
3
36
8,805
A 100 new AMMs will be launched the day @uniswap v4 launches. Few.
4
1
34
1,135
Every NFT contract needs an uri (shout out @ukolodny) by @milancermak.
2
4
32
7,004
.@BuildOnBase got to $200M bridged in record time. Most importantly – unlike other L2s, it featured very little yield farming. So I wanted to replay what happened. Here's the crazy story of a flawless L2 launch. ↓
2
6
32
5,318
Still twiddling bits in Solidity-land? Meanwhile @raphael_dkhn implemented matrix multiplication in Cairo 🤯
3
5
36
9,245
Three Cairo 1.0 snippets from last week that are making Solidity developers jealous 👇
1
8
36
7,330
The one thing that Rust has but smart contract languages didn't. Macros. Yet @tarrence is using them in Cairo. @dojostarknet once again on the bleeding edge.
7
6
36
8,307