[BUIDL Asia 2022] Full scope of the Core
BUIDL Asia 2022 · August 2022 · 18:46
Tomasz Stanczak, founder of Nethermind, describes what it takes to build Ethereum core infrastructure and to run a company focused on building rather than venture-style or end-user products. The talk recalls writing an execution client from the Yellow Paper with the help of the Ethereum test suite, and how Nethermind grew into a team working on execution clients, Starknet's Juno, staking, cryptography research, DeFi and security. It also points to the Protocol Guild as a way to fund core developers.
Speakers
Topics
From BUIDL Asia 2022, hosted by Kryptoplanet.
Transcript
hi everyone okay i think i'm prepared so uh i'll talk exactly about ethereum and building the ethereum ecosystem core development but also about this founder journey of being the builder and focusing on building and not more like vc style projects or end user projects uh so full scope of the core of ethereum core what does it mean to build ethereum at nethermind so maybe first a bit about me so my name is tamar steinchak and i've been working on the ethereum core development nethermine client project as a lead developer between 2017
and 2021 and nowadays i'm still developing and still coding actively but much less because a lot of my time is taken by mostly operations of the company working with the foundations working architecture specking and i work on multiple projects now some of them you may have heard of and they're all related somehow to to ethereum or to ethereum related layer twos so this will be uh none of mind it's uh it's flash bots where i work on architecture and specs the euler d5 project a stark net ecosystem uh work on twin stake which is taking as a service and fort tech council
so practically i can say that for the last five years i work double time on ethereum ecosystem and a bit more about the nanomines the company that i founded five years ago so nowadays it's 200 people but it started as a bootstrap bootstrap business we have like a solo builder working on protocol we're building execution clients none of mind but also the one for startnet juno work on infrastructure projects staking cryptography research work on d5 research and development and also a lot on security on the auditing and uh formal verification i
work with businesses like flash bots with brevan howard with gnosis chain so you know my my journey started by simply picking up the yellow paper after spending a year being very much interested in what is ethereum after joining one of the meetups reading non-stop about blockchain about ethereum and then picking up pillow paper and starting to write execution client and when i started it was all about building tests code tests code and using the tests that were already in the ecosystem and here i think it's important to understand that if you're a builder and the ecosystem has any anchor points that allow you to start building some very
complicated projects it might be a good way to go for me it was a set of ethereum tests which were around 20 000 tests covering various aspects of evm and the consensus and so on so that was a one-depth start and [Music] what does it mean to build the client for ethereum to build a node for for any layer one blockchain it means that you have multiple components in multiple aspects to take care of so it's the virtual machine it's the json rpc or any any kind of api that users really see as the way of talking to the network talking to the node so people will use some blocks
block scanners block scouts box explorers and then they will also want to talk to the node and ask questions about the blocks about the transactions it's building the network the p2p layer to make it really decentralized network so all the gossip and synchronization uh it's building the state so all the details of the balances of the accounts storages of the um of the smart contracts the smart contracts code deployment as well uh transaction pull mechanisms for gossiping and potentially maybe some plugins extracting mev on the go uh proof of work proof of stake mechanisms so block building and verification and the product itself so documentation the
tutorials the plugins they uh devops aspects of like wrapping it in the docker and so on so the execution client and the nederminds nowadays like you said at least that's around 90 or 100 different packages within a big.net project and what a company builds is much more than that because as you add more and more developers um there's much more work and it starts to be a bit more organized so obviously some of the very early realization when you work on the protocol projects on the protocol engineering it's it's systems engineering it's lots of coding low-level coding optimizations performance
uh but then it becomes very quickly devops and infrastructure fun so it's deployment of nodes it's running the nodes it's running tests smoke tests configuring the existing tests in the ecosystem fuzzing of the application making sure that you don't don't end up causing any of the consensus network splits so all of that exists already in ethereum ecosystem and is very supportive for anyone who who launches who starts as a builder on the protocol level and i think that's one of the reasons why we have nowadays five execution layer clients five consensus layer clients and ethereum
becomes uh very well known for this client diversity as you keep adding more developers nowadays we have 20 developers solely dedicated to the core development of the ethereum clients and nanomine you also build other functions that are natural when you can split them among more people so qa so devops and also building the organization around so maybe before i talk more about the community and everything that we have to deal with outside of the code think about coming back to the journey starting with one person building something that is generally considered quite a
quite a big challenge to build a full node implementation and when you do that you hear a lot that this is no way to monetization that it's impossible to uh to create a business out of it if you don't have big funding at the beginning and this is something that many of the many of the builders many of the super talented engineers at the beginning thing that they they have an idea that there is a lot of work and that there is no funding so the only way to go is to to go for a vc funding and start a business and then you realize that actually you start focusing on something that you may be less skillful with because you still don't have experience of building
company but you cannot use that massive talent of engineering of building what happens to have worked in my case was just focusing on something that i was really confident of just coding coding coding and becoming like better and better in understanding blockchain space and only then building the organization around it so probably one one more path to consider start start by building and later things like people start joining you because they see that there is a value in what you're building uh sorry this one uh so the ethereum ecosystem nowadays so all the code developers work together so this is not one client as i mentioned another mind
that we're building but there's obviously the classic the gaff there is uh there's bezu there's arigon there are multiple consensus layer clients that you may have heard of like lighthouse prince bloodstar nimbus teku and for the coordination in the ecosystem you need the channels where people uh feel really invited to speak together to discuss together the matters of the protocol so ethereum has been managed for the last 150 bi-weekly meetings so around 300 weeks six years uh during the all-core devs calls which are open which are recorded which are available on youtube and you can watch the history of ethereum there people discussing during the winter
times it was maybe six seven developers uh during the times of hype it might be 50 60 people or even up to 100 people discussing the future of the protocol this is all open for people who start building if you start contributing then you can join there are discord channels that also cover lots of topics that are related to core development on ethereum they if research channels so this is an important source of information exploration of what comes to the uh to the data availability to the new cryptography research to consensus solutions to the evm changes so all of that
very early research exploratory research is available in if research and this very quickly there is a realization that as a core developer as a system engineer you have to cover a very very wide array of topics that you have to follow you have to read the research you have to analyze the discussions you have to join the the channels at discord at telegram channels look at security as you see here is a telegram channel of around 1.5 1.5 sorry 1.5 000 members who discuss ethereum security all of that is an aspect of being core developer at neta mind and being really
a core developer dedicated to any chain building uh probably on any layer one you will have to deal with a lot of different forums collect pieces of information read a lot of research papers and discussions and try to understand how to how to incorporate that into your code base so apart from the developer or research focused materials you have the community itself and this is extremely rewarding part of being a core developer um probably like within the community when you deal with the community there's uh that is dedicated to your layer one
uh you have a lot of a lot of support so people pick up what you're building they cheer on you they um they integrate that even if it's super super not ready you'll feel it and this is fantastic because you you barely start and you see that people want to use it they they'll contribute to start writing tutorials on what you're creating and that feeling is with everyone in that mind you see people coming for internships trying exploring building something and people outside picking it up and those communities are are very quickly built if there is a common sense that we're building something cool so where the community exists so they raise ethereum cat herders is a group of
the project managers they organize a lot of events and talks and interviews with core developers there is obviously twitter where you follow a lot of discussions of where where the future of ethereum goes or any blockchain really there is the ethereum magicians forum that discusses a bit more protocol specific uh community-driven changes uh so eip crc standards and so on and now coming back to nethermine itself as a company so sure if you see it well but the execution client and building it was for us the way of building the expertise and understanding ethereum very well
understanding how exactly things works and avoiding the the risk of building something as a as a founder on top of a protocol that you don't understand so obviously you have to do that you have to make this like jumps and skip things if you want to build fast but for some people there will be always this uh this greediness this uh insatiable hunger to actually understand every single detail of the underlying protocol so another mine started like this by understanding the protocol from the very core and then building other functions around it so apart from devops that is supporting the execution client it also builds the understanding of how to run the infrastructure so we can start serving other companies on running nodes on
building the quick access to notes on security of the nodes and so on we built the layer 2 solutions because we understand how layer 2 interacts with the layer 1 protocols so we help mostly we work with the stark net starkware ecosystem and network helping them to build tooling for the for the protocol we built the web-free solution so the d5 protocols uh the the metaverse solutions that need to understand really where are the hidden security risks in the protocol itself when you build on solidity understanding the evm internals gives you much better understanding of of what can go wrong there is a bit of like false sense of
security if you understand solidity only and if you don't go a bit deeper so we do security for others because understanding protocol so well and again like just being on the core team means that usually you'll be asked all of those questions you'll be asked how to build t5 protocols on top you'll be asked about how to how to audit and ensure security but then the specialization happens and that's what happened also in dynamite the research itself so we built the function of research and you see that also at other companies like consensus chain safe and so on they would be building the the research around the solutions around the solutions that they built
so what's the how do we build it how does it feel now inside the company it's around 200 people in 50 countries we are all remote we have gone through around 200 internships and still on board new so we are not only builders but also teachers and this is again extremely rewarding and humbling experience of bringing new people to the ecosystem and hopefully we'll be bringing a lot of people from from asia and korea that's an opportunity to meet builders and we learn a lot this way like as you have to follow all this research materials you have to follow all these forums at some point you realize that all the new blood coming to the
ecosystem brings some new understanding and allows you to move faster to understand things better so so we teach but we also learn from anybody who's coming to internship uh and and you see that buzz like over one million messages over a few years exchanged on our topics channels like hundreds internal channels on slack where we contribute to to building up ethereum and coming back to the founder journey how how it all went from a one person to 200 people nowadays uh by understanding that like when i was starting it was mostly just the beginning of the crypto winter so
as always a bit of mixture of luck uh crypto winter makes it harder to start but it also gives you much more time to build against those who are slowing down and realize that maybe they they start doubting the future and you can start beating the giants right so with never mind it was a bit like this they they were already well established players who built big solutions but we had two years when they were losing focus and we could just try to chase chase chase and build new solutions new approach uh so what helped it was bootstrapped it was one person at the beginning but then there was ethereum foundation grant so if you see the grants in any of the layer one ecosystems you can reach out
for for that path that helps with research that helps with development with launching new products very often for launching the protocols right you can with the idea for monetization from the day one you can go to vc and say this is how i build business when you want to just learn the protocol built and you think you deeply inside you think that one day you'll be you'll be building something amazing but you need to become an expert at a protocol and you don't know exactly yet how exactly it will look uh then then those grants might be helpful very often those foundations pick up the talent and say like oh you're building something interesting i don't know what will come out of this but here is the money for you because we believe that you build something cool and
the git coin grants interior ecosystem helped a lot of a lot of open source projects to raise funds so these are community driven funding grounds where you actually have additional funds from the well-established players and the quadratic voting that you can probably read out more about at the bitcoin pages later nederman went through some minor angel angel fund rounds then it got support from the d5 d5 projects in the ecosystem that realized oh we need to support the protocol i will support the protocol builders and nowadays there is also protocol guild in ethereum if someone builds full time
the builds the protocol builds the core development participates in that then you can register your name with the protocol guild and it's a independent body some kind of you can call it a dao but it's it's more like just a funding for developers who dedicates to core because it's understood that it's generally very hard to build a business around core development but many people just love it so much they want to build and protocol guild can support it so there's the path of nethermind as a bit of exploration of what ethereum ecosystem is nowadays and thank you so much for listening uh these are all the details and i'll be very happy to
talk to the community members over the next few weeks i'm planning to stay here for a few weeks now in seoul and that i might be super excited about this region because we've always been a bit of a hidden in europe and us later thanks
