Austin Griffith & Linda Xie I Ethereum Dev Onboarding Day I Agentic Ethereum 2025

Agentic Ethereum · 30 Jan 2025 · 1:30:11

Austin Griffith of BuidlGuidl and Linda Xie host a live, interactive onboarding session for new Ethereum developers. Using Scaffold-ETH, Austin works through the first stumbling blocks of Solidity, such as Ether versus Wei and decimal-free math, then compares tools and frameworks, account abstraction and layer-2 options. They also discuss AI agents in the developer workflow, product-market fit and older ideas worth revisiting, with audience questions throughout.

Speakers

Topics

From Agentic Ethereum, hosted by ETHGlobal.

Transcript

[Music] okay we are great awesome well welcome! thanks  so much for attending our Ethereum Dev onboarding session, and thanks ETHGlobal for hosting us.  couldn’t think of a better person today to give an overview of kind of what’s happening in the  space and just getting started with some tools and resources. there’s just a lot going on in Ethereum  land, so we’re excited to go over it today. we’re going to want to make this a very  interactive livestream, so feel free to ask questions in the chat, or if you want, you  can unmute yourself and ask questions. we have 90 minutes today, so if you feel like you are  confused by something, definitely feel free to stop and ask questions. so, I’ll kick it off to  Austin, and I’ll just be monitoring the chat.

oh no—you gotta do more than just  monitor the chat. we gotta— I watched some of the old videos, and there’s way  too much mansplaining from me for myself. okay, yeah, I would definitely  stop you there, yes. so, okay, first question I have before we get  started with the other questions is: how do I go watch the Vitalik movie? I still  haven’t seen the Vitalik movie—what do I do? oh, yes, okay, so for context, for the past  three years, we’ve been filming Vitalik and Ethereum devs up until the Merge. and so that’s  called “Vitalik: An Ethereum Story.” we had a crypto-native distribution at the end of last  year, and then we’re going to have our mainstream distribution this year in spring. unfortunately,  I cannot share more information than that, but it will be—keep our eyes open—widespread,  which is very exciting. so, yeah.

awesome. okay, so the goal today  is getting started as a developer, and maybe even sort of what has changed, and  maybe even sort of like how AI is going to impact all of this. I’m just gonna start sharing  my screen here. we have some questions—can I just share that doc directly, is that okay? it’s  kind of a notes doc with some questions in it, but I feel like I just want to share  the whole thing and see how it goes. okay cool awesome. so there are some great questions, and we  should go through all of these. there’s a lot of decisions you have to make as a builder. but I  think the very, very first thing is just—what are the very first steps? how do you, as a technical  person, get started building? and I think for me,

it’s like tinkering with Solidity. you need to  go read the docs, like “Solidity By Example,” something like that, or go to the Solidity docs.  either one of these is going to give you just a crash course in the syntax of Solidity. you’ll  just need a little Solidity syntax to figure out how you code these things up. and I also have  this big thing here: we don’t exactly know what kinds of things are going to get deployed on  Ethereum. looking back at some of the previous videos we did, we were giving you the tools, but  we really don’t exactly know what the next killer

app is. and that’s really going to be the hardest  part. learning Solidity, learning the ins and outs of the EVM, is tricky. but if you’re a technical  person, you’re going to pick it up pretty quickly. the hardest challenge, the final boss, is how  are people actually going to use this thing? and I think it would be fun, Linda, to  maybe just riff a little bit on who has product-market fit right now. prediction  markets were big this year, right? yes, yeah—that was really exciting, to see it  go completely mainstream and non-crypto people talk about it. I think what’s really exciting  right now—a lot of people are talking about the AI agent side, which is obviously on theme  for this hackathon. so, I think there’s a lot that has changed even just in the past year. a  lot of people are now coding with AI; they’re

able to ship a lot faster. we’re seeing a lot of  smaller teams actually be able to ship a lot. what we’re seeing product-market-fit-wise—there’s  still a lot of, like, you know, spinning up a token very quickly. those are just immensely  popular. but I think with the AI agent stuff, it’s going to be really exciting, because these  agents can earn money for people; they can trade autonomously, or they can do bounties and  earn money by themselves. what’s also cool is, in our own product, we’ve seen people—these  AI agents—posting work that needs to be done, so now you have AI agents that are hiring humans.  so that part’s really cool as well. and then we’re just—I think with this U.S.-friendlier  regulation, I think we’re going to see a lot more companies feel a lot more comfortable  pushing on their crypto stuff, so just a

lot more innovation in general potentially  coming out of the U.S. so, very excited. yes, I feel like there has been a feeling that,  I’m not sure if I’m allowed to deploy this thing. it makes sense for the Build Guild to have an  onboarding of “you deploy a token that represents your success throughout this journey, and we  can buy in early and give you some help. and if you do well and turn into Patrick Collins”—or,  you know, someone else—“then some of that may show up in that token.” there may be actually  some… but that’s also very scary territory.

but if the President of the United States is  doing it, maybe it’s okay—like, yes, we’re in. yes, we’re in a Wild West kind of thing, where  everybody has been afraid to deploy things, and then the President of the United  States just walked out and did it in front of everyone. so I think that  really opens up the regulatory stuff and makes us question our  every action a little less now. oh yeah, as the VCs would say, the  Overton window has now shifted. yes, yes. okay, so I want to zoom in first  on those little weird parts of the EVM, those first few things that cause you to hang up  when you’re first figuring out how to get started.

so say you’ve gone to “Solidity By Example” and  you’ve looked at a few of these things, and you kind of understand the syntax, but then there’s  some of these concepts like “Ether vs. Wei,” and those are the kinds of things I want to tackle  first in this conversation—just hitting that, and then we’ll get to some questions and dive into all  the different “which way do I go?” kind of things. so let’s look at what I have here: Scaffold-ETH.  but what’s more important here is that it is kind of like this contract debugger. and what I want  to show here is just a number. we’re going to have a uint256—this is just going to be a number, if I  could do it—someNumber, and let’s set it equal to 10. great, we’ll just let the AI pick. this is an  AI hackathon—also, shout-out to ETHGlobal for so

quickly picking up the AI agent meta and turning  that into this wonderful challenge and hackathon. so if we have this 10 here—someNumber,  right—and then we have someOtherNumber, and we’re going to set this to 10 ether, okay,  and this one is technically 10 wei, okay? when you don’t have anything there, it’s going to be  wei. I’ll just put it there to be very explicit. so we have these two numbers, and we’re going to  explore what Ether vs. Wei is, just because this is one of the first hangups that people get  when they start messing around with the EVM.

and then let me find a deployer here, and let’s  deploy this. let’s see—I’m just deploying on a local chain, I have Scaffold-ETH up, you can  go to scaffoldeth.io to get it. but what does it give us? it gives us—here are our two numbers.  here we have someNumber, which is 10, and then we have someOtherNumber, which we set to 10 also,  but with ether, right? and what you have is 18 more decimals. what the heck is this? why is that?  well, the reason is, the EVM is a little computer, right? but it’s a simple little computer, and the  more simple we can make it, the easier it is for people to run on their desk right over here. if  it has to be some gigantic supercomputer, then

it’s going to be harder for people to run,  and therefore it’s going to end up being less decentralized. if you imagine, what is Ethereum?  it’s not just like this chain of blocks—it’s thousands of computers all over the world  coming to consensus about that chain of blocks, running a VM, and that VM is executing things.  so it’s a little computer, and that little computer needs to do some math. and if we have  floating-point math, it makes the computer a lot more complex. so we’re going to do a trick:  we’re basically going to say that this is 10, but then we’re going to put 18 zeroes after  it, right, and we’re going to call that 10.

and anytime we interact with it as humans, we’re  going to call it 10, but anytime the computer, the VM, needs to interact with it, we’re going  to add those extra zeroes in there. so what this gives us is a decimal-like system, where we can  do decimal-like things, but without having to build the decimal math into the EVM. and so this  is just one of those first gotchas that you’ll find on “Solidity By Example.” I would recommend  just going through every single one of those, and you’ll really get the syntax down quick  if you’re a quick builder and technical. but you can also see it here, right—he’s got “1 wei,”  and then, yeah, “1 gwei” is actually to the 9th, and then “1 ether” is to the 18th. and  again, it’s just a way of doing decimals.

if we wanted, for instance—let’s dig in a little  bit more to this decimal. let’s say we wanted… this happens to be a greeter contract and  people can set a greeting here, but let’s say we had some price variable, public price,  right? and we had that price set to 0.1 ether, right? that’s okay—we can do a decimal there,  because it’s going to do the multiplication for us. so I think it’s going to be okay  with this, but let’s see if the compiler likes it, right? you need to be able to test your  assumptions and try some things. let’s see what happens if we deploy— is it okay with 0.1 ether?  it is okay. and then if we go back over here, we should see that we have this nice price,  and it’s not, you know, 0.1, it’s actually got

17 decimals there, right? so let’s say we have  our price, and we want it to go up 5%. the boss says “make it go up 5% every time someone sets  the greeting.” well, yeah, sure—first of all, we’re going to have a require statement, which  is another thing you’ll learn about the syntax, that just makes sure this is correct—did they  send in, in this payable function, enough value to cover the price? so we’re going to make sure  that’s the case, and if that’s not the case, we’re going to fail, and they can’t get to here.  but now we want that price to go up by 5%. and you might think, well, just do something like  this: price = price * 1.05, right? let’s see if it’s going to like that. my instinct is that  it’s not going to like that. it’s going to yell

at us and say, “hey, that’s a decimal, I can’t  do that.” yep, it says no, no. so what you need to do is this kind of numerator/denominator  game, right? you’ll have some kind of numerator, uint256 public numerator—if it would just figure  it out… there we go, oh yeah, it’s going to figure it out. thank you, AI. and then down here, it’s  going to know what we want to do… oh, very nice, very nice. and maybe even this—I mean, order of  operations, I think it’s already going to do that, but let’s be explicit about it. now, let’s see  if this works. was there a question there? oh, oh, you got it, you muted—feel free to  ask questions, definitely, in the chat,

too, we are watching the chat, if you drop it in  there. if you’re brave enough to unmute, go ahead. but what we have is this price, right, and what  we want to do is—I’m going to set the greeting, I’m going to say “hello.” and what we’re going  to hopefully see is this price goes up by 5%, if I do this correctly. oh, wait, I don’t have any  money. let me grab some money from the faucet. I’m skipping over a lot of things like burner wallets  and faucets, just to get right to the heart of this, where we can kind of tinker with the code.  but let’s see… oh no, not enough funds, I guess I need to send in some value, too. okay, this time  it’s going to work. yes, there it is. okay, look, it went up 5%, right? and let’s run it again,  right? so we can’t pay this amount, it’s going to

fail, it’s going to say “that’s not enough money,”  whatever was in that require statement. so now we need to pay 5% more than that original price, and  now this should go up another 5%. okay, I would argue that that is working great, it’s going up  5%. and just to reiterate, we had to do this trick where we used a numerator and a denominator;  we can’t just use decimals, because that EVM is a simple little machine, and it can be more  decentralized if it’s more simple, and so we have to do these tricks. so you, as a developer, are  going to have to learn these new tricks as we go.

okay, hopefully that’s not too far in the weeds yet—how we doing on the mansplaining?  we need a mansplain-o-meter for myself… okay, no, no, no. I think it’s good—like, what  are things that are commonly people get tripped up over? I think, like, another question is just, so  it sounds like yeah, Scaffold-ETH, going to these Solidity docs, are there any general sites that  you think, off the bat, people should be aware of? let’s get into that, let’s get into that.  so there’s kind of a lot of questions you’re going to have between Foundry or Hardhat  or wagmi or ethers, or Solidity or Viper, Scaffold-ETH or Remix. so, like, what are some  of these first sites you want to land on? okay, so of course, ethereum.org. ethereum.org  almost has too much information at this point,

but ethereum.org is going to give you a bunch of  information, and it’s going to really help you level-set with: what is this world computer,  how do I build apps for it, and what kinds of new concepts should I be learning? within  that, hit that learn section. I really don’t like that that button doesn’t work. hit that  learn section and get in here, and just, like, absorb it all, right? there’s so much to absorb  there, right? and then if you’re a coder, I think that you should do either “Solidity By Example”  or the Solidity docs, and just get exposed to the syntax. and then it’s these weird gotchas,  right, you kind of need to run through some of these gotchas. and I think “Solidity By Example”  really shows off some of the gotchas pretty well, even if we get down here into, like, some of  the hacks—like re-entrancy and stuff like that,

a lot of great applications here. but yeah,  re-entrancy is like the first one, right? yeah, I was going to say re-entrancy—yeah,  that’s scary, that’s such a vulnerability in a lot of contracts, so definitely  keep an eye out for this one. so let’s do a tangent here and talk about AI and  how AI is auditing. I think that if we had AI back then, I’m not sure AI would have found  re-entrancy until a human finds re-entrancy by hacking it. maybe, you know, the models are  going to get good enough that that’s the case, and maybe that already is the case, and  I’m just an old man slowly adopting the AI. but my gut feeling is that some of these  really weird edge cases, like re-entrancy—it

actually was first discovered by being deployed  out in the wild, right? it was like the Dow? yeah, I think it was the  Dow hack with re-entrancy, right, which split ETH into  ETH Classic. but yes, I think… okay, so let’s imagine we have 2025-level  AI—or let’s just say 2024-level AI, because it’s better to reason about back  when the Dow was first deployed. I’m not convinced that an AI agent would  have found the re-entrancy bug, but a human obviously did, right? so I think  the AI is going to be really good at finding

things we know about in contracts. so now if you  have a re-entrancy bug, it’s like the first thing it’s going to find. but it’s not naturally going  to find these new things quite yet, I think. but maybe 2025-level AI is a whole different story,  and it will go beyond what humans can figure out, and we will find stuff like that, which is also  super scary and also exciting at the same time. I’m actually curious—what kind of AI  tools do you use as you’re building? for sure. so I think that obviously ChatGPT  is where I start, when I’m asking questions and trying to figure out, like, how  does a Dutch auction actually work, right? I’m going to probably hit ChatGPT and have  a conversation first that just level-sets, like,

do I even really have the right concepts here?  by the way, you can probably find out how a Dutch auction works right here in the applications—nice,  yep, I think I saw Dutch auction—there it is, Dutch auction, there you go, right? you should  go make a Dutch auction, for sure. so at first, I’m just going to bounce things off ChatGPT—I  might even be yelling at it while I’m driving, kind of like, this can happen anywhere, right?  but then when it’s time to code, I may have a model come up with a starting contract for me,  and then I’ll paste it in. but then from there, I’m using Copilot, like you saw here, to kind  of pick up as I’m writing code. I don’t do a whole lot of coding anymore—a lot of it comes from  right over here, where I’m just prompting Cursor,

and Cursor is making changes for me, right? let’s  up that fee from 5% to 10%—now, something obvious that I could just do, but let’s see what happens  here when I do this. it should be like, “oh yeah, you need to do this,” and I hit one button and I’m  done, and I ship it, and I barely read the code. this is kind of my dev loop right now. and I feel  like if you’re not using Cursor— I know there’s a lot of people out there that are kind of security  maximalists that are like, “I’m not letting the AI write my smart contracts.” like, okay, fine, but  you’re handicapping yourself big time. this is a brand-new superpower, and you should be using  it, even if you’re re-auditing every single

line it comes up with. it’s a superpower; I  can build so fast. if you have developers, or a team of developers, and over the last six  months they haven’t 3xed their output at least, they are camping on you. because they should  have—every single developer in the world should have 3xed their output over the last six months,  or they’re failing to adopt this new technology. yeah, that’s how—because we’re a team of two  people, and my co-founder is the solo dev, and his output’s really insane.  and at this point I’m able to use something like a dev-in— I don’t know  if you’ve seen Dev-In at all, dev-in.ai?

so I actually added that for this “junior  programmer,” so I talk to it on Slack, and it just creates PRs for me, and then it tells  me its whole plan, and then we can merge it if it’s good enough. I can do all these junior  engineering tasks without my co-founder—it’s pretty wild. so obviously Cursor is fantastic if  you just want to actually go through the codebase, but the tooling is amazing. so highly  recommend—like Austin was saying, if you’re skeptical, you can use this as a  baseline, too, you don’t have to be merging stuff without reviewing. this is just the most  powerful technology—what a time we live in, you know. and the tools that we have, like GitHub,  and even the concepts we have like microservices, have kind of prepared us for this paradigm  where a bot could just make a PR, right? you

could just make an issue in your repo that says,  “I really want this to happen,” and then there’s a PR that shows up from your AI agent that builds  it, and then another AI agent reviews it, and then you’re basically hitting the button to ship it to  production. that’s a possible future, very soon. someone in the chat is asking, I guess, “so are you using GitHub Copilot? you mentioned  you were. when are you using that over Cursor?” so I would say, let’s see, I want a function to  set the price. I could just say, “Cursor, make me a function to set the price,” but sometimes  I want to think through it a little bit more, and I get to about here, and then I hit tab,  and then I get to about here, and I hit tab,

and I look at it, and I say, “okay, this is  good, this is good.” it’s basically the same thing as if I would have said, “Hey, give me a  price function.” but maybe I’m just an old dog, new tricks—I still use Copilot, I still like to  get in here and have a really good understanding of what the code is, and maybe even type a few  lines here and there. but a lot of times I’m starting the line and then hitting tab as Copilot  finds it. and then for more advanced things, I’m over here in Cursor giving it more high-level  stuff. does that kind of answer that well? I think that does, oh man, yeah.

so what AI you use is really interesting,  right, because there’s this concept of models, and then the wrappers around the models.  and at this point, it’s almost like the moat is the wrapper, not the model. I think I saw someone  tweet that—that’s not an original thought. but there are new models coming out every day from all  over the world, and some of them are open source. it’s almost like you should be able to plug  whatever model in. let’s grab it here—I think here is where I’m picking my models. but this  selection is just going to get bigger and more advanced, and it’s about these wrappers that  take the model and turn them into an agent, or take the model and abuse them to get them  to write code for you, right? so I think,

in terms of the concept—someone said, “Is your  AI smart or not?” I think that comes down to the model—you want a good model. and then the  wrapper is kind of the agency around it. I’m not the one actually building our agent, but  we interviewed a bunch of people on which model they’re using for building their agent, and  had a bunch of people say they’ve had a lot more success with Claude—sorry, with Anthropic  Claude—than with GPT-3.5. and that was preferred over GPT-4 for this kind of stuff. it was  slightly more expensive and a longer lag time, but found to be higher success. and  then someone asked on DeepSea—do you have any view on if we should be using  it on our codebase? it’s open source…

okay, so first of all, Claude vs. GPT—I think I  agree with that. I have more success with Claude. I had it set to GPT here, which is only if I’m  prompting Claude and I’m getting frustrated, I’ll switch to a different model to see if  it comes up with something better. but yes, I plus-one that. Claude, to me, has done better  here, and I only fall back to 3.5 for questions, or I’ll go to 3.5 over in the chat  and ask it some high-level thing, and then come back and tell  Claude to build it in Cursor.

now, the second question is DeepSea:  I am not a geopolitical expert, I don’t exactly know the ramifications of this,  but DeepSea is awesome. and I went and downloaded it right off the Ollama page, and yes, maybe  it’s made by a rival nation-state, and yes, there are privacy concerns here, and you need  to be aware of those. but when it comes down to, I’m on my laptop, and it’s air-gapped, and  I’m communicating with this human-like thing, I don’t think the Chinese government can get  anything from that, but I also don’t know. and so, whatever the arguments are, people smarter than  me will come up with reasons why you shouldn’t.

but my reason for why you should is that it  is a great model, and it helps you—it’s fast, and it gets you great answers, and it’s  open source. I love open source. I love the fact that I can go to the Llama website  and pick out whatever I want. so yes, I think it comes with this caveat that I’m an  idiot, and I don’t exactly know, but for me, a builder, a lowly builder, I get really excited  about things like DeepSea, especially if it’s open source. yeah, you using it, what do you  think? is there more subtleties to that?

I feel like no, that’s kind of—I mean, it’s open  source. so I know people have been talking about, oh, just make sure you’re careful about how  you’re accessing it, and there’s a lot of different methods of, okay, you can have not  just directly installing it on your computer or phone or something like that. so I think just  being a little bit more careful about some of that security/privacy angle. but there are services  out there that provide it. and then, oh, just one comment on my Dev-In pricing—yes, Dev-In is  very expensive, Dev-In is $500 a month, which is just mind-blowing. so absolutely, if you’re a dev,  you should absolutely be using any of these other tools. I will say, someone paid for our first  month because they just wanted to help support us. the second piece is, I think it’s particularly  useful if you’re not a developer on the team, and

you can just start shipping stuff. I was already  doing minor, basic work anyways using Claude, but this was just easier for me to— instead of being  like, “hey, could you implement this, Daniel,” who’s my co-founder, I could just do it myself.  so I think that was for us. but yeah, individual… the age of agency isn’t just about  AI, but you, a non-developer, getting agency and actually being able to ship  these things. that’s so cool, it’s so cool. and I’m reading its plan, and I can still see what  code changes it’s making. Daniel, my co-founder—he was in the movie theater, and I had submitted  a PR, and he just commented on one of the lines of code in GitHub, and he was just like, “oh,  you should actually be using this instead,”

and then it updated it. he didn’t have to be at  his computer going through things. so anyways, it’s a pretty interesting tool, and I think  it will affect a lot of teams in the long run. heck yeah, heck yeah. okay, so back to  just—were there any other resources you just wanted to highlight outside of the AI side? so I want you to tinker, I think is the thing  I’m trying to dig at here. I want you to get “Solidity By Example” or the docs, I want you  to—just as a goal—I want you to build a whole bunch of applications. however you do that is up  to you, but let me pitch you a couple different angles you can go. I think the classic way to  do this is Remix—well, it’s not remix though,

is it? it’s remix.ethereum.org. this is a little  scary when it lands and it looks like this, it’s a little scary. but eventually, if you clear out all  the noise, you’ll find that you have some kind of contract—what is this thing, get out of here—and  what you can do is, you can compile and deploy. I don’t even know where the compile or deploy  buttons are—I don’t know where they are here, but oh, maybe it’s this one, yep, deploy and  run. does anybody see a deploy button? okay, okay, you’ll figure it out, you’re a smart  person. maybe it’s the run button here that

compiles it— oh, there we go, there we go, we  got it. okay, then we deployed it, and then you should be able to interact with it. yes, here,  getOwner. that’s what I want you to do. I want you to have that feedback loop, where you can make  a change here—what happens if instead of private, it’s public, right? and we say public, and we hit  save, and then we do that same thing, we hit run, we get our deployed contracts, and we get the  owner. I don’t think anything changed there, but this is the loop I want you to be in.  and this is the most important first tool that you’ll have, is some way to dink  around with Solidity and get the syntax.

so the other way to do this—my preferred route,  but I don’t want to king-make here—is with Scaffold-ETH. this is going to get you closer to  deploying a live app with the same feedback loop, but if you run this “create-eth-app,” it’s  going to have you bring up a blockchain locally, and a front end locally, and then you’re kind  of just yarn deploying over here. so you’ll have your app here, where you can add in, you  know, let’s make the owner public or whatever, and then you’ll have your front end for  Scaffold-ETH at localhost:3000. and this is like the gateway drug to making an app, because it’s  all here already, and you can just prompt Cursor to make a button to talk to your smart contract.  but at first, you’re going to be over here in the

Debug Contracts, and you’re going to have this  ability to make a change and see that change. so let’s do something like this. there was that  onlyOwner, right, we could set the price. I think we made a setPrice, did we make a setPrice?  there we go, we made a setPrice, okay. and there’s “isOwner.” I want to test that. I want to test  that only the owner can set the price. so let’s just go through the loop here of what it might be  like as a developer to test that, and then we’ll get into all the other tools first. but I’m kind  of doing one tool at a time, ADHD, going after it.

but here we go: so what I want to do is prove that  this setPrice can only be called by the owner. now, right now, the owner is this guy, and that’s  a specific account that I don’t want to be the owner. so I need to get in here and hack something  up. what I’m going to do is set my burnerWallet to be the owner, and we’ll redeploy real quick,  because I need to control the owner account, and it wasn’t an account I control. so now let’s  make sure that that change worked. if we go here now, and we look at the owner, we know, yep, for  sure our little pink and teal guy is the owner.

okay, so first of all, can the owner set  the price? let’s set the price to… okay, we’re going to set it to 1, and we’re going to  see that it’s 1 wei, so we’re going to do a little “Ether vs. Wei” recap, right? I’m just going to  set the price to 1, and that should work. yep. oh, but look, it’s 1. oh no, we just set it to 1 wei.  what you need to do is set it to 1 ether, so you need to hit this little button over here. this is  a button for developers. your users, of course, would not have this, but you as the developer need  to know what Ether vs. Wei is, really hammering home the Ether vs. Wei, everyone is definitely  going to get that by the end of it. but there we go, we were able to set the price as our owner.  now we need a bad guy, right, we need to try it as

someone else. so I’m going to open up an incognito  window, and I’m going to go to localhost, and look at this, we get a new character, right, it’s kind  of like this teal character, or green character, compared to this one. let’s go ahead and close  it, see that one more time. new incognito window, localhost, okay, we’ve got our bad guy, and our  bad guy will get a little bit of funds from the faucet. now let’s come over here and see if the  bad guy can set the price. I want to set the price to 0.1 ether, I want to make it really,  really cheap so I can attack this contract. here we go, I’m going to hit send—oh no, I got  to hit this first—then I’m going to hit send, and hopefully this fails with “not the  owner.” okay, we know that this modifier, is what it’s called, is enforcing—let’s go find  it. it’s enforcing “isOwner.” if I click this,

it’s going to take me here. it’s enforcing this  require statement, saying, hey, the person that’s talking to this contract has to be the person  that we’re tracking as the owner. if not, you got to kick them out of there as quick as you can.  and even though we haven’t written an exhaustive test here to prove that only owner can get into  it—and you should have a big exhaustive test, and every time you make a change, you need to  run those tests and make sure there’s no edge case you just missed—when we’re just tinkering  around, learning the concepts, figuring out what we want to build, this works, right? this is  enough testing. we tried it with the good guy and the good guy got in, we tried it with the  bad guy and the bad guy can’t get in. okay, I’m good enough now that I kind of like that.  and this is the dev loop I want you to get into.

let’s look at one other thing that happened to be  a huge… okay, here’s what we’re going to do. we’re going to create a function, okay, let’s tell—let’s  use the AI, we’re AI here—“new function called incrementPrice that adds, I don’t even know, 1  ether to the price,” something like that. so what I want is a quick incrementPrice function. what I  want to do is do some overflow, because that’s the next thing that is a weird thing that’s basically  fixed, because it used to be SafeMath, but now that we have Solidity 0.8.0, it’s just built  into Solidity—it’s not going to let you overflow

any number. and you’re like, what the heck is  overflow? okay, let me show you what overflow is. so let’s say our price is actually a uint8, which  means we only have 8 bits to track our number, and so our price has to be much smaller—maybe it’s  200. actually, I’m going to set it to 250, okay, and then we’re going to increment not by 1 ether  but by 1… what else do I need to do here? this is a uint8, I need to change a few other things here…  that gets set, that gets set… it’s going to be all messed up. yeah, it’s definitely not going to like  that. let’s just get rid of that. what I want to do is cause some overflow here. let’s see if this  is happy. I’m going to have to hit the button 50

times though, I don’t want to do that either.  no, no, no, five times, five times, we’re good. okay, check this out: so now we have this  price that’s at 250. now, a uint8 can only track numbers from 0 to 255, okay? as soon as  you get to 256, that’s actually all those bits, and it’s going to roll around, okay?  so in a previous version of Solidity, you could actually roll this variable. you would  go, you would hit increment, and it would get to… where’s that increment function? one. okay,  watch—we’re at 251, watch it down here: 252, 253, 254, 255— now, this is as far as it’s going  to go. if I hit it again, it’s going to fail,

it’s going to say something like, yeah, panic,  underflow, right? in previous versions of Solidity, it actually didn’t underflow—you had  to have a library there called SafeMath that was checking this stuff. but even before that,  we didn’t have that, we didn’t know about it, so what would happen is, someone would figure out  how to trick the system and basically go the other way. if I own 1, you could subtract 2 from it, and  then you would own this giant amount of tokens, right? you could trick your balance to have a hell  of a lot. so it would go the other direction here, basically allowing you to underflow instead of  overflow, and then go from having 1 or 2 tokens to having all of the tokens in the whole— you know,  all of them—and then you could steal the money and rug it. so these are just little things that  you’ll find, and the way to discover them, the way

to get better at this, is to have this kind of  environment—either Remix or Scaffold-ETH—where you can make small changes, and you can test  your assumptions with some kind of a front end. okay, that’s kind of like 2011, another concept  to go through. let’s jump back over here— oh yeah, we’re checking them off now. okay, so  next choice I think is probably here, it’s probably between Foundry or Hardhat.  and this is a highly debated topic, and I just want to remind everybody that  before this, we had something called Truffle, and it was made by ConsenSys. and thank you,  ConsenSys, for doing 60% a good job, but thank God someone else did an 80-90% good job, and  Truffle is no longer a thing. and back in the day,

you could say, “Truffle sucks, and there’s five  reasons why,” and someone would argue with you, and it’s so glad to have this validation that  we’re at this point. so people are also having this argument, probably, between Foundry and  Hardhat. I would say that maybe Georgios would get on here and call me an idiot for even thinking  of Hardhat, because of course you would test everything in Solidity. but let’s get down to the  subtleties of the argument—there’s a little nuance here. I would say Foundry is better if you’re  going to write a heavy smart-contract protocol, and you’re going to need to write lots of tests,  because it’s better, because your tests will all be in Solidity. so if you’re going to spend a  ton of time in Solidity land, and you’re going

to make something advanced, and it needs to  run fast, and you have a huge bank of tests, Foundry is the answer—Foundry is what the most  cracked devs are using. but let me roll back a little bit to Hardhat: Hardhat is a little  bit easier to use, and I think Foundry is getting better at that every day. Hardhat  was a little slower, but now Hardhat is actually rebuilding in Rust and actually using  reVM from Foundry, so Hardhat and Foundry are slowly moving toward parity in terms of how long  it takes, and again, Georgios would be like, “no it’s not,” but we’ll have those arguments  someday. but Hardhat is still a good option, and

it’s a little bit easier for deploying contracts.  and you’re going to be writing your tests either in Solidity or JavaScript—I think it’s all… it’s  been traditionally all TypeScript. and to me that makes a lot of sense, because eventually I’m going  to have an application—a front end that people are going to click buttons to interact with my smart  contract. it’s really nice when I have TypeScript, because I can really translate that easily to  my front end. so by using Hardhat and writing my tests in TypeScript, I’ve given myself a quick and  easy transition to my front end. but all hardcore contract engineers are going to tell you that’s  dumb, and you should write your tests in Solidity,

and you should use Foundry, and it’s faster. so,  I think I leave this up to you—I give you the subtleties and nuances of it, you make the choice  between Hardhat and Foundry. and luckily—this is a really cool part about how robust our ecosystem  is—luckily, we have the option. we’re not stuck with Truffle. we have innovators, and both  of these products are constantly pushing the boundaries and moving the goalpost, and the  Overton window is shifting on us, right? there’s so many really cool things happening, and we’re  so lucky to have both of these wonderful tools.

so just to recap: Foundry is probably  more for the hardcore, cracked engineer that wants to write their tests in Solidity.  Hardhat is a little bit more approachable, a little easier to deploy contracts. I think you  now have the option between the two, but it used to be only tests in TypeScript, which led to an  easier experience when you wrote your front end. the kind of init that I had with Scaffold-ETH  is that when I was building apps, I didn’t know exactly how to write—I knew how to write  some Solidity, but I didn’t know exactly how this protocol was going to work. if you’re  going to sit down and build a stablecoin,

you have some ideas about the oracle, you have  some ideas about liquidations, but you don’t know exactly what the code is going to look like,  and you have to write it out and tinker with it, try some things. maybe you’re a cracked developer  that sees the whole thing, and you can just bang it out—maybe you don’t need to dink around with  it. but I need to dink around with it. I’m the kind of guy who needs to try it and dink around  with it, see if it does what I expect it to do. so I think that’s why I like Hardhat, in that my  tests are closer to a front end, and I can dink around with it a little more, I can have a front  end coming up in parallel. so as I’m writing my smart contract, I’m already putting buttons over  here, I’m already displaying things, I realize,

oh shoot, I need an event in that contract. and  if I were to just build the protocol and ship it, I might have forgotten about that event that I  never would have found until I started writing my front end and trying to display all this  information—I realize I need all these extra events and info and read functions for my  contract that’s already off to the auditor, and we have six months or something, right? so  the way I build things—and maybe it’s not the way you build things, and that’s okay—the way  I build things is iterating between the smart contract and the front end, getting a feel for  how certain things work, making sure it displays correctly. but I don’t have hundreds or thousands  of users on-chain. there are other folks out there that have built apps that have users on-chain,  and some of them would say that the traditional

method of write a really good protocol, test  it really well, send it off to the auditor, and the front end is sort of an afterthought—that’s  sort of what has product-market fit right now, that’s sort of what we see in the space. but  my intuition is a little bit of messing around with the front end will give you superpowers  in terms of making sure your protocol kind of works once it’s shipped and has users, and  that front end isn’t a huge pain in the butt. okay, so that’s why that’s my “dinking  around” tool. go, go, go, go, go. yeah, talking about some of the other  decisions to make, and a really good point, like it’s really cool that there are even  decisions to make, so what a sign of a growing ecosystem. but yeah, there’s just  so many other choices as well, so let’s go.

yeah, okay, so next one I think is viem vs.  ethers, and by the way, there was one called web3.js before this. we were so thankful when  ethers came out, because it just worked better, had way fewer dependencies, it didn’t fail  like one out of ten times randomly. we were so thankful to have ethers. and so, yeah, doubling  down on that point, we’re even more grateful that we have viem and wagmi. I would say these  two are again more of a personal preference, and I’ll try to add nuance to it. so both of these  are JavaScript/TypeScript libraries that help you write scripts and help you write your front  end. so these are the things that will glue

your buttons to your smart contract. if you want  a button that does something on a smart contract, you’re either going to use ethers or wagmi. if  you want to write a script that goes and reads something from your contract and make some  decisions, and then writes something to your contract, you’re going to use viem or ethers. but  here’s the subtle differences: I think ethers is made by a king of the space, RicMoo—he’s a badass,  he’s awesome, he comes to—he did the first one of these, I think the first Ethereum onboard. if you  look for “ETHGlobal Ethereum Dev onboarding,” it wasn’t just me mansplaining, it was actually a lot  of these tool builders in the space. we had like Paul Berg, who did Sablier. but anyway, RicMoo  has written this ethers library, and it’s super

lightweight, very few dependencies, very fast.  I think that there are some concepts you have to learn, like “signer” and “provider,” and you need  to know what that is. in this case, a provider is like an RPC, where you’ll get information. so when  you need to talk—you need to read from the chain, you’re going to need a provider that will provide  that connection to one of these… basically, it’s an Ethereum node, a full Ethereum node. you need  to ask that thing, “what is Austin’s balance?” that provider can give you that info. and then  when you want to make a transaction, “send $5 to Austin, please do it,” to send $5 to Austin,  you need to sign something with a wallet—that’s

when you’ll use a signer. so these concepts were  kind of created by ethers, even though we had different ideas about them—RicMoo did a good job  of signifying what these concepts were as he was making the tooling. so you learn these concepts as  you’re using the tooling. and so there are times when you might be using it wrong because you don’t  quite understand those concepts yet, and you’re frustrated at RicMoo because it doesn’t work,  but it’s actually your fault. this happened to me a lot in 2017, 2018, 2019—I just didn’t quite  get the concepts, and it wasn’t RicMoo’s fault, it was my fault, but I had trouble with the docs.  let’s go look at the ethers.js docs. I have had a hard time navigating these, and maybe it’s just  my caveman brain—if I was a little better at it,

I’d get it better. but let’s see, read from a  contract, I want to read from a contract—how do I do it? Contract.connect, contract, okay, if  I spend some time, I can figure it out. there’s concepts like signers that I’ll have to know.  let’s go to the viem docs, and let’s search the same thing. I’ve never done this before. oh,  I was looking for read from a contract, oh, I probably wasn’t supposed to hit enter. okay,  “how do I read from a contract?” again, this is a little confusing, I’m not sure. let’s just pick  the first one. yep, I’m down in the FAQ. okay, so either of them didn’t really give me what I  wanted, which was a quick reference. I think in

my mind— let’s go back to this list. in my mind,  wagmi and viem are, I think, built by product people. they’re really product-minded, they’re  thinking about product-market fit for Ethereum, bringing the world on-chain, what that looks like.  and I think ethers is more like, we have to define what a provider is, and what a signer is, and it  was just made a few years earlier, it’s targeted, I feel, more at highly technical people rather  than product people trying to make something.

even though these guys are very high—like the  wagmi guys, Jake and awkweb, are human geniuses also—I think they’re just thinking a little bit  more about product people, and their docs are a little bit easier to use. so in Scaffold-ETH,  we ended up going with wagmi and viem, but I do not want to discount ethers. we’re  so lucky to have the choice, and maybe ethers works great for you. the only argument I would say  is, sometimes I have a hard time with those docs, but again, it’s probably just my small brain.  maybe you big-brain it, and you got it. okay, does that cover—we cover  those? should we move on to the next?

yes awesome. I haven’t even been looking at questions—23  new messages, is it all note-takers? oh, okay, we’re just dropping links in here,  awesome, amazing. yep, yep, yep. okay, here we go. “Solidity vs. Vyper,” right, I  think this one is pretty largely leaning towards Solidity. I think when you see so many protocols  go to production with Solidity, and then kind of the backwards effect of so many new curriculums  and so many examples, a lot of it’s in Solidity, and Solidity is a JavaScript-like language—I  think TypeScript-like language. Solidity, to me,

is easier, and there’s just more documentation on  it. however, Vyper is around, and it is an option, and it’s more Python-based. so what I would argue  is, maybe you’re a data scientist, or maybe you’re an AI nerd, and all you’ve really done is Python  for the last few years— your first smart contracts might be Vyper. you might start writing something  in Vyper. I’m pretty sure Uniswap v2 was written in Vyper, so some protocols are written in  Vyper, maybe Curve or something. there are protocols that write in Vyper, but it’s a lot  smaller. but I still see it as a gateway drug, where you, as an AI nerd, have only written  Python, so your first few smart contracts— if

you’re making a hello, or you’re making a “buy me  a coffee,” or a staking app, or something simple, a token vendor—maybe Vyper is the answer.  so I would say again, this is, you know, there’s subtleties and nuances to the question.  while Solidity seems to be the winner, and most examples are in Solidity, Vyper is also an option,  and especially friendly to Python developers. okay, this one, I made my stance on pretty clear.  I think that Remix is an OG, and it’s king-made to hell, high heaven. it’s great, and people are  still using it. I don’t even know what it’s doing over here—it’s, like, thinking or something.  but I think it’s a little bit too complicated,

and my caveman brain just has a hard time dealing  with all of this. but the numbers show people are using it, people use—it’s so nice that you  can just come here in a browser, right? the superpower of Remix is that it gets you right into  the heart of Ethereum, and lets you dink around with Solidity and see the effects immediately.  the downside of Remix is everything else here, and the last seven years of development that  they’ve added to it. and agree to disagree— it’s an awesome product, we’re so thankful to have  the choices. but I think they should have gotten Remix 2, a “Remix Lite,” that kind of just feels  like this, and there’s your code on one side,

and there’s this on the other side, and  there’s a compile button, a deploy button, maybe a dropdown that lets you select a couple  of things—that’s it, that’s the whole website. you stop right there, you put it in maintenance  mode, you have one developer that you pay less than $100k a year to maintain it, and that’s the  whole thing. that’s how I would have done Remix. but it’s gone a different way, still an amazing  product, and if you need to get to the heart, you need to be able to dink around with  Solidity, test your assumptions—use Remix or Scaffold-ETH. either one is a great  option, find the one that works best for you.

all right, I’m going to have some  more opinions here on curriculum, but let me pause there to see if we… okay, I don’t think—no, we’ll come back  to one of the other questions later. “custom cursor rules.” oh, yes, I do— yeah,  web3dev, shout-out. I do have some. I think the cursorRules file— right, let’s just make  sure everyone knows about that already. there’s this cursorRules file—just google it, it’s a  doc, “cursor rules”— and that’s going to live in your code directory, and you can basically  use it to give a bunch of hints to your Cursor AI. so just be aware of the cursorRules, know  that instead of just starting a fresh thing and

prompting it right off with all the docs, you  could have that in your cursorRules. a lot of the ways I do this—sorry for the tangent— I will  actually go to the Scaffold-ETH docs, and when I want to read from a contract, I’m going to get the  <Contract> component, and I’m going to paste it in over here. let’s go to our front end—let’s see  if it just works. we’ll go to the page, and we’ll say something like, “here is how you read from a  contract,” and I’ll paste that in, and then I’ll say something like, “please read who the owner  is and display it.” okay, let’s see what happens, right? we’ve given it an example— it could have  been in our cursorRules— we’ve given it a prompt

to go build something. let’s see if it does a  perfect first try, or we have to add some things. so let’s see, what has it done? oh, do I have to  hit Apply? Apply. so it brings in the <Contract> component, it queries for the owner, and it  displays it. I think it’s going to do it— oh, you know what, it even wrapped it in an <Address>  component. very nice, very nice. let’s just go look at our front end— I think we’ve got a front  end— which one is it, up here? let’s go back to our homepage… look at that, Contract Owner, it’s  displayed. it’s even using a nice thing. I don’t even know how we got here, but now I have two  other tangents— this is how my brain works, we’re just on tangent land. let me pull these threads,  though, because I think they’re interesting.

so one thing is, watch—whoops, did I not accept  that? wait, wait, wait, was that all good? let me go back to that, make sure we’re good.  okay, we’re all good. one thing is how cool TypeScript is—the fact that we have TypeScript  in our front end. so we’re in React land now, we’re building a front end—your front end knows  about your smart contracts. so watch this: if I open up these quotes, so I know that I  want to talk to my contract, but I don’t know what function I want to call—I forgot what we’ve  added here. as soon as I open up these quotes, look at this, it actually reads my smart contract  and tells me all the available items in the smart contract. and then I just pick owner, right? so  even at this point, if you didn’t have any AI,

you still have these nice guardrails that  are helping you get to the fact that that’s an owner. okay, so that’s one thread. the second  thread is how nice this <Address> component is— another thing you get out of the box with  Scaffold-ETH is a bunch of components that make things look a lot nicer. let’s go ahead  and just pull this off for a second, hit save, and look how ugly that looks. okay, Contract  Owner, 0xDFFF… no one wants to see that, no one wants to mess around with it, no one can even  look at that and make sense of it, right? what you need is to take that address and wrap it in this  component that then turns that into this nice, pretty blocky preview. that thing—it even has,  like, if we go to Debug Contracts and I type in

atg.eth, this component—even, oop, I didn’t get  there—this component not only has that blocky, but it’s going to bring in my ENS avatar, it’s  going to show me my ENS. so these little things like ENS upfront, ENS avatars upfront—your app  is going to need that. and you may not realize it now when you’re tinkering, but by the time you  ship your app, you’ll have to rebuild all that stuff into your app, you might as well just grab  these components out of Scaffold-ETH and use them. so those were the two threads I wanted to  pull there. let’s roll it back to the original thing. let me pause there in case there’s a  thing, then let’s talk about how to learn.

I think we’re good. chat said “Remix Debugger  is nice.” yes, I’m sure there’s a lot of nice things in there. even the new stuff they’ve  added, like AI, I bet is awesome. I just haven’t—I’m too afraid of it every time I  open it that I haven’t really dug in deeply. okay, so let’s get into curriculum. so  first of all, you gotta know how to learn, right? you don’t need to go pay for a class.  it’s 2025. you can start by just asking AI, right? you can have an AI tutor that takes  you through all these concepts. you could paste “Solidity By Example” into ChatGPT and  say, “build me a three-week curriculum that

covers all these concepts,” and it’s going to do  a damn good job of it. and if you follow that, it’s going to be better than how I could teach  you probably one-on-one. literally everyone at home now has a one-on-one tutor, because  there’s so much content available that’s good, and the AI can distill it and teach  it to you, which is so freaking sweet. that’s so cool—I didn’t even think about that,  like “put together a three-week curriculum based off this,” that’s so genius. I’m like—my 8-year-old, I’m really excited about…  I can just have a “temporary dad” that I make out of GPT, like “go ask temporary dad first  and see if he can answer it,” because he’s probably smarter than me. but my 8-year-old has  all these questions, and I want to teach him all

these things, but I think AI could do it better  than I can. and I feel like I’m a great teacher, I work very hard to be a good teacher,  and I still think with the correct prompt, it’s going to come back with more insightful  ways to teach than I could come up with. so, how do you learn? now, my instinct here  is that you should build a bunch of things. we don’t exactly know what the product-market  fit is, but we’ve seen some things, we’ve seen how it’s been used before. so you should build all  of those things. and I don’t mean just the hacks, which you definitely should, right? you should  learn that re-entrancy and overflow are things we’ve already talked about, but scroll down here,  and delegatecall is complicated, it takes some time to wrap your head around. and when you really  get all these hacks figured out, go take on both

the Build Guild CTF at ctf.buildguild, and also  take on Ethernaut. these will test your knowledge on whether you’ve got these hacks figured out.  sorry, I tangent’d off, now we’re talking about once you’re really good at things, how to  test that. but do that. okay, but let’s roll back—you’re a starter, you’re getting started,  you’re building some apps instead of hacks. look at all these things here, these applications: make  a wallet, make a multisig, understand how a Merkle tree can take a bunch of off-chain information and  just use a single proof. you’ll have more on your front end, but then you can store a huge amount  of info in a tiny thing. iterable mapping—just go through all of these, understand them really well.  and there are things that have product-market fit

that aren’t here— I mean, is there a stablecoin  here, for instance? I don’t see a stablecoin. you should go build a stablecoin, you should go  build a prediction market. build these things, even if they’re toy versions. for instance,  your stablecoin is going to need an oracle. you don’t need to get some fancy oracle—just make an  account that’s making a request and answering it. that’s not secure, it won’t work in production,  but it works perfect to build a toy version. I think another interesting lead is actually  looking at 2016–2017-era projects. TCRs weren’t possible, because you didn’t have L2s,  stablecoins, everything was so expensive on-chain.

so that could be fun, to revisit: what are things  people tried to build that are just possible now? so that’s kind of fun to go through. my  2017-era exploration is still on— if you go to buildguild.com, and you scroll all the way down at  the very bottom, I have this tech tree hidden. and by the way, the ETH tech tree is coming out. we’ve  been building a bunch of stuff. but I have this really ugly tech tree, I’ve shared it on previous  times— let me just paste that into the chat, just so we have it. but it’s this Miro board,  and it’s this disgusting Miro board—it’s huge, all over the place, definitely my Charlie meme,  right, me just laying out everything I possibly could from the start, right? the very first  things—maybe it’s an intro course from Patrick,

maybe it’s how to get started from Nader, but  you need to get the context of how to do things, you need the syntax. but then it’s this  giant tree of different things. yeah, this tokenization branch is so 2019–2018,  TCRs and bonding curves and some fun ones, right, but they branch out. you need a DEX  so you can swap things—before we had a DEX, we had order books, shout-out 0x and Will. but  then decentralized exchanges hit the scene, and once you have a decentralized exchange, then  you have a whole bunch of other things. if you

pair that, say, with a price feed, you can do  lending, or a token-lending aggregator, or yield farming. there’s lots of fun stuff to get to here.  but this goes through all the different things we thought might happen or might not happen—like  DAOs, identity, gaming, zero-knowledge. and then down here, there’s NFTs—boy, those really  held on— and running your own node. love that, gotta run your own node. I think one is “build  your own CLI” right here. this is one of my favorites. I think once you’re done learning—  we’ll get back to the curriculum in a bit— once

you’re done with every other curriculum, and you  need to start building your own tools, build your own CLI, because you’ll learn so much about the  nuances and little things. and at the same time, you’ll have a little toolkit where you can  do anything you want: sign messages, do UX, account abstraction, smart contract wallets,  mobile. this is an area where I personally am lacking too much. I have Scaffold-ETH, and I can  help you build a desktop app, but if you’re going to build a mobile native app, you’re going to do  it in React Native, and you’ll have a hard time, because there aren’t great examples, not a lot of  great tools around building a mobile app, which is an obvious screw-up on my part, we need to do  better, and I will do better. MEV, EVM auditing, so many cool things. auditing used to be so  hard and expensive, and it is still complicated.

but people created markets around it, and they  created these really cool—you can basically get your start becoming an auditor by going onto these  platforms, competing with other people to find things in codebases. and if you do that, you’re  also providing an audit for someone, so they get a “first audit” by giving it to a bunch of people  to compete. people are making money off this. it used to be you could even get away with just gas  optimization, and you could make money off that, but the competition is really steep. you really  have to find some major things to make money off these. but they’re still available, and huge  shout-out to these platforms—by building these platforms, the price and time for audits has gone  down. that’s an amazing effect on the ecosystem.

okay, wow, really cool doc. I didn’t know  about this, and I feel like it’s a peek into your brain, the Charlie Day meme  going on. but it’s really fascinating. it starts with me smoking  a huge cigarette, and then, yeah, ripping a ciggie. okay, so hold on, you  crossed this out, but I’m not quite done yet. you’re not done? no, no… can you believe it? I didn’t really even hit  this. okay, you want to start by building things, you want to get the syntax down, you want to get  in this mode where you can dink around, whether you’re using Remix or Scaffold-ETH or something  else. get to the point where you can write some Solidity, you can compile it, you can see and  mess with it, and you can get in that. once you’re in that, you just need to build a whole  bunch of things. whether you go build a bunch of

things from “Solidity By Example,” or you search  the internet for “what should I build next,” or you use the Speed Run. so I really want to shout  out Speed Run Ethereum. I think this is the best curriculum. I think this is the best way to get  started if you’re a developer. you can land here, and you can go through a couple of days to a  couple of weeks of time that you put into this, and you’ll get all the concepts that’ll  help kick off your whole career. “simple NFT” just gets you ready for the tooling, but  a “decentralized staking app” really starts to show you a bunch of things about what kinds of  things you build on Ethereum. in the case of this decentralized staking app—and I don’t mean  staking like validator—I mean people who don’t

trust each other need to coordinate. so you’re  going to build a smart contract for a handful of people that don’t trust each other, and those  people need to be able to put their money in. and if you get enough people to put their money  in—something like the happy state happens, and you go do something with that money. but if  two or three people put in their money, but you don’t get enough money staked, you need the sad  path that for sure doesn’t get any funds locked, and no one loses their money. so that’s table  stakes here— no money can be lost or locked, but people need to have the chance to coordinate.  whether they coordinate or not is up to them, but you’re going to write the rules that  say “no one’s going to get screwed here,

we’re going to make it so you either get  enough staked, or it’s undone.” so that’s challenge one—that’s the first challenge of the  Speed Run. the second one is like, “hey, you want

a meme coin, you want to build your own token and  sell it in a vending machine and get rich? follow this and F off,” you know, I don’t care. but we  just wanted to teach you how to do that, so you understand one of the most powerful primitives  here, which is this ERC20 token and a contract that lets you sell that token at a certain price,  or maybe on a curve or some other exotic thing I don’t understand yet. you’ll also learn things  like the approve pattern. in order to give money to a smart contract— let’s say I need to put  tokens into a contract and do something. you don’t just send the tokens to the contract—that  might make a lot more sense, but that’s not how Ethereum was built. the way it works is,  you make one transaction to approve the contract

to take your tokens, then you make a second  transaction on the contract that says, “okay, I’ve approved them, you can take them and do your  thing.” in that execution, it goes and gets them, brings them in, makes sure, and then does some  stuff. that’s just how the approve pattern works, that’s how ERC20s work. we’re stuck with  it, we’re getting account abstraction, and pretty soon those actions will just be  batched, but for now that’s how it works, and you as the builder need to be aware of it.  then a dice game, to teach you about randomness— how in the heck can you have randomness on a  public, deterministic blockchain? this also teaches you how to attack that. and then building  a DEX—this is the clutch moment of the builder: can you make a decentralized exchange? and the  way it works is it holds reserves on both sides,

it has this constant product price function,  you’ll figure it out, you’re going to go build a hyperstructure, and it’s going to open your world  to the other things you can build on Ethereum. but at this point, I want to make the point that  we don’t know what’s next. soon we’re going to have a stablecoin here, we’re going to have  a prediction market, we’re going to have L2s, we don’t have those here, they’re all in progress,  and there are teams building the curriculum now within Build Guild. those are going to be great  things to learn too. we have state channels that are kind of old, multisig wallet is really cool,  the SVG challenge—these are side quests. but the point is, this is a really good curriculum to  help you build a bunch of things that illuminate what’s going on here and what you can build.  but again, we don’t really know what the biggest

product-market fit is going to be. this thing  is probably nation-state-level hard. maybe we’re talking about building some kind of coordination  game between nation-states—maybe it’s this thin layer of world government accountability. holy  moly, that’s way over my head, I’m just a simple builder. but that’s probably what we’re going to  see people use Ethereum for in the coming years. the President is aping in, buying staked ETH—it’s  a new time, I tell you what, it is a new time. okay, so you mentioned account abstraction,  so I wanted to ask, which one to use?

great, yep. okay, so let’s—there  are other curriculums out there, I should say. I think thirdweb, cypherin, a  handful of others. follow people on Twitter, get into crypto Twitter, follow them, a lot  of these answers will be answered for you, because your preferences will figure them out.  just want to give a shout-out that Speed Run is not the only answer, there’s a ton of good ones,  a lot of them are VC-captured, but whatever. okay, so let’s talk about account abstraction  next. what do we have, another 15 minutes? I thought we weren’t going to have enough content,  but we’re filling it. okay, account abstraction is so necessary, so needed. that approve pattern I  was talking about, seed phrases living on a piece of paper under your pillow— these are elephants in  the room in terms of bringing the world on-chain.

if we’re going to bring the world on-chain, we  need some account abstraction. it needs to be basically, I land, I do a little fingerprint  thing, I do some actions, I earn some rewards, and they’re protected in a smart contract, and no  one can steal them. that’s what I think of with account abstraction. there’s a lot to it, but  there are a couple different ways to do account abstraction. I think 4337 is kind of the big one,  EIP-4337. it’s sort of like meta-transactions, it’s a second kind of transaction, a second kind  of mempool, there’s this entryPoint contract, but it allows you to do things like sponsor gas.  oh, nice thumbs up. it allows you to do stuff—and by the way, follow these folks, they’re really  good. you can even find “permissionless”— is

that that guy? maybe a different Kristof. anyway,  there’s a lot of different account-abstraction implementations. this is one of them that’s  popular right now. look at 4337. I think maybe the competitor is 3074 or 7372—whatever. we’ll  see it in the Pooja Lahav fork, I think. and what this one does is, you can actually take an EOA,  an externally owned account—a seed-phrase-like account that you have in all your wallets—and  you can upgrade it into a smart contract, and basically say, “hey, AustinGriffith.eth is  my wallet that I’ve been using forever, but I want to upgrade it to a smart contract wallet  that lets me do things like batch transactions,

so I can approve and run the thing.” I think  there’s probably some sponsored transactions in here too, I’m not really sure how that would  work— yeah, yeah, you could have the wallet— I don’t know if you can do it, I bet you can. yes,  sponsorship, that’s right there, account X pays for the transaction. okay, so that’s what you  want, right—batching and sponsorship are probably the two major things you’ll get from account  abstraction, and I guess that’s built into 7372 as well. are there others? I just thought it was  always 4337, I didn’t realize there were others… yeah, that’s cool to know.

well, and don’t get discouraged. I saw on Twitter  the other day someone was venting, like, “damn it, we built our whole stack on 4337, and now 3074 is  coming out, why?” right? don’t get discouraged, this is a good thing. we’re making the ecosystem  more robust, we’re innovating, we’re moving, but we’re also keeping these good ones around,  making sure standards exist, it’s still easy to build on top of them. so I’d say, don’t get  discouraged if you built everything on 4337, because you’re still going to have  these sponsored transactions, batching,

you’ll still do that there or in 3074.  3074 is just a different way to do it. and don’t get discouraged that we have multiple  options—it’s a good thing, not a bad thing. account abstraction—I want to shout out  Permissionless.js, too. is it permissionless.js, I think, yes, by Pemco. and I think it’s 4337, but  maybe not. oh, it’s 3074, I’m not sure which one this uses, but it’s one of my favorites— check  that one out too. there’s a lot of good ones, a lot of good implementations. and by the way,  we haven’t really dug into L2s yet. some L2s actually have native account abstraction.  some L2s saw this coming, and were like,

let’s just build it in, let’s figure it  out. so you’ll find that on some L2s. RPC providers are tricky— again, we were talking  about that provider, you gotta go to a node and get the balance for someone, you gotta send your  signed transactions to a node to talk to Ethereum. you have to talk to a node that then peer-to-peer  talks to the rest of the chain and builds things into the chain in blocks, so this RPC provider is  important. a lot of them are pretty centralized right now. there’s a thing where, okay, you’re  going to build a front end, it’s going to live on Vercel, you’re going to be hitting Alchemy,  your front end is not decentralized. maybe you have a very open-source front end, and anybody can  fork it and bring it up somewhere else, it’s your

contracts that are the decentralized thing, and if  any of these centralized front ends fall down, you can bring up another one somewhere else. so this  RPC provider thing—there are tradeoffs between the two. hardly anybody is actually running a full  node at home that they can talk to. you just can’t count on your users doing that. maybe in 2015  Ethereum, we were thinking everyone would. you could download Mist, but that’s just not what end  users are going to do. end users don’t care that much about decentralization—until they do, until  they get deplatformed, until they’re trying to send money across the world and they can’t, and  there’s a huge fee, and a bunch of middlemen, then they start saying, “oh, shoot, yes, I  want decentralization.” but at first, when

they’re just grabbing the app and using it, their  first thought is not how decentralized is it, right? that’s just not the way an end user thinks.  but the more decentralized it is, the better, the less things fall over, and in the long run,  that’s what they want. but you have to give them centralized user experience while making it as  decentralized as possible. so the RPC provider is one of those tricky things where, yeah, almost  all apps basically use centralized RPC providers, not some other method. there’s like dRPC out  there that are going to be slower—like we built one within Build Guild, we have nodes all around  the world, whenever you use our apps we serve them

out of our nodes all around the world. but we  have two or three in Africa, and it takes 200 milliseconds to get there and back, rather than  right here to my office on fiber, right, so our dRPC is just slower, because it’s distributed.  so there are tradeoffs. in the long run, people want fast things, so you’re probably just going  to use a centralized RPC, and you’re probably just going to have a front end that’s centralized on  Vercel, and it’s going to be fast as heck. if you need to be more decentralized, you scale the other  way and have lots of options, make it open source.

okay, we did kind of cover—“did you already cover  why do we need to update our RPC every so often?” I don’t even know the answer to that, like RPCs  change and the blockchain is changing, but… did I write that, or did you write that, or is that a  chat question? I don’t know why you would need to update your RPC every so often, unless actually  the chain has changed. there’s new versions of these clients coming out every now and then, so  Geth comes out with an upgrade, so Alchemy will get the new Geth version and run it. but all  that’s happening under the sheets, so you don’t need to worry about that if you’re using Alchemy  or whatever. so I’m not sure why you need to update your RPC every so often. Christina, if you  have a clarifying question, you can just ask it.

I want to make sure we cover the L1 vs. L2  / which L2 topic, because that was a big… yes, let’s get it. okay, again, there’s a lot  of nuances to all of these, and I think the question you should be asking yourself, instead  of me giving you answers, I’m going to give you questions. the first one is, how decentralized  is it, right? the second one is probably UX, maybe ramping, and then we’re talking about  cost and speed. the L2s—the trick about L2s is the cost and speed is finally there. we  can bring the world on-chain now. we could not bring the world onto 2015 Ethereum—it just  wouldn’t work. but we can do that with L2s, and even other layers that settle to those layers, and  abstract things. but how decentralized is your L2,

does it have a centralized sequencer? and I think  if you go to l2beat.com, that’s the website—why did that say musical artist? oh, getthebeat. here  we go. we’re looking for stage 2 L2, you want your L2 to be in stage 2, because that means it’s  fully decentralized, or something, I don’t know. you can come here and learn what these stages look  like. but it comes down to how decentralized your L2 is. so we’ve got lots of L2s, they settle to  Ethereum. you can bridge from your L1 to your L2, or a lot of ramps will come right into an L2, you  can give your users fast and cheap transactions.

but the first question is, how decentralized  is that? look at Base, it’s so close, we got one more pie, right, and it has to do with, I  think, exiting, how long the exit window is, something like that, I don’t know exactly. but  also, they have a centralized sequencer. one day, we need decentralized sequencing to happen  on these L2s, which is a hard problem, I’m not the guy to do it. but L2Beat—come here, look,  figure out what L2 you want. some of these are ZK, some are optimistic rollups, some have built-in  account abstraction— I think zkSync Era might be one of those. some do things like take the gas  fees and give them to the contract deployers,

like this CSR, contract-something-something  revenue. so all of these have different flavors, you need to figure out which one is for you.  I can’t make that decision for you. I think between them I have no hard preferences.  maybe I have some horses in the race, but I don’t want to king-make. I’d  say pick the one that’s right for you. yeah, the only thing I’ll add to that is, because  we’ve been building in the space and chose which L2, something that mattered to us was how much  support we were going to be getting from that ecosystem— what other apps are in that ecosystem  as well, because you’re going to be plugging into a lot of stuff. so how thriving is it? and then  are they helping you market or gain new users,

giving you grants, and so on. those are also  considerations if you’re building something for a company. if you’re just tinkering around or  building something fun, there’s a lot of different considerations too. it depends on what you’re  trying to do. you could go across multiple L2s, it could be something that settles on multiple  L2s, and you do that. there could be bridging in between. liquidity is another thing—if you’re  big into DeFi and need a lot of liquidity on the chain, you’re going to need to get in there  and figure out how much liquidity it has. when you make a trade from a stable to ETH and back,  what are the fees, how much is my user getting.

that’s based on if there’s low liquidity, the fees  are going to be high; if there’s high liquidity, fees are going to be low. so you want that  liquidity, and yeah, it’s fragmented for sure. and UX. just Christina said, it seems  whenever I have an error using Metamask, I need to update my RPC. I’m assuming  mm is metamask, but yeah, I don’t know. yeah, oh, no no, it’s yeah, I have to update  my RPC. yeah, I don’t know. I’m not a big fan of Metamask. I am using it here on desktop for  a lot of things. try some other wallets too, I would say, try some other RPCs. yeah, I’m not  exactly… every once in a while Metamask is weird,

and I have to reset it, right,  and it feels so scary to do that. yeah. okay, so we have two minutes. is  there anything we have not covered yet, like you were just like, okay, we want  to make sure everybody is aware of this? we haven’t really talked about AI agent platforms  like Eliza and a lot of the other ones. I think you’ll do your own research also. these AI  agent platforms are out there; you don’t have to build—you don’t have to abuse the prompt yourself.  there’s cool rag storage and a lot of things that AI nerds have been thinking about for a long time  that exist in these AI agent platforms that you, as a Solidity dev, may not know about. so just be  aware of these AI agent platforms and really get in and understand them. I think another big thing  is, like, we don’t know—I’ve been saying this,

but I really want to hammer it home—that  the next big thing on Ethereum is probably not in this file, and it’s up to you to figure out  and think of it. I love what Linda is saying about going back to 2018, when people were talking about  token-curated registries— what if you have an AI agent, or multiple AI agents that are DJs, picking  what they think is the best song for the room, and then you have people voting on the songs  with a token, and the person who made the best AI agent makes some money, but overall,  what you curate is some really good music, a really good list of music that people really  like. check out token-curated registries— there are people scoffing from 2015 hearing me say  that, but check out some of these old ideas,

because now is the time. the regulation  scare is down. what would you build, if you could build anything? that should be what  you’re asking yourself. and you shouldn’t just ask yourself, you should learn and ship, deploy  something, put it on some mainnet somewhere. nice, great way to end it. well, thanks so much,  everyone, for tuning in. all of this is going to be recorded, we’ll share the list of all the links  and resources that Austin covered. thank you, Austin, for doing this. you are the best;  you’ve done so many of these for the industry, and I think a lot of people have learned through  watching your videos. so thank you so much, and appreciate everyone joining. we  can all just hop off. ETHGlobal is

going to be handling the recording and  stuff, so we’re good to go. thank you! awesome, thank you everyone. okay, bye. [Music]

Related talks