👩‍💻 Web2 to Web3 🚀 - Week 1 👩‍🔬 Becoming a Power User - Day 2: Wallets, Mnemonics, Keypairs

Web2 to Web3 Curriculum · 26 Jul 2025 · 1:24:08

Austin Griffith, with Eda and Carlos, guides developers through setting up their first Ethereum wallet on day two of the Web2 to Web3 curriculum. The session installs the MetaMask browser extension from the official site, explains the secret recovery phrase, mnemonics and keypairs, and stresses security habits such as protecting the phrase, avoiding phishing look-alike sites and storing a backup for emergencies. Etherscan is introduced as a neutral third-party view of the chain.

Speakers

Topics

From Web2 to Web3 Curriculum, hosted by BuidlGuidl.

Transcript

Oh, what's up? I'm Austin Griffith. I'm here with my friends and Carlos. And today is day two of our uh web two to web 3 curriculum. We are in week one, which is how to set up a wallet and become a power user in Ethereum. And today we're just going to set up a wallet. We're going to talk about pneumonics. We're going to talk about security. We're just going to talk about kind of getting you set up and an ether scan, you know, like uh disinterested third parties. We're going to tell you how to set up your wallet, how to be secure, and basically how to get started to become a power user in Ethereum.

What's up, Eda and Carlos? How you guys feeling? You guys ready to do this? >> Yes, let's go. >> Yeah, excited. >> Awesome. Okay, Eda, do you want to start by sharing your screen? I think the first place we should start is just dive into setting up a MetaMask. MetaMask is like the go-to browser extension. Uh it's uh I think I think we should even start it off by saying that disclaimer like MetaMask is more worried about security than they are about user experience. So there's going to be some clunky things just in web 3 in general. There's going to be some clunky things. And so just know that like these guys are security first. They're thinking a lot about your security. and we'll talk through some of the the differences and

and some of the interesting things, but here we are. Metamask.io. Take us away, Eda. How how are we doing? >> Yeah, so basically just going to metamask.io and then it's a Chrome extension. Um so and browser extension you can just well you do have also like phone. Um you can install it to your iOS and Android as well, but we'll just install for Chrome for the time being. Um, and then let's just get to it. Just adding the extension >> and make sure it's like MetaMask. Make sure you're on the Google the official website. You're looking for very official things here. Make sure you don't get fished and someone sends you to metamask.com

or something. >> There we go. So, we've added the extension. You pinned it so it shows up. It's got the nice little fox like 3D animation thing. This is a security feature. This fox is a security feature. It's something that uh you know impersonators would have a hard time creating. >> Probably in 2016. Probably not anymore. I don't know. We'll have to ask Dan Finlay about that. Wonder if it's still a security feature. It probably is. Okay, here we go. Let's get started. Okay, this is the scary part, right?

What the heck? No, I already have a secret phrase recovery phrase or I don't. And by secret recovery phrase, they're talking about that 12-word seed phrase, right? We should probably create our own at first, right? Let's not import one. >> Yeah, >> but let's really talk through this 12word seed phrase. Oh, they're going to really help us about this, aren't they? They're going to say never >> never >> share it. Never share it. >> So, it's pretty good with like I think explaining what to do. Like, it also has the video. Uh but since we're starting from scratch just yeah it gives us all the warnings but I think we can proceed right >> here we go I agree okay now the password this is different

so we have a 12word seed phrase and this is the very very critical thing that is like if you lose your 12word seed phrase everything is gone this is just a local password this password is used to encrypt your information locally and so you'll need this password to like get end to things. But if you lose this password, you can always destroy everything and bring back your 12word seed phrase. And in at that initial like import box, you could import your 12word seed phrase. So this is a much less secure, more ephemeral. You could probably just type in some like you shouldn't reuse passwords. Like let's talk about security. You should have a password manager and you should use a good long password. But technically this could probably be a pretty junky

password. not that because it's basically like can someone that already has access to your machine open up your wallet is what this password is is is setting up. So, I don't know if you if you have a good password for us, Eda. Here we go. >> One, two, three, four, five >> for the point of this tutorial. But yeah, it's just going to be on the meta mask. So, like when logging in, but of course like don't put like your name one, two, three, four, five. But just since this is testing, >> there we go. And we got some good like intro videos here. Lots of stuff to watch. Things most people will probably skip immediately, but it's good. It's good. They're talking about the 12word cphrase being your master key. And we'll

definitely like hammer that home today for sure >> and password manager. Okay, here we go. The 12word seed the 12-word seed phrase. So, this is the point where they've generated a 12-word seed phrase from you for you. And they've generated a really big uh like like the the entropy here is huge, right? We've got a giant 12-word seed phrase. Now, it's time for us to save it somewhere, right? So, we need to reveal it and never reveal it on a call. Never reveal it in front of each other.

Never reveal it on a shared screen like we have here. But for you, the user at home, that's what we're doing here. Here, here is our 12word seed phrase. Muscle craw member muffin coin jealous fault pool auction tired. There it is. Those 12 words. That is a good one. Yeah. Yeah. Those 12word seed phrases, those 12 words basically in that in that order is our master key. That's exactly that's exactly the best way to say that. Like those 12 words can re we can take these 12 words and we can write them down somewhere. We can save them somewhere and if anybody gets them, they can recreate our entire wallet and they can

empty the wallet. Right? So yeah, let's paste it in there. So, so let's talk about some ways to save this, right? Uh, one one method is to write down your 12 words on a piece of paper and store it in your sock drawer. And that's a that's an okay way to do that. Uh, what what else? What do what do you guys uh what are some other methods of saving your 12word seed phrase? Um, yeah, I would store it in like two different stock uh sock wallets. Uh, so closet, sorry, not sock wallets. Uh, but I see a lot of people take screenshots and that is something you should never ever ever do. Like don't take screenshots or like send it to anyone

from WhatsApp. Um, that's just not a good only thing >> password manager or like I would write it myself like even not do that. It's like your bank account information and everyone can get it. >> It's uh the you you said a password manager. That's another good uh kind of a good place to store this like one pass or keeper or some of those password managers. You can just copy paste this into there as a giant password. And of course like this is you know you're keeping again like this shouldn't be millions of dollars. If you have millions of dollars like backing this 12word seed phrase, it should not be in

a key pass. It should not be in your sock drawer, you should probably eventually have a smart contract wallet with many signers, a hardware wallet being one of those. And we can get into that more, but basically places to store this. Uh let's say you stored it in your sock drawer and that was the only place you stored it and your house burned down. your seed phrase would burn down also, right? And maybe your laptop is in your house and it burns down. >> Okay? And then all of a sudden all that money is gone, right? So maybe you could keep it in your mom's sock drawer and if her house burns down, then you re, you know, you restore it. If your house

burns down, it's at her house and your laptop is dead, but you can go get your 12-word seed phrase out of her sock drawer. Uh, but if someone breaks into your mom's house and goes through her sock drawer and finds a 12-word seed phrase, your money is gone instantly, like like the they're they're going to uh take your money very quickly. If you accidentally have it in a text field and you share it on GitHub or anybody gets any whiff of this 12-word seed phrase, your money is gone immediately. So, you want to store it somewhere where you can get to it and recover it in the case of an emergency. Is that a good way to explain that? Am I missing anything uh major here?

>> Like some people I think they get like maybe too creative. Uh and then if you do like some tricky ways to store your seats, maybe no one is going to stole it from you, but maybe you won't be able to recover after. So, don't get too crazy when storing the the the seed. >> That's a really great point. Some some people will set it up. So, I have the first six words at my mom's house and the last six words at my brother's house and they need to come together to put those together, but like there's no chance in hell that they're going to get that together and have everything and get that right. or people who will like weld it onto a piece of metal and bury

it in their backyard like like so so this is another good point is is to prove to yourself that you can recover it and maybe we'll do that in a little bit but having your 12-word seed phrase in your sock drawer is only half the battle. You need to then if if you kind of totally delete your account and you go grab that 12-word seed phrase, can you recover your account from that 12-word seed phrase? And that's a great point, Carlos. like sup some people will get super creative about it and then like there's no chance that people are going to actually go through this process to figure this out. So it's it's less about being creative and it's more about being secure and finding one good, you know, answer. Splitting it up is a great way to do it, but just make sure

that how you split it up is very clear and that people who have the two pieces or four pieces know like have very clear instructions on how to put those together to get back to the 12word seed phrase to recover it. I think good practice it would be to before like sending like real funds to your wallet maybe try like deleting metam mask and trying to set up like again you know like before send and make sure that you can access your MetaMask with your seat phrase before like sending any >> we should probably even do that today. I think we should probably do that on the call to show how how it works.

>> But uh yeah, I say we get started. We I think we we we've really like covered the 12word seed phrase pretty well. Uh here we go. Let's let's let's uh continue on with the MetaMask installation. We've got our 12word seed rays backed up somewhere just in our notepad for now. But you you at home perhaps you could write it down on a piece of paper and put it in a sock drawer. Perhaps you could put it in a key a key holder like a password saver or some kind of other intricate storage method. But here is our 12word sephrase.

Here we go. Yeah. Uh let's Yep. Go ahead. >> Yeah, I just wanted to add one note. I also see a lot of people like say I want to do this later. But I would recommend like doing it when you're setting it up. Like otherwise you can forget log out then you have no way getting back in. So like when you're setting it up like make sure you have like half an hour to go through this process >> and and maybe we'll cover at the end of the call uh some some ways where there there are methods of onboarding where you don't like just straight up start with a seed phrase. you you use an account and then eventually you'll you'll bring that account into something else like a burner wallet. But let's yeah, we can save that for the end. Uh yes, on onboarding you should probably

just do this 12word seed phrase. Okay, so here we are. We have to prove that we have our seed phrase and we have to prove that we have it backed up by basically putting them in order. Is that right? So we're going through and we're restating our 12word seed phrase. I have one question like why is added? Yeah. So what stopped me to create like a script with get like a list of all the words and I start like testing all the different combinations and you know like I I get the seat 12 words phrase and I just check the balance for that account account and what stop me to to do that you know because I mean it's only 12 words right it's not too many so I can

just like create a script that read like a dictionary and I start like testing like random like words and maybe at some point that we find, you know, some some some accounts with with balances. I don't know. >> That's a that's a great point and that's one thing that we really need to hammer today. And it's kind of a strange thing that like technically someone could guess your 12word seed phrase, right? There's only so many words. I think there's like 5,000 words in this particular dictionary and there's only so many combinations of those five 5,000 words. But the the thing that we'll discover today as we get into this is that there's so many that it would take so long. You could have everyone in the world running that script and it would

still take a million years to find an someone else's account. And our human brains are pretty hard at like it's it's hard for our human brains to even really grasp that. I think uh a good example is shuffling cards. When you shuffle a deck of cards, there's what is it like 52 factorial is the is the um the the chances that that's that exact uh shuffle has existed before and there's all these decks of cards all over the world and all these humans are shuffling them. But if you give it a good shuffle and you get a good randomness, no one else has ever had that stack of 52 cards in that exact configuration, which is like our brains are not good at

understanding that. Like that's hard to grasp. And and the fact that someone could just guess this. Technically, someone could just guess your 12-word seed phrase. Like they could get these these 12 words in this exact order and all your money would be gone. But it's incredibly difficult and incredibly like statistically not going to happen. And we'll we'll explore that a little bit more. Let's get into the numbers of it in a little while. But let's let's let's finish up the seed phrase here and let's get our account going. So what are we at? We have auction and then tired. And then >> I just thought we could like do it wrong.

>> Oh, okay. Yeah. No, that's a great Yeah. Let's see what happens. We should do things wrong. A couple Oh, it just doesn't. >> Doesn't even allow me to click confirm. >> And then if you click auction and tired, does it let you bring them back? >> Oh, wow. Let you drag the order of them. Holy moly. >> So, it doesn't allow you to compare. >> They do that, but I can't even have optimism added to my MetaMask and startup, but they have that feature. You can drag and drop words in the seed phrase. That's pretty awesome. >> Okay. And everywhere. >> Awesome.

>> All right. So now, can we confirm? Congratulations. You have set up an account on Ethereum. And what did it take to set up that account? This is another really weird thing. You don't have to get anybody's permission, right? When you're setting up a Wells Fargo account or you're setting up a bank account, you have to get all sorts of permission. and you are just an entry in their database. With Ethereum, anybody can participate and all you have to do to create an account is to come up with a large random number. In this case, we have these 12word seed phrases and we'll show how that turns into a private key.

We haven't even gotten to like the key pair yet, but basically anybody can create an account and we'll show more about that uh in a little bit. But here is our account. Here's our MetaMask. We have zero ETH in there and it and it gives us an account, an address, right? Can we look at that address there? There. There it is. Maybe even Yeah, we could. Yeah, paste that. Uh, I was thinking we could send What should we do? Should we send some testn net e next to this address and send some things around? Do you want to maybe paste that into our shared chat and I will let >> some test.

>> So, Ethereum is a public network anybody can access. But there's also these test nets and these are for developers to use and they're free. So they they have a different uh consensus algorithms and we'll get to all that but they work just like public Ethereum. So just like you can send money on Ethereum, you can send money on these test networks. And these test networks allow us as developers to kind of tinker around and and play with how Ethereum works and how to send things around without actually sending uh uh you know mainet value. And that's more and more important as as Ethereum is, you know, more more expensive. Oops.

Whoops. Let me send Okay. Uh can I should I steal the screen? Let me steal steal the screen and I'll show me sending from my MetaMask. >> Here we go. And I've got some other stuff here and we'll cover some of this stuff later. But really what's important here is my MetaMask here. So I've selected the coan network which is a test network in okay instead of mainet Ethereum and I'm going to hit send. I've got a whole bunch of co like $200 million worth of co. >> That's really hard to get. >> That is that is Yeah. I've got some nerd connections. Yeah. So, I'm going to paste your address in here. Okay. And when you're sending Ethereum, one of the first things you do is like kind of look at that that 0x.

>> I see 0x 3C21. And then I kind of look over here and I see 3C21. And maybe even I look at the last few numbers too. FE673D. Yep, it matches up. Right. So, so I'm kind of like at a at a at a glance, I'm trying to make sure I've pasted the right address. And as you use Ethereum, you'll copy and paste lots of addresses around. So, you need to double triple check before you send real money. Is this the right address? It looks like it is. Okay, I'm going to send one ETH of Kovan to your address. And we hit send.

And it'll take about 5 seconds. Okay, it's going to ask us about gas. We'll talk about gas and everything later. You have to spend a little bit of your ETH to send ETH, which is an interesting thing, and we'll get into that soon. Uh, but there it goes. We've crafted a transaction with our MetaMask. We've we've set the transaction to say that you are the two address. I'm the from address and the value is one ETH. And there it goes. It just sent. Uh you can go ahead and share it on your side and let's see if we have some coan ETH in your wallet.

And also how to get ETH, right? That's a whole another question. Oh yeah, you'll need to switch your network to Kovan. That's one thing too. Oh no, look at that. They let us drag and drop, but we have to manually add coan. Is that true? >> No. >> I thought it came with like actually a couple of networks, >> but Oh, wait. Show hide. There's a show hide. There was a show hide there. Uh, show hide test networks. Oh, few. Thank goodness. >> Oh, okay. So, we can open the test. >> See, this is this is why we do this. We go through this slowly and we run into weird problems. So, you at home don't feel like, "What the heck is going on?

This is some weird stuff and we got to go through it slowly. >> So Austin you were saying that I mean not everyone have a friend like you which have like a lot of money in in co. So what what can they do to you know to get like some test if because if they want to you know to do some testing or send some ETH over what can they do to you know to get some like some free ETH? >> Let's let's go to that other browser tab. Let's copy our address. So, the 3C uh let's copy our address and then let's just Google uh search. Yeah, there we go. Let's let's search testn net e and faucet. The word that you're looking for there is faucet. Yep.

>> And let's see. The paradigm has a really good one even. Uh let's see. There's a rinkabe faucet. >> I like the rinkabay faucet as well. >> Let's let's go let's go to it. Let's use it. Yeah, it's purple. Let's click it. >> Yeah. Oops. It's offline, right? This this happens sometimes that you try to get connected and and not no one works. >> Yep. And that's going to happen. So these test networks are real networks where they have the full, you know, proof of stake happening or proof of work happening and so they're attackable by attacking those systems and and it's kind of like a web two network kind of hosting up in web 3. Oo, different language. So So you'll Yeah, >> this is Turkish, but it gives us Oops.

Uh it basically It also tells you like the different >> Yes. >> Uh facades that you can go to. Faucets. Yeah. >> The paradigm one. That third one there. That's my favorite. Let's Let's try that one and see what it lets us do. >> Okay. So, I guess >> you might have to sign in with Twitter. >> Twitter. >> I don't know if you Oh, Edit Tweets has signed in. Edit Tweets. Give her a follow. >> And we paste in our address. drip on additional networks. What does that even mean? Like some weird EVM compatible networks, they'll send you some things. I like it.

>> Okay, >> a couple. >> So, yeah, this is going to give us all sorts of stuff on all sorts of networks. Uh let's see if like maybe we have some rinkab it'll take. So, oh, let's talk let's let's pull that up real quick. Let's talk about the test net just for a second. We've already got it. It worked. If we look at this just for a second, just the list of networks while we're talking about test networks. So Robston is a proofof work network. Great network to test like user experience in terms of like the transaction is going to take a long damn time and your user interface needs to adjust to that. Uh there's co which is the one we're on which is good for quick transactions. A lot of D5 protocols test things on co. Uh the next one I think is rinkabe.

Kovan has 5-second block time. Rinkabe has 15 second block times, but great for testing NFTTS. Open C and everything is over on Rinkabe. Then the last one is Gorly. And Gorly is just like that's where the cool kids hang out. That's probably going to be where we see the merge happen and a lot of other things. Uh so Gorly is probably the most like futurep proof of the test nets maybe IDK. I don't know actually this this is like my my view as a developer. But those those are all the test nets. So we've got some testn net e. We're able to send it around. uh maybe you could send me some coan uh send some coan back to me and then maybe we could use ether scan uh disinterested third party to kind of inspect these transactions and

figure out what's going on. So yeah, let's try to send some. >> Yeah. So I could get your address from here. Yep. >> Um but if you have anyone's address, you could just like copy paste it as well. >> Yep. >> So I'm adding it here. I'm going to send you one E back or let's send Yeah, let's send you one. I'm not keeping any Kovac >> and and just like a little disclaimer, a little star, this account is completely like exposed, right? There's a 12-word seed phrase that we've already put up here. So, all of this is like this account should be like toxic and we should understand that this is like toxic waste here, but it's a good thing to show you at home how to really go

through this and how to really inspect it. Okay. Ether scan. Etherscan is a public good in Ethereum. Etherscan is is like this really important infrastructure where you can go here and it's called a block explorer. You can go here and you can explore all these different transactions and find out what's happening on chain and and this is ether scan for mainet. But really we want to go and you can see yeah you can see the price of ETH. You can see the like the last block that was mined and each block after that and the blocks are just full of transactions from from people using Ethereum. But let's go to the Coan one and let's make sure. So let's say you sent me some ETH and you want to like prove that you sent the ETH to me, right? Like let's say I'm over

here and I'm like I don't see it in my wallet and you're like I sent it in my wallet. How do we know for sure? What do we inspect here? I think the transaction, right? The transaction hash is what it says. I'm just kind of thinking out loud, but I feel like you can send this link and it shows like what process it is. >> That's perfect. Yeah. So, 7 seconds ago or whenever 7 seconds ago when the page loaded, we can see that it went from 3C21 to 34 AAA and I'm 34 AAA and you're 3C. So we can see that the money went we see that there's a value of one ETH and we see that we paid some tiny amount in a transaction fee that will obvious be

obviously be a lot bigger on mainet your transaction fees because you're you're kind of there's a whole economic system that's happening to make these things safe and secure and you're paying for that and the more busy the network the more you'll pay and we'll get into gas more but there we go what do we click to see more what else do we see we see gas limits and gas fees we'll cover all of that stuff in a little bit. And there's even a little data field and the data is empty. So everything on Ethereum is a transaction, even interacting with smart contracts and doing weird things and we'll get to that eventually. That's where that data field comes in. But for you as a new user, you've got your wallet, you're able to send things, you're able to use Ether Scan to kind of like double check those things. So here

here we go. We were able to send Yeah, go ahead. I think what's what's uh let's see what's next. What's the next thing? We're able to send value back and forth. >> Maybe like like click on the on the address like on the front. If you click into the address on another scan >> like you can go like to your address, right? Yeah. If you click right there. Yep. There we go. >> You see like all the transactions on on your account. >> Yep. Yep. So, we saw the one ether come in and the one ether go out, right? But we don't see the money from the faucet because it's an internal transaction. If you click the internal transaction, we'll probably see there's another one.

Yep. Four minutes ago, one ETH came in from a smart contract. So, some other account triggered a smart contract to release us one ETH. And that was that faucet that we used. >> One thing I can add, I feel like this comes up like it came up with me is that you cannot revert the transaction like once it goes to you can't be like, "Oh, I want it back. I did it by mistake. Once it's gone, it's gone." Like it's there's no like customer service which you can call to get it back. >> Right. Exactly. There's no customer no customer service for Ethereum. It's basically Yes. If it's gone, it's gone.

Now, this brings up some fun stuff about the MIMP pool. Right. I don't know if we want to get too far into the mim pool, but there's the too long didn't read is you're you're paying a little bit of gas to make your transaction go through, and there's only so many transactions that can go through at once. So you're bidding on your space on chain and the people who bid the highest get into the the block and get get their transaction through. So there's this like kind of economic system that happens where you're bidding to to have that slot and so the the fees are going to be higher on uh on mainnet. But there's something really interesting you can do here and

you're saying you can't cancel your transaction. Technically, you can submit another transaction to the MIM poolool while while your first transaction is in the mim pool but hasn't quite got mined yet. You can submit another transaction with the same nons but higher gas and like a higher bid and have it send zero dollars. So you can send a second transaction that sends no money and get it into the MIM poolool quick enough and get it mined. And you can technically if you do that quick enough cancel your transaction by sending a second transaction. But as soon as that transaction is mined and we see it here on Ether Scan, it's gone forever and there's no help and there's no hope and there's there's no customer service. And

that's a really hard part about Ethereum. And this is a big gotcha about using cryptocurrencies is this no help support kind of thing, right? Once it's gone, it's gone. >> Yeah. I think that's how the speed speed up works. Like as you mentioned, like sometimes you can speed up your transaction, so pay more gas for it. >> Exactly. You could you could have put it in. So right now mainet gas is about 60 gay and I think we paid two guay here. But say you put it into mainet at 30 gay and that it's telling you it could take two days for that to go through. You can submit a second transaction with all the same information but higher gas price and you sign that and it goes to to Ethereum and it'll go faster. Yep.

Exactly. Okay. So, we're able to create a wallet. We're able to have our 12word seed phrase and we're able to save it. We're able to send Ether around. This is like these are our baby steps, right? This is the first baby step. We've taken our first baby step into Ethereum. We're able to send things around. So, a possible things to explore next and I think we should go through them uh here on the call. Uh is is what what's happening here in terms of the seed phrase and the private key and the public address. Right? We we haven't really talked about ECDSA key pairs yet.

And I think we want to know how that 12word seed phrase deres into a key pair and how that key pair is is signing things. And and I'll I'll steal the screen for a second, but let me just open it up to you guys and say like, you know, where are we here? And should we jump into the 12word seed phrase? What do you guys think? >> Yeah, I mean I think so. Um, also like talking about like generating like more because with one seed phrase you can generate like multiple accounts, right? Multiple addresses. So, we haven't talked about that yet >> because we we only have like one seat phrase and one account for now. But with one seed phrase, you can generate the same accounts over and over, right? So, yeah. Sorry. If you want like you can

create >> let's make a new account and send like half half of our ETH to it. Yep. So, now you're creating a second account which is a second address within your MetaMask within your 12word seed phrase. Like like Carlos said, you can have a 12-word seed phrase, but then there's this indexing system. So you out of one 12-word seed phrase, you can actually have like infinite accounts. And MetaMask is going to help you keep track of all those accounts that come from that one seed phrase. Let's send let's send some ETH from account one to account two and and double check it on Ether Scan.

>> Yes. And these accounts are going to be always the same. That's the important thing. It's like the deterministic, right? when you have the same seed phrase, the same seed phrase is going to generate like the same accounts over and over again. So if you delete MetaMask, >> like all your account are going to disappear, I think, and it's going to also like only number one. But if you click like new account, like new account, it's going to generate like the same in the same order that you have you had it before. >> And no one knows the um >> how those accounts are are connected, right? It's basically a hash. It's a one directional function. So if you send some money from one of your MetaMask accounts, it's not like everyone knows that now these other MetaMask accounts are also related to you. No one can

figure that out and derive that. So yeah, let's send it. Oh, that's me though. You're sending it to me. We want to send it to I think I'm 3A. This is this is user stuff from Ethereum. Like that 3A is me, right? Yep. You want to go to uh the >> the your second account and copy it and then go to your first account and send it. Yep. >> Okay. So, I accidentally clicked this. Yeah. But you could directly transfer between my accounts. Um, so just clicking like >> they just have that built in. Okay. >> Yeah. >> Yeah. Yeah. I didn't know that. That's good.

>> Yeah. I didn't know that either. >> I always do it like that because I always make >> Yeah. It's safer. Yeah. To know that like this is definitely going to one of my other accounts rather than like copy my other account address and paste it in. Cool. Cool little secret there. There we go. sending 0.5 ETH from one account to the other account. And like Carlos said, you all of your accounts will always be there and it'll be deterministic. So this account two that we've created here, if we destroyed everything and brought our 12word seed phrase back, account one would be there and we'd have to go new account and we when we created that new account, deterministically that second account will be there and it will be the same.

It won't have the name. Like if you named account one Alice and account two Bob and then you trashed everything and you brought it back, it's just going to be called account two again, right? You're not going to have Bob there or anything. So as you name these accounts, understand that that naming along with that password is all like kind of just local. It's not something that's going to be stored anywhere or tracked. Okay. So we created a second account and we sent in some ETH to it. Can we double check on on Ether Scan? like can we copy that new address and put that new address into Ether Scan and just go look and make sure that everything is correct and MetaMask isn't lying to us or something. There we go. There's the transfer from from one to the other. We see the value. We see a tiny transaction

fee. Again, this this third party dis like disinterested third party. Ether Scan doesn't give a crap about your accounts, right? But it it's going to it's a great place to go to double check that everything is working the way you think it is. You can always send stuff from the wallet and the wallet looks nice, but always go over to Ether Scan and double check things and make sure things are are working right and someone's not, you know, messing with you. >> I think on this point we could also like lock the account just to see like what our local passwords are doing like the one we created.

>> Yep. Um, and it's always like best practice to like lock your MetaMask account, I think. So, do lock it. >> And it locks pretty quick. Like after like 15 minutes of inactivity, you that'll be locked also. >> And and one thing we haven't talked about here is like this thing is a Chrome extension. Like why is this a Chrome extension? Why why do I have a walllet that's a Chrome extension? And the answer to that is >> this wallet's going to unlock the ability to interact with decentralized apps. And these apps will be websites. So the cool thing about having this wallet as a Chrome extension is it's going to allow you to use your wallet to talk to all of these decentralized apps by just connecting in your wallet. And

you never will give these apps anything secret. The apps will let you use them and then they'll bubble up a transaction to you and your wallet will sign that transaction in its own little enclave and then send just the sand signed transaction back. So none of your private information goes to the DAP and the DAP basically has you sign things and send things back. DAP is such a word such decentralized app. I feel like I need to just say decentralized app because DAP is such a a hard word to say. Okay. So, if you would you mind sending the 12-word seed phrase to me in Telegram? Don't do this at home. Don't do this at home.

>> Never send your 12-word seed phrase. If someone asks you for your 12-word seed phrase, you should run in the other direction. >> Okay. >> Go ahead. Like bots just take like your if you post to GitHub like by example. I think they're like automatic bot b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b b which will just take it in like five minutes. >> Yes, exactly. It's gone. Maybe we should do that. I wonder I wonder if we should send a little bit of real ETH to this account and then let's like put the 12word seed phrase on GitHub and see how long it takes. >> Yes, >> that would be kind of a fun one.

>> I think it will it will take like like one minute. I think >> it won't take long. No, it won't take long. Okay, so I want to dive in. I want to dive in and just talk about since we do have like hopefully a lot of developers uh are watching this. They're they understand web two. They understand how to program, but they don't exactly know kind of what's going on here. These are called ECDSA key pairs, right? ECDSA verse. I saw it in there. DSA ECDSA verse RSA. I think I saw it there. That would be that would be a good there there is a there is a good little like uh side quest to go on. But oh great, thank you for the popup. Yes, but the the concept is ECDSA. It's it's this

elliptic curve cryptography. Uh I'm not going to go too far into it because I will sound like an idiot because I don't know what I'm talking about. uh this is like you know cryptography and it has this really cool curve and this really cool property but I am not smart enough to uh explain how the curve works. What I can explain is kind of like how we think about it in terms of a tool in a toolbox, right? So basically an ECDSA key pair consists of a private key and an address. And this is kind of one step away from the pneumonic which we've already seen is kind of like this 12word seed phrase.

So I'll show how these things are connected in a little bit, but I want to focus just on a key pair. Is that big enough? Can we see it? Okay. >> Yeah. >> Yeah. Okay. So, so this this is even though like we were talking about how that 12-word seed phrase is like the the thing. This is actually like the thing the 12word seed phrase is used to produce this right here. This 64 character the these you don't need the zero X but these 64 characters of hex data this is your private key. This is the thing that is going to sign these transactions. This is the thing from the curve. This this is your secret right here. This thing right here basically deres this address. So, and and let's go

ahead and just like generate a few just to show this uh happening here. Get out of there. Let's just go ahead and just generate a few. Right? I can just keep clicking and all this is doing is generating a giant random number. Like assume this is just hexadimal data and that can actually be turned into a number and it's just a huge number, right? So we're talking 2 to the power of 256. Oh, why can't I do to the power of a darn it? Dang. Okay, let's let's ask Google 2 to the^ of 256. 2 to the^ of 256, right? This is going to be a huge number. 7E7.

Okay. So, so a huge huge huge huge huge number, right? So, uh that's the So, basically to create an account on Ethereum to be able to interact with things, you create a number between one and this, right? You you just come up with a random number and that's all you need to do to participate. We generate some random number. Okay? Boom. There we are. There's our giant random number and from that is derived this address. And like Carlos, like you were saying earlier, well, can't someone guess this?

Can't someone guess your seed phrase? True, they could. They could guess this exact seed phrase, but there's so much entropy here. There's so many in in in this in a space of one to two to the 256. There's so many possible that they could spend a lifetime generating accounts and checking the balance and never find something. And in fact, all the humans on Earth could spend a lifetime generating random numbers and checking to see if there's a balance on Ethereum and they'll never find anything statistically. But there is this chance.

Yes, someone could just magically come up with this. But that's the the statistical likelihood of someone guessing your private key is so far uh impossible that like understand that it's a possibility, but it's impossible. The heat death of the universe kind of stuff, right? It's a long ways away. Okay, so we've we've got our private key. We understand this thing is the magic and this thing is the thing that signs transactions. Whenever you want to send a transaction, that transaction needs to be signed by a private key. And that's notice there's no from address here. That's what we derive when we say who the from address is. That's derived

from whatever that private key is that signed this transaction. Okay? So that key pair can you can be used to sign and recover or sign transactions. And let's let's just play with that real quick. If I drop a private key in here and we have a message uh Austin sends five to EDA. Okay. And that's what we want to sign. And we go ahead and sign that. Okay. And what comes out of that is the message and the signature. Now, this message will probably imagine it looking more like an object, right, with to and from. And can I just pull an object out

of here? There we go. Yeah, there we go. Imagine it more like this, right? But let's just think of it like a message. You can also sign messages, but think of it like this, you know, to Alice from Bob with a value. That's the kind of message we're signing here, right? Austin sends five to EDA and then this signature goes across the network. And what's interesting here is like this this can go across a public network. Anybody can send and receive this information. And if anybody tinkers with it, if anybody changes it, then it's not going to work. it's going to fall apart and it's not going to work. But on the other side, if we try to recover this, we use the ECDSA key pair and we use the recover function, we should get back that same address. Okay. And if anything

changes, let's just change this. Uh let's bring this in here and bring this to here. And we get the same thing, but let's disconnect this. Austin sends, let's say, Eda gets in here and edits this to six. Oh no, our address changed. Right? So now it says Austin sends six to EDA, but it's not Austin's address that signed it, so it's not valid, right? But if you have this signature and Austin sends five to EDA, sure enough, it does have it does recover to Austin's address. So we know for sure that Austin is sending that. So this is like the magic of these key pairs is you can just generate a number to create an account and then you can use that number and don't share it with anyone. You can

use that number to sign a message and then that message can go across a network and anyone else can use ECDSA math to recover who it was that signed that message. So really in the weeds here with how this works, but just assume that like these this this really cool key pair is just a giant number that's used to sign these transactions and we use that to keep track of who has what and who who has said things. Any anything to fill in there? I want to bring in pneumonics here, but like I I kind of went off the deep deep end here with private keys. How how are we doing?

Is this is this covered correctly? >> I had a mini question. Uh yeah, so I was wondering like that text the signature is that the transaction hash which we were looking at or >> uh a transaction hash. No, a transaction hash would look a little different. So if we Yep. So, if we create a transaction with our private key to uh let's see, let's we're sending it to ourselves for some reason. Uh I don't think I need to put anything else in here. Let me see if I can just sign that.

That will create a transaction hash. And basically, the hash is like all of this information hashed, >> right? Let's see. I don't think this is going to work. Nope. Uh what if I just like stringify it? This is not how it works, but let's see. Can I do this and then do this and then do this? Yeah, something like this. >> That's possibly that that's basically how the transaction hash works, but probably not the way I just did it. I don't know. That's probably not going to be the transaction hash, but that's basically where that transaction hash comes from is it's the hash of the the uh the whole uh thing with with the signature. Yeah, eventually there'll be a signature here and then this signature

would also be in here and that's where the transaction hash comes from. >> Okay, so that's like a message which I sign with my private key like it's >> exactly this this would be the transaction details. >> Austin wants to send $5 to EDA with the non of four and nons we can we can get into nons a little bit but it's probably not like same thing with gas like we don't need to really mess with it. Nons is just like for replay pro protection. If I send five to EDA and I put that across the network, then EDA could just rebroadcast this information over and over again. And if we didn't have some kind of replay protection, then you could have Austin sending five to EDA

every minute for the rest of time, right? So what you need is Austin sends five to EDA uh you know number one and and so only only this one will only be played once and then number two happens to happen and then number three has to happen. That's that's how this nons works but we don't want to dive too far into those details uh yet. Okay. So basically let's clear that. How do I get that out of there? Oh yeah, there we go. Okay. So going back to this, you can create an address on Ethereum by just generating a big number, but it's this is hard to keep track of, right? Like even if we were going to write this down on a piece of paper, that would be a huge undertaking. I don't want I don't

want to write that thing down on a piece of paper and then have to recover it, right? So what they came up with is knowing that we need to get to this hash, could we come up with a system that's easier for humans to save and store things and recover things and this is only one account. Could we do it where we have, you know, one thing we store that's easy for a human to to replicate that could have a number of different accounts? And so that's this this pneumonic system that we have here. We we have this let's see 12word dictionary. We have this dictionary of words. Let's see if we can find it. Uh got some Scooby-Doo there.

>> Where is like VIP 39, right? Something like this. >> 39, isn't it? Is that right? Is it 59 >> word list? There we go. >> 39. Yeah. >> Yep. There we go. Here is the English word list. So, there's only48, interestingly enough. Right. So, we only have 24,048 different words. Uh, and what was that? 248 12 fact. Yeah. And 12 words. The the combination of those is a huge amount.

Even though it seems like wait a minute that's like >> there's a smaller in terms of like how many private keys you could generate in terms of how many combination of 12word seed phrases your your human mind says well I can just take 12 of these random words and just keep jamming on it and find someone's seeds phrase and your your brain thinks that but trust me it's really really hard. Oh here we go. You go ahead and say that say that out. What was it Carlos? I think you just posted something to chat about how >> Yeah. Yeah. I I was like um I took this from a Reddit comment like some someone was asking like the same question that I was asking, you know, like can just like someone like guess my my 12 seat phrase and and he did like the math. They did

the math and he was like for a 12 words secret phrase from a 48 word list. Each guess has a one in 248 up to the how do you say like up to the 12 right? >> To the power of 12. Yeah, I think >> power of 12. Yeah. And it has like zero point and you know like like insane amount of zeros. Yeah. Like 1884% chance of being correct which is like and it says if you could make a trillion guesses per second on each of a trillion computers it will take the lifetime of the universe so far to have a decent shot at it. So yeah I like >> that's so cool.

>> Yeah. So it's like >> let me put that that quote in here. Yeah. Uh, you can't really read it though. If you had a trillion guesses per second on a trillion computers, zoom zoom zoom zoom zoom. If you could make a trillion guesses per second on a trillion computers, it would take the lifetime of the universe so far to have a decent shot at it. Yeah, that's that's a that's a good way to it's still like it's still so hard for our brains to even comprehend, I feel like. But but still like that's it's it's possible that someone can just come up with sister baby sentence essence above embark airport walk put tobacco excite humble. It seems like that's a very approachable thing to a human to come up with but it's actually like very very

very very very hard in terms of like stat statistical probability it'll never happen. Right? Okay. So, we have this 12-word seed phrase, and we know that if we generate a good 12-word seed phrase, it's almost as good as generating a giant random number, but it's a lot more approachable. And so, what we're going to do is we're going to take this 12-word seed phrase. Okay, let me let me just get like a text box and put that in there. Okay, and and then we're going to use a hash function. Nerds nerds out there know what a hash function is. uh onedirectional deterministic uh hash function. There we go. So look at

that. If we take the hash of this and let's see if if I change tourist to Jimmy, watch over here and this changes, right? So if I put tourist back in there, tourist, right? See how with each keystroke that is changing, right? And it's not changing close. like a tourist with a T versus tourist with an F. They're not close at all, right? It's not like you can get close by trying things. They're they're the it's picking a random number out of the whole set and it's all over the place. It's not there's not a way to get close, right?

So, we have our 12word seed phrase and we hash it and we get a private key. This actually works. Like we could take this private key box and we could plug this in as our private key and that's going to give us an address and we could we could change this to let's change it back to Jimmy, right? Jimmy is going to be this account but tourist is going to be that account and we're going to get the same thing every time. Back to Jimmy, back to tourist, right? So it's this deterministic way of taking these 12 words and turning them into this private key. And so now the the last thing we would add to this is some kind of um index system, right? So we have tourist one will be that account,

tourist two will be that account, tourist three will be that account and and so this is it's this isn't the exact format, but this is how this is how this system works. We come up with a 12-word seed phrase and then we add an indexing system and that lets us create as many accounts as we want from that one seed phrase. Okay. So now we can kind of just plug this private key in here and we can just create an index system. Okay. Now what I want to do is I want to copy your 12word seed phrase that you sent me here.

Again, never be sharing these things around. Never be copy pasting these things. Very bad idea. NGMI. Here we go. I'm gonna paste it into here as some text. There it is. That is our seed phrase, right? Muscle cram fuel winner. Okay. And then if we do index zero, here is here is the address that comes out of it. There's there's your private key. And there's the address. And hopefully 3C hopefully this is the one that we've been looking at on Ether Scan.

Uh oh. Nope, it's not. What did I do wrong here? >> Is that mainet? >> Oh yeah, that was that was mainet. Good call. See, see this is why >> maybe you can you can also click on the B on the top, right? So you can saw how Yeah. >> Wait, what what was I going to click on here? >> Yeah, I was saying that on either scan if you go like next to your address, you have like a B, you know, you see like a B >> right here. >> Yeah. Yes. So if you look at that, you see like the Yeah. >> Sure. Oh, I didn't know this. >> Yeah, I didn't know that either. B, this looks like an ad to me. When I see this, I like this is someone paid to have this here. My my brain just like totally

ignores that. >> So, just like a >> Now we know Carlos clicks the B. All right, >> Coan. There we go. So, here here is your address, though, right? We were able to put in your 12word seed phrase and index it with number zero and get your account out of there. Okay, here we go. Now, let's do blockchain and let's bring in uh some chains here. I don't know. Let's see if I just do chain. Nope, that's not what I want. It's been forever since I've used this. Oh man.

Chainoop. There we go. That's what we want. Instead of mainet Ethereum, let's go to Kovan. Okay, it'll be a different endpoint. Okay. And now let's look at the balance of this homie right here. And I'm just going to put that on a timer. And there it is. Okay. And and from way, okay, this is another thing that we're going to have to get into is the difference between ETH and Wei. But technically, if you were to ask the blockchain for your balance, it's going to give us this big number, right? And that goes all the way back to the EVM needs to be super simple and it needs to be decentralized. So, it's not going to have floatingoint math. Too long, didn't read. you have this giant number as your

balance, but what you do is you divide that by 10 to the 18. We basically assume that there are 18 decimals here. And that's what this box is doing. And it's telling us that we actually have 049 ether. If you want just a side quest, we we have lots of side quests here. Ether verse way. If you look at ether verse way, you're going to find some good explanations and some nice tables that explain kind of how to do that. Uh like we we measure our gas in guay and the smallest amount is we and buterine really and ether is there. I bet he didn't name that himself.

Okay, there we go. So, uh we were able to find the balance of this dude. Now, the other thing I want to do is look at the next account, right? Let's look at account one here. And it actually has a like it's 460. This is the second account in your MetaMask, right? when you added a second account and we sent 0.5 ETH to it. So if we were to go two here and you were to share your screen again and add a new account, it's going to be that address. And your, you know, 42nd account is going to be that address, right? And if you had 5,000 accounts in your MetaMask, the 5,000th account would be that one. And that's all deterministic using basically a pneumonic and an index.

>> Yeah. Y >> yeah. So that there there it is now. Oh, okay. Let's build a bot that looks for uh seed phrases. Okay. And if it finds a seed phrase, it sends the money to us, right? So let's pull our seed phrase out. Let's get rid of that one. Let's generate a new seed phrase. Okay. Uh and let's just leave it on. Okay. And then the balance is zero, right? And look at this. We can just generate it and it's going to go check. Uh let's actually trigger. Here we I'm going to put a delay in and I'm going to take look at this weird stuff we're doing here and I'm going to go doop doop. So then after we generate it waits a second and then checks the

balance of it. Okay, we have our bot, right? Basically >> let's wait. Yeah, >> let's wait. Okay, let's let's sit here on record until I find some money. Right. Okay. And let's do let's do mainet. Right. We're looking for real money, right? Okay. And every every single developer, and if you're a developer out there and you're not at least a little bit curious about this, you're crazy because every single developer says, "Well, wait a minute. It's only 12 words. I can hash that. I can find a private key. I can get their I can get the keys to everything by just guessing them." And you think you can, but trust me and and go trust Don't trust me. Trust the math. Go do the math. figure out how many uh different

possibilities, how many different 12-word seed phrases there are and figure out how long it would take you to just do this process. Wouldn't it be hilarious if I just like found one just now and had money on it and it just like made us all look silly? But trust me, no one has done that. >> No one has done that. And I'll tell you why. Like we can go look at at uh any of these account. We go look at the zero account or something like that. There's there's a hundred billion dollar bounty that says that you can't break this, right? And so there's a lot even though it's possible, there's a whole lot of things in place in a lot of systems.

Like if you could break this, you could break like RSA and SSL and steal people's credit cards. Like this this is just not you're just not going to find something here. And you can try. You should as a programmer, you should just build a little script that does this just to prove it to yourself. put it on an AWS box, spin up a hundred of them, have them work for a week, you're never going to find anything, right? Okay. Now, here here's where you can find some stuff. If we were to put in our own new mic and we were to say something like, whoa, what's happening here? Oh, I don't want to generate. Oh boy, I'm not sure what's going on here. Let's Hello World.

There we go. Okay, so using the pneumonic hello world, >> I actually can generate an account from that, right? And if we go look at that account on Ether Scan, I'd be willing to bet some transactions have happened. Nope. No one has ever used hello world. Okay. Okay. How about I know someone has used the word love, right? The word love at index zero. Come on. Give me give me some transactions out here. Someone has no what? Okay, maybe I'm doing something wrong. Let's see here. Uh, is it generating? It is generating an account.

That's a private key. Okay. So, short pneumonics though you can create an address. I must be doing something wrong because I know that this I know I've I've like looked up a couple of these and found people. What about just like hello or something? The these are like very insecure addresses. I don't know why. I know there there have been transactions on these. I don't know if I'm doing something wrong. I wonder if it's not allowing I square.

Let's Let's go see how would we see transaction address. Yeah, we would see it on Ether Scan. I don't know why. Maybe we should send Okay, let's we send a little money to here and see what happens. It should get like drained immediately, right? That was the other thing is if we posted our 12word seed phrase into GitHub, how long it would take. I bet we could I bet we could find out how long it would take if we wanted to see that. What uh let's see, let's anything else we need to cover today? Like let's let's check our topics here. Custodial versus non-custodial, right?

Go ahead, Eda. >> Yeah, I was just going to ask like for me it was confusing like there's a seed phrase, then there's also the private key. Like the most important thing is like your pneumonic, your seed phrase. Like that's like one way. You can't go the other way around. >> Exactly. Like from from the pneumonic is derived the private key and from the private key is derived the public address. Yep. And but like your private key and your pneumonic are just as sensitive. Like don't share either one of those things. Right. If you share your private key basically that one account is hosed. If you share your whole pneumonic all the accounts under that are hosed. So yeah either way both the private key and the pneumonic are very very sensitive.

But the but the MetaMask password not as sensitive, right? That's just on your machine. Okay. Go ahead. Sorry. >> Oh, I was just going to say like especially like when you're doing like applications, you usually add your private key. So that's not the seed phrase, but it is as important to get that and like keep it safe. So don't also push that to GitHub. >> Right. Exactly. You're saying like when you build an application, you'll import the private key to sign some transactions. But if you ever go use an application, if you ever go online and you're like at a DEX and you're trading things and it says paste in your private key, >> don't do that. Never put in your private key anywhere except for that one spot in that one MetaMask when you're doing an import that one time when you're

bringovering your account. That's the only time you should ever be moving that pneumonic or private key around. >> Cool. >> Yeah, exactly. I meant like on your own Visual Studio Code like nowhere else like >> Yeah. Yeah. >> Not. >> And even when you're doing that, let's say that you have an account with money in it, like we've generated these two MetaMask accounts. When you're talking about putting in an account to go do something, a script, maybe you have a script that's going to send one ETH every month to some savings account or something like that. Don't use your private key. Go generate a new one.

Knowing that it's so easy to create a new account, you should be creating new accounts for every new thing. So if you have a new script that you're going to run, don't copy paste your private key from MetaMask into that script and use it directly. Generate a new private key and it's really easy to generate a private key. Like there there's a ton of little tools that'll do it. ETH build will do it. You can do it by just putting in 64 random characters. You as a human are not good at that uh in terms of putting in randomness. But if you're writing a script, have the script generate a new pneumonic. Have the script generate a new private key. Have the script generate a new address. send from your good address to that address a small amount of money and if that happens to get pawned in GitHub or

something like that, it's you're not going to lose everything. You're just going to lose that deployer account's address. Does that make sense? >> Okay. Custodial versus non-custodial. Yeah. Go ahead. No, you go. >> Yeah. Like never you like I don't think anyone should ever use their like a real wallet for testing. Like don't use that for like building test applications. >> Yep. I do all the time and it's a it's a terrible practice and I'm gonna get hosed one of these days, but I use like Austin Griffith. Someone someone So like there's lots of builders building like dexes and multi-igs and token vendors through the speedrun Ethereum and I'm always clicking into those and flipping to rinkabe and making transactions with my main wallet. And that is very very

bad practice because one of those days, one of those one of those things that someone sends me is going to be a mainet transaction to send them all my money and I'm gonna go boop boop boop boop boop boop boop and then we go oh what what did I just do and it'll be gone and that I will look like a fool. But don't do that. Use a new just like we set up a new meta mask. It's really easy to set up a new metam mask. Set up a dev metam mask and have it in a different browser and use that for your development stuff. Cool. Cool. Cool. Okay. We we should get to custodial versus non-custodial, right? There are ways where you can hold Ethereum and you can not be in control of these private keys. And a lot of people will do that to start off. Something like

Coinbase where you can hook up your bank account to Coinbase and get Ethereum. You can move your money to Ethereum, but there's this saying about not your keys, not your coins, right? Yeah. And and so in this case, what's happening is you're there is Ethereum there, but Coinbase owns the key pairs and they have a little entry in their database that says Carlos has $5, right? And so they have a million dollars over here in this one account and they have Carlos has $5 in their database. And if something goes wrong and that database gets overwritten, someone messes with it, someone tinkers with it, someone changes it to $2, there's nothing Carlos can do about it, right? Carlos can say, "Hey, I

had $5 yesterday. Now I have $2." And they just say, you know, not gonna make it. Like that's sorry. Sorry, bro. We changed it in our data, right? And so if you own your own key pair, no one, it's yours, right? No one can ever guess it. No one can ever take it from you. It's your key pair. And if you lose it, you're completely hosed. So there is like this kind of like responsibility that you have around owning your own key pairs. And at first it's fine, put a hundred bucks in Coinbase, put a hundred bucks in some centralized exchange just so you like understand how things flow. But in terms of keeping your own money, once you're confident and you understand this

pneumonic and how these private keys are generated and how to take care of them and be secure, then that that's where you want to kind of have your ETH is in your own custody. you need to custody your own keys, but not until you're ready and you're safe. And by the way, like even putting them your money there is probably not the best way. There's better ways to store it. And we'll get to like contract wallets and hardware wallets. I mean, we'll get to probably we should probably just talk about those now. Maybe maybe we should get into that. But what am I am I hammering this home good enough with the custodial versus non-custodial stuff?

>> Yeah. Yeah, I mean like one counterpoint to into that is like like Eda said before like um there is like no customer support of MetaMask. So if you lose like your seed phrase like you're done. I mean, you don't have your funds anymore because I mean, if if you put like your money in a centralized exchange like Coinbase or Binance or whatever, of course, it's like it's not your keys, so not your coins, but they are centralized, which means that if you lose your password or something like that, and I bet that you can, you know, like tell them, you know, like I lost my password and they they will like verify like your identity again or whatever and they will recover your account. But you

know if you have like your own keys if that happens you can't call anyone you know Metamas or a friend can you like can I recover my fans that I lost no sorry so so you have like to be like super conscious about about that you know about the security of your keys because you are like 100 responsible of of your keys and your and your coins and your wallet. So just like be careful about that. basically a database, right? A custodial a custodial solution has your account in their database and a non-custodial solution is stored onchain and it's using key pairs and it's using ECDSA math, right? And so if if they lose it, something goes wrong. Uh Mount Gaus, if you want to look up Mount Gaus was is a

famous centralized exchange that had everyone's basically a couple key pairs and everyone's accounts in databases and someone hacked it. someone got those main key bears and took all the money and so that was it, right? So if you had your money on that centralized exchange, it's gone. And you can go to customer support and be like, "My money's gone." And and they will be like, "Everyone's money is gone and we're host like we're moving out of we're moving to Mars because we don't want to be in charge of this anymore." So there's there's also this like existential risk that their security can get hacked and everyone's money can get lost. So that's another kind of thing with custodial accounts.

But it's fine if you're just getting started. If you're not quite confident enough yet in your own abilities to take care of that 12word seed phrase, it's okay to have a couple hundred bucks in a custodial solution just to get you started and just to get you understanding like kind of kind of how to how to go. So, one more question. How can you get like money into your MetaMask account if you don't if you want to use like a central exchange? Is there a way to get like money directly to your MetaMask? >> What's really I mean what's really cool is you can earn ETH, right? You could go do a bounty on Bitcoin and you can earn ETH. You can go do uh you can make some art and upload it to OpenC and earn ETH.

So there's a lot of like utility to using ETH and earning ETH just directly like you can earn currency to an address that's never had some. But let's talk about ramping. I think what you're alluding to is how do I get money from my fiat bank account uh you know cash in my hand. So first of all there's like there's an ATM machine at the gas station that takes cash and gives me back Bitcoin and Ethereum. So there's like these all around, right? So you could technically just like use one of these stations. super weird, but like that's that's pretty awesome that that's like out there. But I would say uh a lot of good places to get started, not only with how do I get ETH, but how do I get a wallet?

Uh ethereum.org has great resources for that. And let's see if we can find it in here. Uh let's see, use Ethereum, Ethereum wallets, and oh, get ETH. Second thing there. Okay, so how to buy ETH? there's going to be a bunch of centralized and decentralized exchanges. Uh, and basically you put in fiat, you put in uh uh some some amount of USD or or some currency and you get back the currency. But again, all that's happening there, this is a custodial solution. You're saying, I I would like to put some money from my bank account into Coinbase and I would like to get some Ethereum. All that's happening

there is they're making some changes in their database. They're saying, "Okay, he he he doesn't have this USD anymore, but he has now this Ethereum, and it's just a change in a database." Until you get out to the decentralized exchanges where you're actually exchanging tokens for ETH or or uh uh the opposite. So, two things here and and we haven't really explored the wallet space very much. We should probably explore the wallet space a little bit. Basically, all we've talked about is uh MetaMask, and there are so many other cool wallets. Uh so so take some time to explore all the wallets. But yeah, so MetaMask is just one of them. And another favorite, man, there there are too many wallets to choose from. And I

told my buddy Sam about this. He needs to trim this down a little bit. But the other one that I want to look at is Rainbow. And this is just a beautiful wallet on mobile. You you have this uh really kind of great experience. It's going to be the same thing though. When you go to set up a rainbow, you'll put an app on your phone and it's going to give you a 12-word seed phrase. And you'll do the same thing with that 12-word seed phrase. Put it in a sock bar, put in a password manager, do something creative with it. But make sure that you can destroy it and bring it all back again. And make sure your accounts exist again. Like prove to yourself you can recover it. But it's going to be the same process in all of these wallets. Probably a little

smoother in Rainbow than some because they do focus on user experience. But you'll download an app, you'll generate a 12-word seed phrase, and then you will have this uh this awesome mobile wallet. Same thing with uh kind of I don't know if we can just like pick a random wallet here. So So get a Coinbase wallet is another one. You can probably have a wallet coming out. Uh this is leading us to something I've been alluding to a little bit is smart contract wallets. So um I'm kind of on the fence about hardware wallets. We we should probably talk about hardware wallets real quick.

A hardware wallet is like this little I probably have some laying around here somewhere. It's like this little device. There we go. You You have this little device and on that device lives your private key pneumonic and the device holds it and it should never leave the device. Like your your private key and and a 12-word seed phrase, whatever is on that device will just stay there and never leave. Uh, but you'll send transactions to it. You'll type in a little code and then it will sign the transaction and send it back to your machine. You can use airgapped things.

There's all sorts of like crazy secure things you can get into. But just know that like hardware wallets are an an available thing. The the user experience is just not that great with a hardware wallet. You you'll hook it up and it'll it's just kind of a pain in the butt to make transactions. It's good to have a nice cold wallet that's a hardware wallet that you can go to if you need to bring in some funds, but if you're making like 20 transactions a day or 100 transactions a day like I am, like you don't want to use a hardware wallet for all of those transactions. Uh but safety like where where okay so going knowing knowing that no matter what wallet we choose here there's still this existential risk of this 12word seed phrase either leaking or getting lost

and all of our money being gone forever. How how do we cure this like existential threat? And and the answer is smart contract wallets or the current answer, right? The the best fix to this user experience is we're we're getting into Ethereum. We're learning smart contracts. We'll learn a lot more about this later, but you can deploy a smart contract and that contract has an address and that contract is your wallet. And what happens is there's there's rules built into that contract that say if you want to send money out of this wallet, you need to have two out of three signatures from two out of three accounts or three out of five or five out of seven or five out of 11, right? What you can do is create a

multi-IG where it takes many different accounts to coordinate together to send that money. And the two leading uh smart contract wallets are the Nosis safe and an argent. And an Argent is more like this is this is my wallet on my phone. And the recovery method is through these things called guardians where I could set Carlos as a guardian. And then if my Argent if I drop my wallet in the toilet, that's actually happened. I've actually lost my Argent wallet before because I destroyed a phone. And what I did was I got on there with one of my uh uh guardian accounts. I think even Argent will be one of your guardians.

And I said, "Please recover." And it's not like a guardian can a guardian can't steal your money. It's programmed into the smart contract that no one can steal your money, but what they can do is reset it and have it sent to a new wallet. And that's what I did. I regenerated a new wallet. I had it reset. There's like this grace period where that had the time period had to elapse. And once all of that happens, then it's written into the smart contract to be able to recover it to a new account without anybody stealing it. So, so that's kind of like this this help for this existential threat of man, this this seed phrase is scary. Keep your seed phrase, but have a couple of accounts, have a couple of accounts with a couple of seed phrases in a couple of different places and have those on a

smart contract wallet. So, so your life savings is not on this 12word seed phrase. It's actually in, you know, a diverse portfolio that contains some Ethereum. And in that Ethereum, that Ethereum is stored in in a smart contract wallet or somewhere safe where you can recover it if you lose, you know, one of those those pneumonics. You can go to the other ones and you can recover it. Am I am I explaining all that correctly? Alpha wallet's another fun one. What am I missing here? What have I what holes have I left in this explanation?

It's kind of like a multiffactor authentication for your wallet. I feel like when you have like a second signer or second process >> and that's what it feels like a lot of times when I have my multisig. I have one account on my phone and one account on my desktop and I have a two of three to send out scholarships from the build guild. When I go to send to someone, I'm like I orchestrate the send on my uh desktop and I get it all the way ready to send and then I need that second signature. Then I pop in with my phone and I make that second signature and I send it. It feels exactly like two 2FA.

Yeah, it's it's very similar. Yeah. Okay. So, you've got lots of wallets here to dis to discover on Ethereum.org. In fact, you have too many wallets to discover, but there are wallets out there. Uh and and then getting ETH, right? Getting ETH comes down to finding uh an on-ramp. There's tons of Let's just search for Ethereum onramp. What's going to happen? Who Who's got the best SEO in the space? Ramp.network does. Congratulations, ramp.network.

[Laughter] You will be featured in our web two to web3 curriculum. So, what do we want to buy? We want to buy some ETH. Okay, let's go. Uh, there we go. And I'm going to put in some USD. And it's probably going to like bring up a credit card transaction here. I I don't want to go any further, but this this is basically what's going to happen. you you will ramp some of your funds in using some other method. I wouldn't recommend using a credit card. Goodness gracious, the price of Ethereum is all over the place. Don't don't don't max out a credit card or something like let this come like basically what I use is Coinbase and I use Coinbase from my bank account and then from my Coinbase I send it into my a multi-IG wallet that I

have a SER on my brother has a signer my wife has a ser like that's like it's it's very distributed and if I die they can recover it uh if I lose my wallet we can get together and we can recover it. So that's that's that's the combination of these two things that I would use, right? You you use some kind of fiat on-ramp that's custodial, but you just go through that and you end up at a non-custodial solution. And the best place to end up is one that is like a multi-IG that it's like a smart contract wallet that's that's more secure. >> Yeah. But also like if you are like starting out like it's okay to have like metam mask with $100 and and you don't need to worry about multiig or anything because maybe it's like too much for for people that are starting out you know so

you're fine with using like metam mask at first. >> Totally. I'm like I'm I'm overindexing on the multisig only because I wanted to like share that the this ex existential threat of this 12word seed phrase getting lost is kind of scary. Don't worry, there are better solutions. But you're right, just have a MetaMask and just start with a Coinbase. Like straight up, like >> my buddies that are just learning about Ethereum, it's like they're like, I want to stake ETH and I want to, you know, use DeFi. And it's like first get a wallet and have money on the wallet and be able to send money around. And that's what we did today. And use Ether Scan to to verify it, right? Like that's don't worry about all this like super heavy

security stuff at first. just get a hundred bucks in there and figure out how to send it around. And I think our next video will explore like how to use this wallet. Now, now that you have a wallet and you have ETH, we'll explore what we can use that for and how to interact with some apps. But just get a wallet and send ETH around and have a couple of accounts and have that 12-word seed phrase and prove to yourself you can recover your wallet from your 12-word seed phrase and just like be able to send it around and get started and don't don't be afraid of, you know, all this other existential stuff. Just get it and use it and send it around.

We're just trying to be a power user here. And to add like I started like that as well like I just like my account on a centralized exchange like Coinbase and then I wanted to buy an NFT which you couldn't do do there. Um so that's kind of how I set up my first MetaMask and as you saw like it was you know 10-minute procedure. >> Awesome. Yep. Exactly. And and we went through it and we've exposed this 12word phrase that we probably need to destroy. I'm checking the notes. Do we have anything else? the the idea that in a theory hopefully that it resonates with folks that the idea of creating an account is just generating a large random number like thanks to ECDSA key pairs this is a permissionless process

anyone can create as many accounts as they want you can sit there for the rest of time creating accounts as fast as you want like that's fine the system works and that's how this works so don't be afraid to create an account go out there create a MetaMask, get a rainbow on your phone, explore some of the other wallets, figure out how to send ETH back and forth. If you don't want to pay the transaction fees of mainet ETH, go to a test net, grab some testn net funds, send those around. Just uh uh understand what it's like to custody your own keys.

Understand the process of sending money uh to and from a wallet. Understand how accounts work and and stuff like that. Uh, understand how to protect your 12-word seed phrase. Understand that technically someone could brute force it, but they won't in our lifetimes. That's another I I bet some some nerds out there are going to say, "What about quantum quantum math?" Yeah. And it's like not anytime soon. And and as those new things come out, they will be built into these systems. And there will be a new, you know, I also not a gigabrain. I am not a genius. I don't I do not know how this is actually going to play out.

But we have these systems of coming to a consensus and as quantum math improves, these systems will also improve to include those things and become quantum resistant. I don't know what that actually means. That's why I'm putting these quotes around. >> Neither do I. >> I think we did it though. I think we created a wallet. We sent around ETH. We showed Ether Scan and how you can uh you know go to a disinterested third party. Hopefully you at home are not afraid of setting up your MetaMask. Hopefully you can go do that now. Go to is it metamask.io? What's the ethereum.org?

>> Yeah, ethereum.org is the place to start. And you could go to to these other places. Also, ethereum.org is hard to spell. What? What? Yeah, metamask.io. Me-.io. And watch out for MetaMask. If you if you type MetaMask into Twitter, you're going to get hit with a bunch of bots that are going to pretend like they're MetaMask support. And eventually they're going to ask you for your seed phrase or your private key. Never share that stuff with anyone. Don't do like we did on this call. We just wanted to show you. Never expose that information to anyone. That needs to stay private.

Good job everyone. Go create your wallets. Go get some ETH. Go get some test net ETH. Uh I don't know. Anything else? Any closing thoughts on creating a wallet? >> I think it's time to start. Yeah. >> Go get it. You you out there watching this, go create your first wallet and get some ETH in it either from a test net, create another wallet, send it around, back that seed phrase up, then destroy everything and recover from that seed phrase and make sure you get your account with your money. And if you can do that, you're ready to get started uh becoming an Ethereum power user. And that's what we're here for. Awesome. All right, see you guys next time. Thank you

for doing this. Thank you.

Related talks