StarkNet Roundup #35
Weekly summary of all things StarkNet
This newsletter is made possible thanks to Empiric! Empiric is the first live oracle on StarkNet, and the leading provider of robust data feeds to the ecosystem today. The network is powered by data partners that include Alameda Research, Jane Street, Gemini, and CMT, is offering VRF and will be offering new data verticals soon. By leveraging StarkNet‘s on-chain computation Empiric is also pioneering computational data feeds and will enable the next generation of DeFi protocols to go beyond what is possible today. Follow Empiric to stay up to date.
Empiric is looking to hire developers to join the team—if interested please reach out at email@example.com.
Welcome to the 35th 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
brings the world gasless DeFi on Ethereum L1
@starknetvietnam - Recap AMA between StarkNet Vietnam community and @bfu_fubrian from @zkLend - Recap in Vietnamese
@starknetvietnam - Recap AMA between StarkNet Vietnam Community X @0xHashstack with @aris_dot_eth - Recap in Vietnamese
@doubletop_io - We have published a big interview with @StarkWareLtd Ecosystem Lead @GuthL - talking about the creation of StarkWare/StarkNet, StarkNet products and opportunities for users within the ecosystem.
@infura_io - Infura x StarkNet : Enable Your Ethereum dApp to Scale (ZK-Rollup, L2) - A presentation video
@LootRealms - A discussion about the state of on-chain gaming, building the @lootproject and the game development process on layer 2 #StarkNet - with the participation of @NicoVereecke, @threepwave, @lordOfAFew and @TimshelXYZ
@encodeclub - Announcing the Cairo Camp, sponsored by @StarkWareLtd 🌟 - Free 5-week coding bootcamp to learn how to build in Cairo with a mentorship and support from @encodeclub, if you want to apply click here
@StarkWareLtd - Our Regenesis plan is here and it's smooth 💡 - Regenesis will follow Cairo 1.0, making StarkNet contracts simpler and safer. The migration will be seamless for users and simple for developers
@StarkVietnam - Thank you for joining the first #StarkNet Conference in Vietnam. - More than 50 builders came
@matchbox_dao - MatchboxDAO is hiring 🔥 We're looking for an experienced Front End dev for one of our games - Requirements - Confortable with React/Vue/Svelte & web3.js/ethers.js
@10KSwap - Do you want a more interesting and special role? Here it comes! - Role to be claimed on @guildxyz
Weekly StarkNet stats - last week: 295K txs on Goerli, 17k txs on Mainnet. To date: 7.1M on Goerli, 378K txs on Mainnet. Contracts deployed last week: 4.6K on Goerli / 1.8K on Mainnet
StarkNet Community & Shamans Highlights
STARK Home 26: Shafi Goldwasser and the Amazing Untold Invention Story of ZK
StarkNet Workshop #4: Unit testing with Protostar
In this post, we want to share our current thinking on how the actual migration would look like during StarkNet’s regenesis. Our goal is to create transparency and use your feedback to improve the mechanism and reach a solution that will be the least disruptive and allow applications to launch on StarkNet Alpha before the regenesis.
We highly recommend you read the Regenesis Update 11 to undersrand the scope, timeline, and code migration before deep diving into this post around the state migration.
Wen Regenesis? The overall timeline
End of 2022 - introducing Cairo 1.0 language
Beginning of Q1 2023 - StarkNet would support the deployment and execution of Cairo 1.0 contracts.
A few months after that - blocking Cairo v0 deployment and interactions
We intend to have a fully alive and functional system in which contracts are gradually and seamlessly updated to Cairo 1.0 without breaking anything. At the end of this period, transactions attempting to call Cairo v0 code would fail.
We next detail the mechanisms that would allow us to achieve that - and what you, as the dapps developers, would need to do.
Moving forward with a backward compatible state
The fundamental feature allowing us to replace the contracts without breaking anything is preserving all contracts’ addresses. For example, imagine that your account contract owns three types of ERC-20 tokens and that you upgrade the account to Cairo 1.0. If you keep the same address, this change is transparent to the ERC-20 contracts. But if your address changes, the state of these contracts also needs to change.
The second thing we will apply to make this possible is backward compatibility of the storage layout. This means that the place in the state in which StarkNet stores variables won’t change between the Cairo v0 and the Cairo 1.0 versions of the contract (assuming the variable name and type is the same). Thus, developers can upgrade their contracts’ code, and things will continue to work without changing the contract’s state. To leverage on this invariant and guarantee a smooth transition, the dapps developers will need to verify that variable names in the new implementation match the names in the current one.
Heavily discussed StarkNet Improvement Proposals
Useful links & articles
@barretodavid - Your phone is at a higher risk of being stolen or lost. - How to secure your wallet with Ledger and account abstraction
@shivsakhuja - What are Rollups? Ethereum Layer-2 Scaling Solution Explained Simply - An animated video explaining Rollups in 5 minutes.
@TheNewtonHQ - We're launching a Challenge inspiring to explore @CairoLang ! - Learn about the Cairo lang by solving playground exercises and winning rewards
@eniwhere_ - Tired of writing interfaces for your #Starknet contracts? Here's a command-line tool that can generate it for you - This will automatically create the cairo interface file for the specified contract so that you're sure it is always compliant.
@TheNewtonHQ - Don't like learning a programming language alone? Join the Cairo Gang - Newton launched its Telegram channel
Dates and Events
@StarkNetNG - STARK Devs in Nigeria will be in @Web3Bridge Lagos Conference next month - Make sure to stop by and participate in their workshop if you want to learn more about StarkNet and Cairo - Date : October 6th - 8th
@zksparkofficial - We are excited to announce our upcoming AMA with @esatoshiclub - Date : 3rd October 13:00 UTC
StarkNet Brussels #2! - Meetup to talk about zk-Rollups and StarkNet! Date : Wednesday, October 5, 2022 at 6:00 PM
@StarkWareLtd - EIP-4844: Proto-Dank Sharding - Why does it matter and how does it affect L2s ? - Stark Space with @TimBeiko, @protolambda, @toghrulmaharram, @jessepollak, @FeedTheFed and @dimahledba - Date : Monday, October 03, 16:00 UTC
@StarknetCC - The 2nd edition of StarkNetCC will be held in the heart of Lisbon 🇵🇹 - Date : Oct 31st & Nov 1st
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. ⏳
Would you like to sponsor this newsletter? Reach out to me.