This newsletter is made possible thanks to SithSwap! SithSwap is a next-gen stableswap AMM built on StarkNet combining and iterating on the timeless designs of Uniswap V2 and Curve Finance into a new, feature-rich primitive at the frontier of Ethereum. SithSwap offers a dual trading solution, through volatile and stable pools, with ultra-low fees and slippage, (3,3) emissions, gauges, bribes and all of it governed by (ve)NFTs. An AMM built for protocols, but well suited to retail DeFi users and institutions alike. SithSwap AMM testnet will be rolled out soon, in early Q3 2022, in preparation for a full Cairo audit, performed by Nethermind. Follow @SithSwap on Twitter to stay up-to-date.
Welcome to the 23rd edition of my weekly comprehensive StarkNet summary. The previous update can be found here. 👇🏻
Would you like to sponsor this newsletter? Reach out to me.
If you enjoy this newsletter, don’t forget to subscribe. It’s free!
Let’s get into this week’s news! 💪
Protocol & dev tool updates
@StarkWare - A new exciting strategic partnership with @ConsenSys! We are committed to building StarkNet and giving developers and users the ConsenSys platform: Snaps plugins for MetaMask support; native StarkNet World-leading infrastructure from Infura; & diligence smart contract audits. Thread about Infura & Thread about MetaMask.
@Braavos - Braavos v2.8.1 with a new Activity List screen is available on your fav browser store
@Argent - You can now buy crypto on #StarkNet mainnet in your Argent X wallet with @BanxaOfficial!
@Orbiter_Finance - @StarkWareLtd is coming!! You can now transfer ETH from Ethereum, Arbitrum, Optimism and Polygon to Starknet
@0xvoyageronline - We're so hyped for what we're working on right now! How about reading transactions data, understanding what happened with really neat UI/UX? Teaser for a new update.
@ivpavici - New version of starknet-hardhat-plugin (v0.6.0) has been released.
@StarknetIndex - Introducing StarkNet Indexer: service that allows StarkNet DApp developers to access decoded and indexed transaction and event data through GraphQL, SQL and http requests. Website.
@ceccon_me - Released version 0.12.0 of starknet-react. This version improves support for multiple injected (browser) wallets. It's not a backward-compatible change so be warned! You will need to make the following change to your application to upgrade.
New version of protostar v0.2.5 has been released.
Media highlights
@Astraly - Community call #12 with Astraly core team
@zkLend - ZEND&FRIENDS AMA live with @yagi_fi & ZEND&FRIENDS AMA: ARGENT.
@matchbox_dao - Special MatchboxDAO Hackathon Workshop Episode 2: ‘Want to build a game, but not sure where to start?
@encodeclub - We had a fantastic AMA session with Tom Brand @bbrandtom, Product Manager at StarkWare. Here’s the full video & transcript.
@StarkGalaxy1 - It's with great pride that we announce to all the StarkNet community the creation of "Stark Galaxy", the Media Project that aims at creating fun Educational & News contents about StarkNet/StarkEx through different social platforms. They recently launched their Instagram account so as to produce fresh and beginner friendly visual content around STARKs scaling solution.
@JediSwap - Imagine building your web3 world that grows as you use web3 products. Join @0xshugo from @phi_xyz, @imrgoyal, and @thiscrypto_life in a candid conversation on how Metaverse and Identity converge.
@StarknetHouse - Weekly sessions 1-4 are up on their YouTube channel.
@briqNFT co-founder @sylvechv hosted the first Space of the StarkNet Buildoors Series, bringing some of the most talented Cairo Speaking-Crypto Gaming Devs in front of a mic.
@web3pilot made an insightful overall video-guide on StarkNet and how to enter its Ecosystem.
Ecosystem Highlights
Want to build on StarkNet? Check out this building on StarkNet page.
@Magnety - The @magnetyfi testnet has been live for 24 hours now - currently at 1000 funds created on the testnet. After one week of launch, Magnety's testnet almost reached 8,000 funds created.
@zkLend - Introducing our DeFi product, Artemis, now on Medium.
@xBank - We are more than excited to announce that xBank now supports @myBraavos wallet!
@zkLend - special Friday event (every Friday) to win POAPs on their Discord.
@The_Ninth - Here it is! A long-term shard collecting campaign. Teaser for the game.
@MatchBoxDAO - The MatchboxDAO hackathon starts Sunday (today!)
@curve_zero - Hey Starknet fam... Exciting news! Whilst the markets crumble around us, we have been working hard this "B" market. Proud to announce that CurveZero v2 is live and fully functional on testnet.
Continually updated list of projects building on StarkNet. 🏗️
Ecosystem stats
Weekly StarkNet stats: last week: 174k txs on Goerli,
4.7k txs on Mainnet. To date: 4.8m txs on Goerli, 183k txs on Mainnet. Contracts deployed last week: 28k on Goerli, 8.4k on Mainnet.
Over 400 ETH have been bridged to StarkNet so far (there’s a cap).
StarkNet Community & Shamans Highlights
When should I use `tempvar` instead of `local`?
According to the documentation 1,
tempvar
references depend on theap
register and can be revoked..On the other and,
local
variables only depend on thefp
register and cannot be revoked. The only downside is that we have to manually increment theap
register before any memory allocation usingalloc_locals
(adding 1 cairo step).From this perspective, it seems always better to use
local
instead oftempvar
.Can anyone provide code samples where using
tempvar
is better than usinglocal
(beside this one extra instructionap += SIZEOF_LOCALS
)?
Heavily discussed StarkNet Improvement Proposals
[SIMP] String standardization
[SIMP] Connect accounts to dapps
[SIMP] Wallet Multi Chain Support
[SIMP] Starknet Provider JavaScript API
[SIMP] Check Support for Starknet Provider JavaScript API
[informational SIMP] Comments in StarkNet contracts
Useful links & articles
@Argent - Account abstraction (AA) is one of the hottest topics being discussed at the moment - why should you care about account abstraction?
@0xNurstar - The importance of automated Asset Managers on StarkNet-powered DeFi. Last week @open_financeWTF has joined the StarkNet DeFi scene. Let's see what it is and what is the mission of such platforms.
@henrlihenrli - ELI5: The data availability problem. Ever heard of "Zk rollups", "Validiums", "Volition", "DAC", "Data availability layer" but not sure what they are? ~15 tweets and you'll know.
@Testnet_Digger - @magnetyfi just released its testnet last weekend and aims to be the first DeFi Social Wallet but what is a DeFi Social Wallet? Let's deep dive into Magnety.
@epolynya - Highlight: StarkNet does optimistic parallelism, coming in the next upgrade (And tons of other "alpha leaks", truly an exceptional AMA).
Developer resources
@galronx - Here's a cool use of #Flashbots to send ETH through StarkGate.
@PapiniShahar - Thoughts about blocks and states. IMO, there is a slight issue in ethereum API. Both getBlockByNumber() and getBalance() get a block number, but the second actually refers to the state *after* that block, not to the block itself.
@galronx - Alpha leak from @bbrandtom's great AMA (42m30s): Cairo 1.0 is not the endgame of building on StarkNet. "We have a new team that re-writes the Cairo compiler, to make it a more developer-friendly high-level language".
Dates and Events
With DevConnect Amsterdam and the StarkWare hackathon concluded, things are getting a bit more relaxed again.
next StarkNet community call July 6th : Open for presentation, roadmap update.
Introducing @StarknetHouse - a virtual educational summer program presented by @topology_gg in collaboration with @StarkWareLtd and pioneers in the #StarkNet ecosystem. The program is open to anyone excited about learning to build on StarkNet using #Cairo. Starting June 1st. Check out their research fellows here.
Encode x StarkNet Online Summer Hackathon: A 3-week hackathon focused on StarkNet. Start Date: Monday, 27th June. Register by: Monday, 4th July.
@matchbox_dao: You are a dev and want to build cool games and gaming-related projects on StarkNet? Time to join the very first MatchboxDAO hackathon (3rd to 10th of July) before it's too late!
@stark_con - Announcing the StarkCon Paris Mixer. A casual evening for the StarkNet community on the eve of @EthCC Paris, July 18th. @zkLend and @myBraavos will be there.
@encodeclub - Announcing the STARKNET PARIS HACK, in partnership with @activate_build, July 18th-19th.
@LeJournalDuCoin & @OnlyDust_xyz team up to organise a StarkNet conference straight after the end of @EthCC in Paris, July 22nd.
@zkLend is organizing a StarkNet meetup in HongKong in the summer. Date TBA.
@stark_con - StarkCon is a community-driven conference to bring all the “STARKs” under one roof. The first StarkCon will take place alongside Devcon, the official Ethereum builders' conference in Bogota, Colombia; October.
StarkNet Summit: TBD
You can check out all of the past updates here.
None of the content of this newsletter is financial advice. Always do your own research.
Thank you for reading, and see you next week. ⏳
Special thanks to odin_free, @0xNurstar, StarkNet_Digger and starkwhale for helping me source some of the information! 🔍
Would you like to sponsor this newsletter? Reach out to me.