Udemy

Metamask And What Is GAS?

A free video tutorial from Rangel Stoilov
Web Developer & Entrepreneur
Rating: 4.3 out of 5Instructor rating
5 courses
59,627 students
Metamask And What Is GAS?

Learn more from the full course

Solidity Smart Contracts: Build DApps In Ethereum Blockchain

Solidity, Smart Contracts, Truffle, Ganache, Ethereum Blockchain Programming, Cryptocurrency, DApp, IPFS & RemixIDE

05:01:35 of on-demand video • Updated June 2019

How To Develop Your Own DApp
Basic And Advanced Concepts Of The Solidity Programming Language
How To Use Truffle Framework & Ganache
How To Perform Unit Testing On Your Smart Contracts
Using Remix As Online IDE
The Essentials Of The Ethereum Blockchain
How To Keep Your Crypto Assets Secure
How To Use Metamask As Your Ethereum Wallet
How To Create And Deploy Your Own Token
English [Auto]
In this video I'm going to show you the main app that we're going to use as our wallet. As I've said in the previous video mask has become essential when we want to get into a smart contract business. So let's start by saying what metal mask actually is. The application is actually a good Chrome extension. It works with our seat 20 tokens which are the most common ones in the two room block chain. And believe it or not is one of the most secure software wallet's out there. Let's start by installing the extension to our rom browser. Just type the name into Google store search bar and it should be the first one that pops out. When we have had a demand to mask our browser it's time to set it up. First we're going to make an account in order to make that that we are asked to type a password and confirm it again as in all other types of all it's use something unique as password that you don't usually use on other Web sites and try to down on a piece of paper. Now we are given a so-called seat or a mnemonic phrase. This phrase is our backup key if my pc gets broken or lost or stolen and I need to reinstall matter mask to another device Diski will restore my wallet. I strongly suggest that you don't save the seat on your PC or any kind of folk training device for that matter. Write it down on a piece of paper at least 2 3 times and put the copies on a secure location. Now after we are done with the back up of our seat Wirtz metal Mask asks us to double check our seat and enter it in the system. This way it will be hundred percent sure that we have written down the words correctly and they work and that's it. Our account is all set up. Now we're getting to the interesting part. Let's first click on the metal mask icon and see what we have there. As you can see our balance is currently zero on the top of the extension. We can see this little box that tells us which network we're currently connected to as any other developer. We need a safe place where we can test and deploy our work. And at this case our smart contracts. Now let's get our hands on some free etre that we can send to our accounts in the testin talk. First thing that we need to do is go to a Web site Fosset dot we're in Kibby that I O. Here we are given three options that are basically time related so that they can prevent a spamming of the service. Let's go for the highest amount. So in order to get those eighteen point five test eaters all we have to do is go in mathematics and copy our wallet address to our clipboard. After that we just have to paste that address in any of the three social medias and copy and paste the link to the post on the ring can be web site the verification of the transaction should take around a minute or so and you should be done after that. We would have eighteen point five eaters to work out in the test network. You might be asking yourself why do we need to eat or if we're the creators of the smart contracts. Well as I said in previous videos there's a tank called gas that we all pay when we want to make a transaction or a tower case for every operation that our smart contractors. So typically gas is the internal pricing for running transaction or contract in the Trium network. As I've said before the higher the amount of gas you're willing to pay the faster your transaction will get into the next block with smart contracts. It gets a bit trickier since we spend gas for every line of code. We also need to spend some gas when we deploy our contract to the network. Here's a simple table that shows us some of the gas values per action. As you can see it might get price to deploy and Thrun our smart contracts. So it's very important to do right but don't get scared by numbers. The actual price of one gets to eat or is really small which depends on the current network traffic and the number of miners that are validating the transactions. If we go back to eaters come the website that we visit in one of our first videos we can see the current gas price and also the minimum and the maximum value for a transaction. Now you might see and ask yourself why Dominion gas value is equal to one way. Well one way is the smallest denomination of either one either is equal to one quintillion ways. This is basically one with 18 zeros behind it. If the gas price drops a lot the minimum amount is counterattacking way before we continue our first lecture about smart contracts. Let's finish with restoring power metal count. Right click on the icon and remove it from Chrome. Now that we have removed which should play the broken pieces scenario or any kind of disaster. Let's go to a store and install it. OK we have installed metal mask again. The first window after that is for restoring a previous Wallaert using the seed words that we have saved typing your words in the correct order and set up a new password. We can restore the account using the sweet words. But with every new installation we have to set a new password. Now we have to accept all the terms and conditions again. And that's it. We have successfully restored our wallet. OK I think that's all we need to know about metal mask and the gas. So the next step is to start learning about slitty and smart contracts soon the next lecture.