audio
audioduration (s) 5.06
30.7
| text
stringlengths 75
434
|
---|---|
everything, we desperately need to move to a world where some self interested centralized entity can't flip a switch and ruin people's access to the services that they need. We can move away from a world that is brand based to a world that is math based. Right now, if you interact with a service that you |
|
don't like, or that they break their promise, the only thing you can do is walk down the street to the next service that's going to make the same set of promises. And you have to hope and pray that they're actually going to keep it we can move from that to a world where we can just look at the map and say, oh, okay, one plus one equals two. This is what this |
|
agreement is going to do for me every single time guaranteed, because it's a decentralized autonomous agent has no incentive to be evil, and everything is transparent and out in the open of a big company. And if it was better for me for one plus one to equal three, maybe I would go behind |
|
some closed doors and flood some numbers and come back and be like, hey, one plus one equals three with smart contracts. That's impossible. Doing the right thing is infrastructural now, given the choice between two agreements, one where you have to trust a single centralized entity that they're |
|
going to do the right thing for you, versus a decentralized untampered double collective, which one you're gonna choose. I'm picking the one that can't screw me over every single time. For every agreement I can apply it to now this technology is relatively new, but we have |
|
already seen it relandscaping entire markets and continue to do so the traditional financial world is already getting its lunch eaten by defy or decentralized finance. There's already over $200 billion of people's money in these protocols to help have a more fair, more accountable, more |
|
transparent financial system. This defy movement is one of the main reasons I got into this space because we desperately need to move away from where we are right now. And and people's chances for wealth being sucked up by some group that's bending the rules in their favor and smart contracts are our ticket |
|
to that better world. More and more industries are also coming over to smart contracts and blockchain because of all the innovations and because of all the advantages that it has as we grow and as we get better as we get closer to this vision of having this concept fulfilled, trust minimized agreements. |
|
These smart contracts are minimizing the trust that we need to give other people in order for these agreements to be executed. If trust minimized agreements is too confusing for you just say unbreakable promises. Now I gotta be honest with you guys. blockchains and smart contracts and cryptocurrencies can actually do more than just trust, minimize |
|
agreements. They have security benefits, uptime benefits, execution, speed benefits, and a whole lot more. But it's a lot easier to just learn about one and learn the other ones later, right. It's kind of like sprinkles on top. So this is why we are here. This is why we're building this future and this is why we are so excited about it. |
|
Even in just this introduction part, we've learned a ton. So let's do a quick summary of what we've learned so far. Bitcoin was the first protocol to take this blockchain technology into the limelight and take these cryptocurrencies into the mainstream Bitcoin is a sort of digital gold or a store of value |
|
able to make transactions between users in a decentralized manner. Aetherium and other smart contract platforms take this blockchain technology one step further, enabling people to make smart contracts and decentralized trust minimized agreements, the smart contracts and decentralized applications |
|
can access and interact with the real world using something called decentralized Oracle networks. chain link is a decentralized network that allows us to build these hybrid smart contracts, which combines our on chain logic with our off chain, decentralized data, and decentralized computation, |
|
giving rise to our logic being completely decentralized, and our data and external computation being completely decentralized, giving us all the features that traditional agreements and traditional contracts have. Now these digital currencies like Aetherium, and Bitcoin have value. Even without the smart contract part, having a |
|
censorship resistant, decentralized store of value is naturally powerful in its own right, we have some links in the GitHub repository that will teach you how this decentralized store of value flips traditional finance on its head. And it's another one of the great reasons for building smart contracts. But again, the easiest way to boil it down is trust minimized |
|
agreements, or unbreakable promises. But let's also go into some of these other features that smart contracts have over our traditional environment. The first feature, of course, is that they are decentralized. And they have no centralized intermediary, the different individuals that run one of these blockchains are known as node operators. And it's the |
|
combination of all these 1000s of node operators running the same software running these algorithms running these smart contracts that make the network decentralized. We'll dive deeper into how that works later. The next feature is transparency and flexibility in these decentralized networks. Since |
|
all these individual node operators run the software, everybody can see everything that's happening on chain, meaning there's no shady deals, there's no weird things happening. Anything that's going to be unfair, people will be able to see and just not use, everybody has perfect |
|
information and has to play by the same rules. Now additionally, this doesn't mean that there's no privacy, the blockchain is pseudo anonymous, meaning that you aren't necessarily tied to an identity in real life, they also have the feature of speed and efficiency. For those of you who have ever |
|
tried to do a bank transfer or send money across seas, you know, it sometimes can take two to three weeks, when in fact, all these banks are really doing is basic math. They're subtracting money from your balance and adding it to some other balance. Why does it take so long, in the blockchain, all |
|
of these transactions happen instantly. Another instance for those in the financial world today know that clearing houses and settlement days can take a long time. In the blockchain, there's no need for any of that, because they happen instantly. This obviously is much quicker, but it also makes for much more |
|
efficient interactions with each other security and immutability. Again, immutable means that it can't be changed. Once a smart contract is deployed, that's it, whatever is in the code is going to be in the code forever, they cannot be altered or tampered with in any way. This means that the security is much easier. |
|
Whereas in a centralized world, somebody can hack into the server, jump into the database and change some numbers. You can't do that in the blockchain world. And since it's decentralized, in order to hack the blockchain, you'd have to take over half of the nodes as opposed to in the centralized world, where you only have to take over one in the regular |
|
world. If your computer and your backup computer go down, all of your data is gone. In the blockchain world, if your computer and your backup computer go down, all your data is safe, because it's being run on all these other decentralized nodes. And even if a few 100 nodes or a few 1000 nodes go |
|
down. It doesn't matter because as long as one node has a copy of the blockchain, you're good to go hacking a blockchain is nearly impossible, and leaps and bounds more difficult than hacking a centralized server. Not only that, but this is safer in the asset sense as well. All you need to access your |
|
credentials and your information in your assets is your private key. Which is basically your password for all of this. And as we've discussed in the video, the smart contracts remove this counterparty risk, remove this centralized intermediary, remove these trust gateways that we have to do in web two. When we |
|
engage with users and individuals, they don't always have our best interests at heart smart contracts, remove this counterparty risk, because once one of these contracts is created, they can't go in and they can't alter it. And they can't let greed or ego or anything else, get the better of them and alter the terms of the deal. And as we said, this gives |
|
rise to these trust minimized agreements or these programmatic unbreakable promises. We move away from brand based agreements to math based agreements, where we can look at the cryptography we can look right at the code and see exactly what something is going to do and how it's going to execute, versus having |
|
to rely on a human being doing the right thing with smart contracts and decentralized hybrid smart contracts. Doing the right thing is infrastructural all these pieces boil down to us having the freedom to interact the way we want to interact without having to be afraid that interacting |
|
like that is going to screw us over this trust minimized piece, these unbreakable promises, make interactions so much better. In a purely web two world, we're constantly bombarded with messages of projects and protocols pushing us to move or act in the direction that makes them more profitable. Versus in |
|
the smart contract space, we can see everything transparently. And we can even engage in interact and be partially owners of the protocols and the interactions that we decide that we want to be a part of. So smart contracts have |
|
been around for a few years now. And what did they generate for what industries have come about due to these smart contract platforms being around? Well, you've probably heard of some of these and some of these we've already mentioned, but let's give you a quick refresher, d phi d phi stands for decentralized finance. And it gives users the ability to |
|
engage with finance and markets without having to go through a centralized intermediary. For example, like we said, with Robin Hood, you no longer have to trust that Robin Hood would continue to give you access to the markets, you instead would be able to see in the smart contract. Yes, I have access to the markets or in the 2008 financial crisis. You never have |
|
to trust that these groups and institutions are giving you the correct things on the back end. You can see everything transparently right on the blockchain, you can engage with things like money markets and sophisticated financial products easy effectively and securely at the time of recording. defi has |
|
around $200 billion in assets under management and is quickly growing. If you're really excited about defy we have a ton of defy examples showing you how to build and interact with these protocols. In coming lessons. Dows or decentralized. autonomous organizations are another group that we've already |
|
mentioned. Dows are groups that are governed completely decentralized by a set of instructions or smart contracts on chain. There are some massive benefits here where engagement is much easier. The rules are black and white. And you can see everything directly on chain voting and governance technologies completely decentralized in the blockchain |
|
space is one of the big ones pushing how we can evolve politics and how we can evolve governance to make it more efficient, fair and reasonable. And you better know it, we have some examples of how to build Dows and how to work with Dows incoming lessons. So be sure to watch those NF T's Stanford non fungible tokens and can really be kind of described as digital |
|
art or just a unique asset, they can do so much more, but we'll keep it high level for now. Projects like board apes and crypto punks have revolutionized the way that people get paid for their work, show off their creativity, status, and so much more. And yes, of course, we have lessons showing you how to |
|
create and interact with NF T's as well, so many other groups and so many other industries are being created as a result of this insane technology. And maybe after finishing the journey with us here, you go out and you'd be the one to pioneer the next industry or the next billion dollar idea you've |
|
learned so much already. But now that we've learned a lot of this high level information, let's finally jump in, and let's make your first transaction and let's get you set up to interact with this new world. In this next section, we're going to get you a wallet and we're going to show you exactly what a transaction |
|
looks like and feels like. Let's dive in. This is the Aetherium website aetherium.org We are going to make a transaction on a test Aetherium blockchain I'll explain what that means in a |
|
little bit. This is going to be our first transaction that's made on the blockchain. Now again, this process that we're going to follow is going to work the exact same with polygon, avalanche Phantom and all these other EVM compatible blockchains. I'll explain what that means in a bit too. For |
|
now, just follow along and have fun in order to make a transaction on any of these blockchains. The first thing that we need to do is we need to set up a wallet. So I'm gonna go ahead and go to meta mask because it's one of the most popular wallets and one of the easiest to Use, we're going to |
|
go ahead and download it. I'm using the brave browser, but it works for Chrome, Firefox or really any other browsers. And it's just going to be a little extension in the top right hand of your browser. This way, we can really easily see it any times what we have in our wallet, will still are all of |
|
our Aetherium based currencies. So I'm gonna go ahead and install meta mask for brave, add to brave, add extension. And now we can go ahead and get started with working with Brave, this is the first step you absolutely need to take when starting your journey and one of |
|
the easiest steps to take. So we're gonna go ahead and get started. And we're going to create a brand new wallet. So we're gonna go ahead and hit create wallet. If you already have a wallet, you can actually import it via I have a seed phrase, and we'll talk about the seed phrase or secret phrase in |
|
a little bit. So let's go ahead and create a new wallet. And sure, we'll agree to help out Metamask now we will create our password make sure that this is really secure. For the purpose of this demo, my passwords are just gonna be password. But please don't have that be your password. You may also get a |
|
video like this teaching you about your secret recovery phrase. This is the same thing as your pneumonic. But see your recovery phrase is a lot more clear as to what it is. And again, to give us a ton of different tips on how to actually store it and keep it safe. The main takeaway from |
|
this is never shared this absolutely never shared this. So we're going to go ahead and click reveal secret words. I'm showing you guys here because this is just a demo and I don't really care. However, if you show this secret phrase to anybody else, they will have access to all the funds in your |
|
application. So everything that we're going to do in this tutorial, we're going to use fake money, we're going to use not real money, so it doesn't matter. Now for the purposes of testing and developing, I always recommend using a completely separate meta mask, a completely separate Wallet. So for going |
|
throughout this entire course, if you already have a wallet, or if you already have a meta mask, please just set up a new one, create a new profile, create a new meta mask, and this will be your wallet that you use for the duration of this course. However, if you're going to actually put money in here, you absolutely need to have this written down. Because if you |
|
lose access to this, and all your private keys, which we'll talk about in a little bit, you will lose access to your wallet, and you will lose access to all your funds. So they give some tips like store this phrase and a password manager like one password, write this phrase down on a piece of paper, put it in a secure location, memorize it, whatever you want to do, just |
|
make sure you have this backed up somewhere, I'm just gonna go ahead and hit download this for now, it's not best practice to save to your computer, it is much better to use a password manager or write it down on a piece of paper or something. So we're gonna go ahead and hit next. And it's going to ask us to verify that we actually have it written down. And we're gonna |
|
go ahead and hit confirm, and great and gives us a couple other tips. Remember, definitely take these tips very seriously, especially if you're gonna use this for real money. Like I said, For this demo, we're just going to use test money. So it's not as big of a deal. But if you put real money in, you absolutely need to backup this seed phrase or secret phrase or |
|
we're going to refer to it as our pneumonic phrase. Awesome. Now we can see the interface of our wallet here full screen. And depending on your browser, you can actually come up and pin it to your browser so that you can just click it up in the top right, and it'll drop down and you can see the same interface |
|
here our pneumonic phrase that secret phrase, those that secret 12 words that they gave us have given us access to a new account, the address of our account is located right here. In fact, if we click it and copy it to our clipboard, and go to a |
|
tool called a block explorer called ether scan, we can actually paste our address in here and see details about our account. Ether scan, like I said, is what's known as a block Explorer. And it's a way to view different addresses transactions and other happenings that happen with a blockchain. If we look at |
|
this address that we just created on ether scan for Etherium main net, we can see no transactions have happened. There's really no analytics, there's no comments, there's no balance, there's no value, because it's a brand new wallet, and this address that we just punched into ether scan |
|
represents our unique address our unique wallet only identifiable for us. We'll talk about ether scan a little bit more in a bit because it's a tool that we're going to use quite often in wallets like meta mask, you can actually even click right here and create even more accounts. So let's go ahead |
|
and create a new account. We'll call this account two. As you can see, this one has a different address. So if we click this one, we go back to ether scan. We paste the address in here. We hit Enter. We can see another address again that's |
|
uniquely identifiable to us, right here. It is zero balance, no value, no transactions now If we go back to our Metamask, and we click the little button, we can see we have two different accounts in here, it's the same. If we hit the extension in the top right, click the button, we have two different accounts. The |
|
12 word secret recovery phrase allows us to create multiple accounts, all with the same secret recovery phrase. So that secret recovery phrase will give us access to both account one and account two and any other accounts that we create by |
|
hitting this Create Account button, because it gives you access to all the accounts in your meta mask. Now, these addresses of both of our accounts are the public unique identifiers, but they also have a private unique identifier only |
|
identifiable to us. Similar to the pneumonic, these are private identifiers we never want to share and we never want to give out their private This is known as your accounts private key. So the mnemonic will give you access over many of these accounts, the private key will give you access to just one of |
|
these accounts, we can see it by hitting these little three dots, going to account details and export private key, you'll just have to punch in your password here. And you'll be able to see your private key. This is going to be your private key for your |
|
account, you can think of your private key as a password for your account that lets you create transactions. Now the reason that I'm showing mine on screen is because I'm not going to put any real money in here. And this is just going to be a burner account for this tutorial. And I highly recommend |
|
once again, you use a burner account, you use accounts that you never put any real money into. And along the way, I'll show you how to make sure that you don't do that. But normally, it's not a good idea to show or share your private keys or your secret recovery phrase, if somebody gets a hold of this |
|
private key, they will have access to my account one. However, they won't have access to my account to if they get a hold of my 12 word recovery phrase or pneumonic they'll have access to both accounts. And this is why when people say keep |
|
your private keys safe, your keys, your Bitcoin, your keys, your Aetherium, they're talking about both your mnemonics or your secret recovery phrases. And your private keys keep those private, your public addresses are totally public. And anybody can view your accounts on something like ether scan, or |
|
any other explore. And it's totally okay for people to share their public addresses. If you lose your private key, you lose access to one of your accounts. If you lose your mnemonic, you could potentially lose access to all your accounts. Basically, what I'm trying to say is back these up and keep them in safe |
|
places for this course it's okay if you lose one, since we're not putting any real money in them. But in the real world, be sure to do this. And great. Those are some of the main security considerations here. Now, if you look up in the top right, right next to that account button that we've been clicking, you also see this thing saying Etherium main net, this is our networks |
|
tab. And if we click it, we can see a list of all the different networks that we currently have access to a Etherium main net is the main network of Aetherium. And this is where real money is spent and used for transactions. For this course, we're not going |
|
to be working with the Etherium main net, we're instead going to be working with something called a test net. Since we're engineers, oftentimes, we're going to want to test and see what our code is actually going to do and how to interact with it. We're going to use a combination of local networks |
|
and test networks to actually do this to actually test our smart contracts. We're mainly going to use local networks. But we'll get to that in a little bit to see some of the test networks that come default with meta mask, we hit show slash hide test networks, this will bring us into the settings page. And |
|
we just hit select this to show test networks in the list. And we just hit on Now if we scroll back up, we'll close out of the settings, we hit the network's tab again. Now we can see all of these other networks here like ropsten, Koven, Rinkeby, and |
|
Garelli. These test networks or networks that resemble Aetherium, or polygon, or Avalanche or phantom or any of these other blockchains. And we can actually switch our accounts to one of these other test networks. Let's click rink B, for example, we can see that on the Rinkeby test network. We |
|
also have zero Aetherium we have no money or nothing in here, we have a blank Rinkeby wallet. These test nets work nearly identical to how Aetherium main networks except for they run with not real money. They run with fake money as a way for us to learn and interact and see how these different smart |
|
contracts actually work together at the time of filming. rink B is one of the most popular test networks along with COVID. So we're going to work a lot with Rigby In this tutorial, however, be absolutely sure to check our GitHub repository to make sure |
|
that you're always up to date with the best test network for following along with the tutorial here since their test networks people are running them out of the goodness of their hearts. And sometimes the best ones actually change so, so be sure to follow along with the GitHub repository. We might also |
|
use COVID From time to time or maybe even Grilli. So we're going to show you how to use a couple of these different test nets. In fact, if we go to the GitHub repo associated with this course, we can see recommended test net is indeed currently ranking. So that's what we're going to work with should this |
|
change, you should be able to follow along with another test. And we'll leave notes as to how to continue. Now what we can do actually is we can go to Rigby ether scan, we can go to, you can look up Rinku ether scan, and it looks like it's the first thing that shows up Rinkeby dot ether scan.io, we |
|
can punch in this same address, copy and paste it. And we can see some of the details of this address on the Rinkeby ether scan. Like I said, right now, it's totally blank. This networks interface later on is also how we're going to be able |
|
to work with polygon, avalanche, etc, we'll just have to add networks. But we'll get to that in a bit. And just to reiterate, test nets are free and for testing our smart contracts and main net networks cost money and are considered live. Now I also do want to put a caveat here that we do want to keep in mind |
|
that these test nets are being run at the goodness of people's hearts. So we don't want to abuse them, we want to use them to learn and then move on. So try not to send a billion transactions on one of these test nets. In fact, what we're going to do right now is we're going to send a transaction on |
|
the Rinkeby test net. And this will show us exactly what it would look like on a main network. In order for us to simulate one of these transactions, we're going to go to what's called a faucet. And if you go to the GitHub repository associated with this course, right underneath the |
|
recommended test net is going to be a test net faucets, which is going to show us where the most up to date faucet location is for us getting test net Aetherium. So here we are at faucets dot chain dot link, which again is the recommended faucet, and what we can do is we can actually put our wallet |
|
address in and get some test net link or test net Aetherium. Now what we are gonna have to do is we are gonna have to connect our wallet to the Rinkeby network. So we're going to come down, we're going to switch from COVID to Etherium. Rigby, and then |
|
we're going to make sure our meta mask is on the Rinkeby test network here. Once both of those are set up, we're gonna go ahead and hit Connect wallet. And we're going to choose meta mask. Once we do that, our meta mask is actually going to pop up and say would you like to connect to this website, connecting to a |
|
website is how we give these websites in interface to interact with our wallets and interact with our meta masks. Don't worry, we're not sending any transactions like this, we'll get to that in a bit. So we just we can pick an account we want to connect. Let's choose our account one, we'll hit Next. |
|
And then we'll go ahead and connect. Now that we're connected, we can actually see our account connected up here. And that little warning is now gone. And our wallet address is automatically placed into here, we're going to make our first test transaction. And for now, we don't need test link. So |
|
we're going to leave that off. But later on, we're going to come back and get that test link. For now we're just going to need 0.1 test Aetherium. So let's go ahead and complete the security by choosing the traffic lights. And we're going to hit Send Request. What this |
|
is going to do is we're asking this faucet to send us 0.1 test Aetherium test net faucets are ways for us to get money into our wallets on a test net. And this is why this test and Aetherium isn't worth any actual money. Since we can get it for |
|
free. These don't exist on Main net, you can't get real Aetherium or real money for free on a main network. So we're on Rinkeby we're getting fake Rinckey Aetherium. And we're gonna go ahead and hit send request. Once we hit Send Request, this transaction hash is going to pop up here, and it |
|
says transactions have been initiated waiting for confirmation. This means that some other wallet is actually going to send us 0.1 test eath. And this is the transaction that it's doing to do that now we just have to wait for our transaction to finish verifying and finish going through. Now if |
|
this doesn't work right away, I would recommend Wait a minute and then just try it again. But what we can do is we can click this transaction hash. If that transaction doesn't show up, we can also just close this. And we can copy our address here. And actually we already see 0.1 eath in our wallets here. But we can |
|
go back over to Rinkeby ether scan, paste our address and and we can see that we now have 0.1 ether as a balance. We can also see that we have a transaction with all this information going into our wallet. That's what this green is for. If you click |
|
that transaction link, you'd get something like this, but If you didn't, don't worry, because on the ether scan, if you click the transaction hash in the transaction list, you can also see all the details like that. So now in our meta mask, we have 0.1 eath. Again, this is fake Aetherium. And we have a |
|
transaction associated with our wallet now, which is awesome. Again, though, if we switch networks, if we switch networks back to Etherium main net, you can see that we have nothing on a theory main net. Or if we go to ropsten, we also have nothing, we only have this 0.1 eath. On the Rinkeby test |
|
network, if you want to practice working with another test net, and the faucet that we're using, has multiple test nets. Let's go ahead and try it during this section right now is completely optional, you can watch or you can follow along. But for example, I can see in my wallet that we already have COVID |
|
supported, so maybe I'll switch to COVID. Maybe we'll switch to COVID. In the drop down here, we'll remove test 10 Link, because we only need test eath. We'll hit I'm not a robot, and we'll send request and the same things will pop up this time, |