Encode Club: Tom Brand AMA
Encode · 29 Jun 2022 · 1:02:44
Tom Brand, Product Manager at StarkWare, answers questions from Encode Club on how a physics graduate ended up researching consensus and zero-knowledge proofs. He explains validity rollups in plain terms, why verifying a proof lets a network scale without re-executing every transaction, and why StarkWare settles on Ethereum. The conversation also covers Cairo and why it was created, account abstraction on StarkNet, and how the network relates to the Merge.
Speakers
Topics
From Encode, hosted by Encode.
Transcript
welcome to kind of our most recent ama we'll kind of get started here shortly as you join us post in the chat where you're coming from all over the world fun to kind of see the different time zones that are represented as myself i am in austin texas we have somebody on our team as well from london so that's pretty cool to see um but yeah a little intro into it um welcome to our ama with tom brand product manager at starkware to start off i'll be the mc for today's ama session i'm a program manager here at encode club if you haven't heard about us
before we're a web3 educational community we put on awesome programs such as boot camps accelerators workshops and amazing amas like this one all with the goal in mind of kind of education and educating developers and learners into web 3. a little bit more about starkware starkware is a permissionless decentralized ck roll-up solution any developer can deploy any dap using smart contracts to achieve unlimited scale so a little bit about our speaker for today tom brand he's been a product manager for starkware for
about the last four years he has a bachelor's degree in physics from the hebrew university of jerusalem after serving in the israeli defense force he got a masters in cs specifically research consensus mechanisms in the field of permissionless networks and cryptocurrencies so very kind of versed in the space here thanks for joining us tom how are you doing today yeah i'm great uh thank you for having me here and thanks for everyone who uh took the time and joined great thanks tom so we'll kind of get into kind of how this will work we're going to do a short kind of
q a back and forth for the first first 30 minutes from myself if you do have questions after those 30 minutes we'll open it up to the public where you can raise your hand and actually ask live or you can put in the chat and i will relay those questions we have anupam from our team as well on the call he'll be posting links he just waved there as well as kind of answering small questions in the chat if you have about kind of the experience here so yeah we'll kind of get right into it tom thanks for joining us how we like to start off is you know just a general question about kind of yourself you know when you were younger what did
you want to do and kind of where does that look compared where does that look now compared to that vision uh tough one do you want to talk about validity roll-ups maybe no i'm kidding yeah so no i'm kidding um okay i think i i've always [Music] seen myself as a father right it was quite natural to me and and um fortunately um i have three uh amazing kids pretty young the oldest one is four and a half years old and has two two others old boys
and so on that front i think i'm i'm okay i i i've made it um but on other fronts um yeah i don't know i i mean i was always attracted to science and on as you've said my bachelor degrees in physics and i really spent almost six years working in in that field and and then i mean maybe we can talk about it later but at some point i was exposed to crypto and then i decided to like do my master degree there um
and and now i'm here but yeah yeah then let's kind of touch on that there tom that was kind of my next question what was kind of the first time that you heard about web 3 and kind of how did it plan out where you ended up making the switch into kind of the industry yeah so i think with almost er six years ago i started to to look a lot into economics and i think i also started just a few courses in a master's degree in economics and i was really drawn to to markets and how how it affects a human life
and uh in one dinner with a friend of mine he i don't know we talked and then he said you must look into bitcoin and ethereum it's gonna i mean it's really interesting and then when i i i went back home and looked into it and it was like two worlds collide right one on one end economics and the other one is science and it was just an instant click to me and back then i i did other stuff in physics as i said but then i had the opportunity to to [Music] to take a year off and do my do a master degree in computer science and it was like the perfect opportunity to to dive deep into the
theoretical aspects of blockchains and as you mentioned consensus protocol in general um so this was how i got into it i i had like i would say luck i'm not sure exactly so i i walk like in the university and then i saw a door and it says like we accept bitcoin i was like okay i gotta look into it and it was the room of uh professor ellie bensasson which is the the the co-founder and president of starkward today uh which he in his academic work like did a lot of the theoretical and and mathematical work on on
zero knowledge groups so they said okay this is a very good opportunity to find an advisor because it seems like he's into blockchains and stuff like that and i got into his room and somehow convinced him to to to take me as his student um and then we did one year of research together and in the middle he abandoned me and went to to found starkware which was again like an immediate click in my opinion because it was a very interesting company which the way i view it back then and i'm happy that this is actually what we're doing today uh was trying to solve the two most uh important problems in blockchains right one is privacy and one is
scalability um yeah so so finishing my master degree i went to work at starkware and uh here i am today awesome we love it um so yeah can you you touched on kind of zk and ck fruits there for our kind of audience that isn't as technical and maybe hasn't heard of them um in depth could you kind of explain in kind of layman's term overall what is you know a zk proof in zk roloff so let's start with just proof systems without the term zk right because it's right it always comes with the term zero knowledge but
actually proof systems um can be with or without zero knowledge um so proof systems in general are a way for i mean it is a mathematical construction that allows uh two entities approval and verify um to do some interaction in in that interaction the prover can convince the verify the verifier that some computation was done correctly right now the most naive example for that is what we do every time we're going to the restaurant where at the end
of the meal the prover which is the waitress brings you the the bill and there uh they prove to you that the actual uh i don't know amount you you need to pay is the is the is the sum of the things that you ate right and now the nine things about stark proofs or snark proofs or any um proof systems that are being used in blockchains is that they have some nice properties and one of those nice properties is that um the prover can generate a proof uh that can convince the verifier that some statement is correct in a very uh short way right so if i did a huge
computation i don't know um went over a huge database and made sure that my name is not on that list then i can generate a proof to that which is very succinct right you don't have to re-execute all the search over the database but i still will be able to convince you that uh this search did not yield my name in it right um and that property leads us to what are zika rollups or validity roll-ups as we like to call them um because they don't have any zero-knowledge properties so since though this proof is much much smaller than the computation itself
the way i apply it on blockchains and the way i use it to achieve scalability is that instead of you let's say you want to participate in in a network okay you're a node and you want to make sure that the state of the network is correct so what you do today in every blockchain that exists you have to re-execute all the transactions right you have to redo all the work that was done and this is the only way that you can achieve trustless guarantee that the state is correct now what proofs allows you to do is you can replace the re-execution but by verification of proof and this verification is
much much the computation effort that is required by the verification is much smaller than the re-execution itself you can achieve scalability right because you can have i don't know monster machines that just execute enormous blocks but you as a participant in the network can still keep up uh and verify the correctness of this the system because you only verify the proof right so we used proofs to uh to convince that for example a block execution is correct but since proofs are proof verification is much smaller than the actual computation itself you can achieve scalability right that makes sense was that
clear that was um so that kind of leads me to why did uh kind of start where decide to build on kind of ethereum's blockchain in particular i mean it's an easy question right because right i mean what else where else can you can you build i mean and to be serious validity roll ups are in l2 on top of an l1 right and we use the l1 as a settlement layer meaning the proof verification so we are sending the proofs to l1 and and then you you are making sure that all the nodes that participate in the network
actually verify the proofs right and in that sense i think there's no competition to ethereum uh in the uh yeah in the community in the decentralization in in your ability to have ethereum as a neutral l1 layer um yes so especially when we started right which was i don't know three and a half years ago when we decided where to to um to launch our first product which was starkx then there was no question and and i don't think that anything changed right the tillum is the most uh vibrant
and and at least the way i view it right maybe maybe i don't see but this is why we're walking on top of ethereum right in um you know stark starknet uses kind of cairo the programming language what would kind of be the benefits of kind of using that language over others and kind of what was the thought process of kind of using that okay great question but i think let's go a step backward and talk a bit about what is cairo and what why why we had to invent it right so cairo was invented in starkware a few of our engineers
crazy crazy engineers and and the motivation for cairo was that how do you generate a proof to a statement right it's not that you can just take i don't know a python program and generate a proof to it you have to translate your computation to something which is called a algebraic intermediate representation which is uh we name it air which is basically just a set of mathematical equations right so and it it's even hard for me to say its name but it's much harder to construct it right so if you want to
to i don't know take a computation and generate the mathematical equations that describes it it's possible right we did it uh three years ago but it's very hard and the problem that uh it leads to a problem that not many people can can write programs and then generate proof to them right there is a uh the equivalent to that is back when we wanted to i mean i was not alive then but let's say we when we wanted to generate circuits to specific computations you had to uh to build them by hand right you had asics and then the the evolution of asics was cpu right and what cpu allowed you
uh it allowed you to take any uh program that you want and run it on the same circuit which was the cpu architecture so what cairo did was to do exactly the same to prove systems or to start proof sorry basically we um created one a set of mathematical equations that describes the operation of a cpu right and then cairo which is a cpur basically allows you to write programs that then compiles to cairo bytecode which can then be run and proven right then basically what it
allows you it allows anyone to write program and be able to generate a proof to it without the need to know anything about proofs or about mathematics or write equation nothing you only need to to know how to program right okay so this is cairo sorry um now starknet indeed uses um cairo as its basic programming language right right um so the main thing to understand is that each program that runs on each smart contract that runs on starkness you need to generate a proof to it to its execution right so so
there are a few ways to to attack it one way is to just say okay write your contracts in cairo we know that we can prove the the execution of cairo programs and we build cargo in such a way that it will be the most efficient cpu architecture that can be proven right this is the way we built it right um the other option is to say okay let's uh implement there are a few ways to to to to go at it but let's implement um the statement which is the evm right and then we will be able to just prove the execution of the evm the the advantages to that is that
there is already a lot of experience um on writing things to evm and there is a lot of tool chains around it infrastructure et cetera et cetera the downside to that is that you sacrifice a lot of your efficiency right because as i've said cairo was general was built to be the most efficient language that you can prove so there are a few orders of magnitudes in the efficiency of generating proofs if you are building it to to be fully compatible with evm or if you are building it using cairo and since we and we had this debate right internally what we should do and eventually what we decided to do is that
we said okay we want to build the best scalability solution uh that you can have and and hopefully that the future economy of the world can can run on top of that right and and if that's the case then few orders of magnitude matters a lot right you want to achieve very high throughput with very low cost um and it's just not negligible and we hopes and i think that we can discuss it in a few minutes but people will take the challenge and learn another language and and start writing things for startnet and i think that the last year we again we can talk about
it in a minute but the growth in the ecosystem and developers numbers on stark network was amazing part of it thanks to you right and code which was a huge um contributor to that but i think people understand the benefit and and decided to to go into it um on a side note we do work on a way for you to take your solidity code for example and transpile it to cairo and run it on start it's called warp the first version was released uh three months ago and a better much improved version is supposed to be released in the either this week or next
week and this will actually allow you to take your solidity code and just deploy it on starknet and but i do think that people understand the benefits of writing native apps to start net and writing it in cairo and the the efficiency and what they can achieve by doing it is uh is much greater than the what they need to spend in order to learn it right yeah um so kind of touching on that disclaimer we'll have more hackathons in the future so watch out for that um upon will probably post some more events and links there on you know announcements so stay up to date on that
um did you personally tom kind of you mentioned we kind of as a team talked about you know the cairo as a language did you personally work on that as kind of a pm or kind of what other projects within you know starkwear have you worked on so my first project was starkx what is starkx star queryx is a specific application that runs in a validity roll-up mode so for example um and this was we started working on it back in 2019
and the first release was in june 2020 and since then star kicks um i mean the numbers are amazing the numbers of transactions that were uh ran through the system the numbers i think that maybe i'm mistaking but i don't know let's just say it and take it with a grain of salt i think the numbers of nfts that were minted on top of starclx is the largest number on any other system but basically what is starkx is is [Music] is a [Music] specific applications that run in a validity role of mode right so the first application was just spot trading exchange
and we launched it with diversify then we expanded it to also be able to support the nft minting and nft trading and we launched this uh product with immutable it's called immutable x and then we had the ability to to have derivatives trading and and this we launched together with the dydx um yeah and after that uh so so as i said originally starcx was was deployed with without cairo right um and then when we i don't know built built cairo we basically uh transitioned the whole
layer of starcx to work with cairo um and i think this is something that uh we are constantly doing wherever we go so we basically everything that we develop we first try to put it as fast as possible to production and see how it operates and in that sense start net in general is not something that is you know we just came up with an idea and we are trying to see how it will go we have a live system that uses the same technology uh and we see what what it can do it already runs in production for two and a half years or two years
we see what it can do we see what scalability it can achieve um and we're actually going to do the same with the new technology that we're going to introduce which is toll-free collagen and so we worked on proof it yeah exactly wow okay how does that work uh so there's actually a very good talk from i think it was yeah two days ago by avil which is the head of product and startnet uh he he gave a talk on ifrag on on the cologne and what we are planning to do with that but basically recursion allows you to to generate proofs of proofs right right so you can take a very
very large proof split it to many small proofs for example and start generating a tree of proofs or at the end you end up only one very small proofs but you were able to split the work for example between many people right android housing gives opens the worlds to many many interesting constructions the bottom line is that for start net and for stockx it just reduces the cost by a lot and it reduces the latency of proof generation and what i wanted to to to say on that is that so we built the cause and it already runs on testnet and the first application that we're going to uh
run with the collision is starkex right so it starcx gives us the ability to to make sure that everything that we're building actually holds in a production system so is that kind of the next things that are on the horizon for starkwear kind of what's the future look like for starkware um i know you just raised like a big amount of funding does that kind of come in to play on the next kind of innovations that starkwear is looking into yes we're fully how is it i mean we are full working like full time on start net right and this is
i would say our biggest priority so start net right now is is uh uh we call it start net alpha there's not uh there is still a lot of things to to to do uh to bring it to a place where it's um permission as the centralized ecosystem that lives by its own uh and it's in a production state right so i mean and this is one of our main goals the collagen is a technology that also can can can support that and make it uh much more feasible but um it's not like we're looking for our next budget this is our project start net yeah and there's a lot of things to do
uh we're heads down researching what should be the decentralized decentralization protocol for sequencers and provers we also have a very strong team working on how the governance of stark net will look like right and how it can be a thriving ecosystem that can sustain itself and we're very hard working on br and like bridging the gap between the alpha state and the production state and yeah and on parallel we're also constantly working on improving our technology so the collagen is one is one example but there are many many improvements
that we are we have in in in [Music] in in plans for the proverbs and the beautiful things about validity all ups is that it's not like other blockchains where it's not very clear how you improve the the scalability of the system right because you can just decrease block size because then nobody will be able to work in the system but on validity wallops if you improve the sequencers and the progress you just improve the throughput and the scalability of the system right so so there's there's no like limit uh which when we reach that limit we're saying okay the system can't handle more than that because users will always be able to verify the
proofs so we just have to constantly keep improving the approvals and the sequences yeah great that kind of um i guess more general question here tom on the kind of industry for that leading to um where do you see kind of that roll-ups and those proofs going or maybe even zk in the future how it's like actually applied to kind of everyday life you know how we'll see kind of through implementations in kind of society based upon kind of what you're working on um so first of all i really believe in and i mean i believe it for a long time and
i'm very fortunate to be working at that space that blockchains and web3 in general will be the underlying infrastructure for any uh value interaction in the future right and i also really believe that validity proofs or zero knowledge proofs will be in they are in the in the underlying infrastructure of every blockchain so so this is this is one hand and and and also on the other hand i think it's an amazing technology that we are only starting to and
understand its potential and and like um push its limits um and i don't know exactly to predict what other places it can be it can it can play a role because it really fits to blockchain like perfectly blockchains but in general i think it can play a huge uh role in like the digital era where you have to i don't know prove a lot of things but on the other hand you want to keep your privacy etc etc right so it kind of sounds like the true
technology the basis will be totally used in blockchain and maybe the average user won't you know see what's under the hood but it will be under the hood everywhere kind of deal yeah even now when you write contracts for start net you really don't feel the proofs right it's not like you're thinking how should i write this line in order for it to be the best polynomial you just write programs but actually the underlying uh mechanics is that proofs are being generated all the time right awesome i think that's kind of uh sums up the first questions i have i
kind of want to open it up now to kind of the general public i know we have some questions in the chat here and i want to make sure there's enough time to answer everybody so we're trying to change gears a lot of it tom sounds like kind of strategy and kind of um let's see it looks like people are asking about roadmaps so first one was from chris what is kind of the road map on the decentralization of prover if you can kind of explain a little bit about that what you guys are working with yes of course um so i think okay the general aim for us or the goal
for us is to have some first version of the decentralization protocol for starknet which means that both movers and sequencers will be fully permissionless and anyone will be able to participate by somewhere around key one next year maybe it's very ambitious but this is currently what we're aiming for and and i think two months ago or something like that we we shared you know our phone which is called starting at shamans right like the bitcoin wizards or repeal magicians and three blog posts which describes first of all what when we want to approach this problem what are the the priorities for requirements from from this protocol we
see and then we also posted two proposals and and right now we are as i've said really i don't have a better like um description of what was will actually be chosen because we're currently working on that but i think that uh we will share more details in the coming weeks as we get more clarity on what direction we want to go um i hope this answer your questions it means that everyone will be able or maybe just to to means that everyone will be able to run a sequencer and
anyone will be able to run approval right those will be available to the public if that if it answers questions then great if not just ask again awesome yeah chris i think that answered it there but um next one was what is one helpful g team strategy um for starting assume it's go to market yeah that's what i assume as well um so you've kind of been the pm for the since the inception so i guess kind of some insight on how you've guys taken the product and actually been able to go to market after good question um
i'm not sure if this is exactly answers your question but as i mentioned one thing that we constantly do and i think it was very very helpful for us was to try and put something in production as soon as possible right it's it's um it's very tempting to to work on something for a long long time and get out like the perfect system at the end and it's very scary to put out something which might not be uh the perfect system but i think what we did was to try and and and
put concrete milestones which are not far ahead and it allows us to put something in production as soon as possible and and i mean one example for that was our strategy with stark net right because when we started working on startnet which was uh january last week last year we really had two possibilities one was okay let's build this network and work on it for two years get everything right all the specs everything like fully fully detailed and then publish it to the world and the other option which was actually what we did was to say okay let's just call it starknet alpha
and allow developers and allow the ecosystem to start interacting with it as soon as possible right so in june last year we published the first version of starting with alpha and basically since then we just constantly update updated it every month months and a half with the latest state of our development and this allowed us to first of all always get constant feedback from developers from the ecosystem that what we're doing is in the right direction or not the right direction and for us to also like see what are the real problems and uh it allowed the ecosystem to start
to start to grow so i will give you just one nice example that i thought about it yesterday so uh in the next july there's the upcoming hcc right the italian community conference in paris and last year i was there and we gave like the first stagnet workshop before like professional people started doing those workshops so it was me and we had like barely 13 participants something like that i don't know 15 participants i like went out to the street and just grabbed anyone i could to make sure it is not empty okay one year later right which is next month only one year
and there are three events which are a stock net related and are not being organized by us and the number of workshops that you have uh on startnet is larger than the number of participants that we had back then so we have something like 14 workshops on starcraft and what i want to say is that if we chose to you know work on starknet and just release it i don't know when it's ready this none of that would have happened right so this is a go-to market strategy that we found helpful for us
to meet the production as soon as possible right yeah we're hoping you know us facilitating our you know aiding to the kind of those developers and just as it goes on i know everybody is excited about kind of stark net and trying to hop on it so i think it was kind of a great great system there leading to kind of the next question from julian um can you speak about the road map of paralyzation of transaction processing what are the different challenges associated with it of proving versus execution quite a long one here what kind of performance benefits can we expect from kind of each one of those
okay so i think the answer to that question is very similar to what i said before we didn't like said okay let's plan for the next year what will be the roadmap for parallelization because uh you can plan something and then when you meet the code you understand that i don't know the problem is somewhere else entirely so what we chose to do is we said okay let's define the the minimal uh version of parallelization that we can have like the most naive one and just go for that and then after we implement that we'll have a much better understanding of on where we can go right so i hope it's not a big disappointment but
the roadmap is that we are progressing step by step um now what are the different challenges i thought between proving polarization of proving in execution is a very good question and they're actually very different because and i will try to explain it briefly because i think there are many many other questions but basically execution is a sequential process in in its in its uh if you want to execute 100 block you can start executing the last block before you executed the first one because you don't know what will be the state right so you can try and execute in parallel
transactions which does not affect the steam the same storage right so you you can take transactions which are decoupled and execute them together there are a few ways on how you can know it in advance for example the way solana is doing it with access lists or the way we're currently approaching it with some optimistic parallelization where you try to execute them and then see if they touch okay so this is execution but proving is is a different problem right basically you know what is the computation if you want to prove the execution of 100 blocks you have the full execution trace already there and the proof is a stateless is a stateless computation meaning it says i
prove that i moved from a state a to state b right so in that sense i can prove 100 proofs in parallel each one of them for one single block because the the the computation is already known in advance so it is very easy to parallel proof and this is why currently for example the the bottleneck of the throughput of starting it uh not the pulvers which i think is you know quite surprising but approvals can actually handle much greater load as you can see for example with the ydx system where we can we handle i don't know 40 dps of very very complex transactions the actual uh
bottleneck is the execution throughput and what kind of performance can we expect um high performance i mean we're aiming high so i hope that by the end of the year we'll have something like between 40 and 80 swaps per seconds and proving is already much higher right this is not the problem i'm talking about execution and going forward i don't know let's see awesome but it's just the beginning i think great i think that sums it up very well um quick question i think here what do you think the cap of the main net will be lifted uh
it's a great question i mean we don't treat likely users funds right so we don't want to uh have many users risk their funds in in a system which is essentially an alpha system so i'll give you a few examples on what it means alpha it was not audited right and i mean i really believe in our engineers they're amazing but i mean we do have bugs i'm sure this is the nature of uh programs and the the system is fully upgradable by us at the moment right so there is a single key that controls the implementation of starknet so this is a major security risk which we as i've mentioned in our
transition from alpha to production of course it won't be the case but currently it is the case and so i explained why we have limitations i didn't say when uh it will be lifted i don't know yeah we were still um increasing it gradually uh with the main goal of allowing users and developers that want to operate on mainnet to have fees to do that right it's not for just hold money assets there or something like that but when we have more clarity we'll we'll communicate it
great um next question here um any plans on kind of building a higher level language on cairo cairo kind of seems to be closer to assembly than kind of a higher length level language um anything yes coming on there tom yeah so alpha league just because i don't think we said it so we have a pretty new compiler team that rewrites the cairo compiler um to make it as you've said a more developers friendly or just a higher level language with lots of the features that are constantly being requested from developers um
in there so it won't be next week right but this is something that we are working on it and uh i'm pretty sure the results will be very very good amazing we're excited to see it um next one here as a developer coming from solidity background do you recommend learning kind of cairo alongside it or to get kind of a good grasp or just go right into cairo do you need that kind of solidity experience yes so just there's one was one question about blockchain reset online which is an apology it's very it's very close to my heart because i'm like in the process of writing a blog
post to explain our thoughts around that so yeah i think there will be a blockchain reset um but it won't be in the far future but hopefully in a few short months and we are working hard to allow the migration of mostly assets to be as smooth as possible right so fungible tokens is pretty easy to migrate and but we are also working on other solutions that will hopefully make this transition as smooth as possible but maybe it won't but yeah i suspect there will be one
all right okay so now to the question about something yeah sorry for skipping over that one missed it yeah so i i don't think there's a project with it to know a solidity right it's not like a cairo is highly influenced from solidity but i do think that a lot of the tutorials that currently we have for kyle assumes that you are familiar with the concepts of smart contracts and blockchains in general right we still lack the educational resources that explains a web to developer how to go directly into stark so in that sense
it's not necessary but we still don't provide the required information for you to go directly into cairo right but we do plan to to to change that right many plans so in short it would help to kind of understand the smart contract side of things to generally exactly um next one here they're kind of mini layer twos out there can you tell us kind of the strengths of kind of stark net compared to other projects yeah first of all validity roll ups in my opinion is the only viable way to actually scale blockchains right the use of proofs um
anything else in my opinion is is does not hold when you actually want to scale um and specifically starting it so i've just mentioned it but you have a really really good and vibrant and and amazing ecosystem right so if you would ask me one year ago what will be the the strengths of stark net i wouldn't say that but and i'm actually very surprised to say today but the ecosystem is amazing and and i mean we're also work yeah i mean i mean i guess anyone will say but this is also true we are also working very very hard
on it and to make it um an actual system that will live by itself and and will hopefully yeah work right so right this is what i do great great um one more question kind of about um lifting on mainnet when will the white list for contracts be lifted maybe it's the similar yeah i think very soon this is actually on my plate just remove it so again the one of the main purposes for us was
to make sure that developers that are coming to deploy on on mainnet are aware of the state of the system so it was a way for us to make sure that they talk with us and but i think it is less necessary now and we will probably remove it sometime soon okay a lot of things kind of on the horizon here so stay up yeah things are moving fast they're moving fast yeah um a quick question what channels do you recommend to learn about zero knowledge proofs and kind of cairo in general for people wanting to develop for stark net um can we just kind of go to your
developer documents or is there any kind of additional so we have our developers documents and i think they are pretty good but not perfect um but there are many many tutorials that people have started so you can just go to startnet.io and it has like many resources there that can can give you a way to get into it um it it won't talk almost at all about zero knowledge proofs because as i've said you don't need to understand zero knowledge proofs in order to work on start net for that there are other resources
but it will guide you through the process of learning how to use darknet how to write in cairo et cetera et cetera great um i don't think we're taking any token questions here um so we'll move on to the next one when is the connection of d-apps to the mainnet i think we kind of answer this one as well very soon kind of things are on the horizon um so i'm not trying to understand the question but mainnet is live and apps can deploy on it and there are actually some apps that running so today so yeah today on the alpha you can't there's no yeah when the app is running
i mean apart from the disclaimers that you need to know it's a working system right um let's see what are your thoughts on blockchain and crypto use cases in countries with high inflation and corruption so i guess that's more of a general kind of crypto question it's a good question i never thought about the specific use case of countries with high corruption but it is interesting like to have more transparency with for example i mean but this is really you know far-fetched but i would like to have a
clear visibility or maybe even [Music] the ability to decide and influence what is being done with my tax money right i mean at least part of it i would like to say okay this is what i want to do with it right i have like a set and this is actually stuff that we are thinking about for starting so you as a user can have the ability to decide what will be done with your fees right you want to anyway but this is just stuff that we want to add to start with and this is a good question i don't have past thoughts on that i can rumble along
if you want but maybe yeah we'll try to get through the next couple questions here um parallelization is also optimistic if the proof on one block in between is a bad block then all the following proof is bad um i'm not quite sure exactly what they're asking there yeah i think it referenced to the what i why what i said about the fact that the proofs can be easily paralyzed right so i'm not sure exactly what you mean by a bad block but when i execute a block i can know for sure if it is a valid one or invalid one maybe the only caveat is if something
happens on l1 maybe i don't know a deep reorg or something like that but let's leave it aside so in that sense when i start to generate the proof i already know that it is a good block right right um so yeah i hope that answers what i mean is that i don't need for the proof of the last block to be finished before i start generating the proof of the next block right so in that sense you can imagine like many processors running in parallel but they are not sequential they are sequential in the execution
rate but they are not sequential in the proof generation rate so i hope that answers the question uh just ping me i don't know i will post my hand later and you can just ping me great um we'll try to get these last couple in i know we have only five minutes here what do you think about t-e-e confidentiality do you compare with other confidentiality technologies i'm not sure exactly what is tee is it like how do i enclave that's not sure if it's hard to enclave then i think it will be hacked if it's something else then i don't know what it is so yeah
yeah and that answered that he did say yes um let's see double question here what does the letter o stand for in in the acronym cairo and what is the meaning of the term proof when used um tla plus cairo okay so i'm not sure what is the second question i hope it's not embarrassing that i'm not aware of what it is the letter o was just a way for us to make it like a meaningful name so c is cpu air is algebraic intermediate representation and o just gives us the ability to call it cairo right it works out it's pretty smart pretty
clever um yeah let's see do you have any plans to build custom hardware fpga i think yeah if it will if it if it um holds benefits then at some point i mean the market will demand a more performant progress and we'll do it right now as i've said perverts are not the bottleneck at all but what we do look into now is what can be done with the gpus right because it's much easier you can just buy a gpu and again the same business that you use a cpu you can
use the gpu so this is the first thing that we do and we're already looking into it okay um yeah um last couple here nfts seem like they can't be migrated during a blockchain reset is this true and no there are there are nice ways to to allow it uh where you can burn on the origin chain and mint on the on the destination chain uh and do it with proofs so this is what i mentioned that we're trying to have
like ways for developers of nfts or stuff like that to also be able to migrate their assets seamlessly to their users i agree it's it's much less trivial but hopefully something feasible can be done on that front as well great um do we need to keep in mind all smart contracts specific attack services when designing contracts for stark net yes um great yeah the the the the i mean there might be more but the general structure of smart contacts is exactly the same uh there are always
specifics to each implementation right evm might have its own uh specific attacks and and cairo vm might have something else but general attack services on smart contracts still holds and we actually had a really entrance attack in one of the contracts which was discovered not in our contract but just an application contract which was discovered there three weeks ago oh wow um were they able to kind of fix that yeah it was still on testnet okay great great um let's see we have a couple more here um where can i buy startnet merch do you
guys have shirts just come to the workshops and hackathons and i mean i can show you uh a photo of myself from the last star caton in amsterdam in april and i was like bottom to head to bottom fully uh equipped with the start net merge so yeah just just come to the workshops and hackathons come to the workshops in the hackathon so sounds like next opportunity eats cc so make it out there and you'll be able to get some merch um let's see if we have time for i think two more questions here tom if you're willing to kind of stay maybe a couple minutes yeah these will be our last two
questions everybody um we do only have a couple more minutes for tom thank you so much for him staying over to answer them here yeah it's a pleasure those are great questions let's see according to what are the advantages of account abstraction what kind of use cases will enable okay so first of all i think that like anything else that and this goes back to if you what i said about my background but in any place where you allow developers or people the freedom to design something they will come up with things that i could never thought of and so the first advantages of account
abstraction is that it gives users and developers the freedom of creativity to to come up with new ideas right right um specifically we already see many nice things on starknight so for example um users have implemented multi-code right so the now the basic uh way to conduct transactions on start net are multi-cores so for example what it allows you it allows you to have like safe erc20 transfers in the sense that you can set an approval uh do the erc20 transfer and then uh remove your approval right so you
suddenly don't have all the problems of um infinite approvals on erc20s and i think this is just like the tip of the ice on what we can see but i mean it allows us to develop in parallel multiple signature schemes for account verification um we would introduce in that some of the upcoming um versions fee abstractions which will allow you to pay for example in any token and we've seen a very nice use case for gaming from account abstraction in the starcaton in april where a team have
like implemented a session key that allows you that once you connect to a gaming session you can have like a limited time key that gives the app the ability to seamlessly for you to sign transactions so it really improves the ux of the game so but again this is not something that i would have thought of like three months ago but people just had the freedom and they came up with good ideas right which is blockchain so many good right happening um awesome last one here ethereum currently has no solution for the upcoming updates and it's not clear if it can convince
everyone to stop mining are there potential problems with ethereum affecting kind of your project once this kind of merge happens here affecting kind of starting um so currently starting it is an l2 on top of l1 which is ethereum right the nice thing about it is that it has the same security as l1 um probably the bad thing about it is if something happens to l1 then also the current construction of starknet might be a problem but the protocol itself or the way it is
constructed is not assuming um almost anything about l1 right you assume it is some neutral um public good that you can use but i mean we do have always the ability to to to use other places again i don't think there are currently any other place which is good as ethereum but it is a possibility right awesome well i think that's it for today thanks so much to tom for joining us um amazing kind of questions asked as
well in the chat thanks so much for taking the time um we'll have this posted and recorded on youtube later um let's see maybe that's post kind of tom's twitter handle here so you can follow him um can i see some updates on starknet coming up and then just kind of generally where stark where will be in conferences and workshops um but thanks again thanks for everybody to join and uh hope to see you guys here soon thanks tom steve and anupam thank you very much for having me here it was a it was a real pleasure
awesome we thoroughly enjoyed it thank you for your insight and kind of in depth on what you're doing so it was very insightful have a good have a good one bye [Music] you
Related talks
- StarkNet is Coming
- StarkNet zkRollup on Ethereum
- Speedrun Rollups: A Beginner's Guide to L2s, ZK, and WTF People Are Talking About
- Build Starknet.anything - ETHOnline 2024
- 'The Road to Starknet' - Tom Brand
- What Aztec Alpha Actually Means for Builders
- ZK-EVM
- Loopring 3.6: Features and Challenges
- Zero Knowledge: масштабирование L2-протоколов, инструменты для разработчиков • Пётр Королёв
