Prática de Shadowing: What is Ethereum Gas? (Examples + Easy Explanation) - Aprenda a falar inglês com vídeo

Criando lição...
1
Let's say you're standing in line at Starbucks waiting for your coffee
2
and you notice that there's maybe 4 people in front of you.
3
Normally you'd look at this number and you'd think about your wait time, but just for the fun of it,
4
now let's say that you're thinking about the 4 people in correlation to both your wait time and your new transaction fee.
5
Because in this thought experiment, the more people that are waiting for coffee, the higher the price to get your coffee.
6
Why?
7
Because this coffee shop works like an auction, and serves coffee to the people who will pay the highest transaction fee first.
8
So you get up to the counter
9
and your barista says your coffee will be $8 plus a transaction fee of $2 which would come out to $10 total.
10
Now let's imagine that there are 300 people standing in line for coffee because they just released their new pumpkin spice flavor.
11
Since there are 300 people in line, the average transaction fee to get your coffee soon is $50.
12
That's outrageous you think.
13
You could pay your old $2 if you wanted to, but you would be waiting all morning, all day, evening until the rush of pumpkin heads died down.
14
Instead, you pay the $50 transaction fee on your $8 coffee, coming to a total of $58 for your morning cup of joe.
15
Welcome to Whiteboard Crypto, where we explain cryptocurrency topics in a way
16
that is so easy to understand your grandpa would smash the like button.
17
Hopefully, you connected with that pumpkin spice analogy because it's relevant to Ethereum
18
and something you're going to learn about today called Ethereum Gas.
19
So what is Ethereum and what is Ethereum Gas?
20
Well first off, Ethereum is programmable money.
21
Basically, you can use it to do things.
22
For example, if you wanted to, you could add 4 plus 4 and then Ethereum would tell you that the answer is 8, but it would cost you 3 gas.
23
If you wanted to check your friend's Ethereum wallet balance because you want to know how much money he has, you might need 400 gas.
24
And if you wanted the network to send some ether that you have to your friend, you would have to pay 21,000 gas.
25
Now you might be wondering, why the heck would I have to pay to have Ethereum do some simple addition for me?
26
Well, if you keep watching this video, I'm going to explain it at the end.
27
And oh yeah, it's called gas because it's similar to the gasoline that you put in your car.
28
It is the fuel that powers the code and computations that happen on the Ethereum network.
29
So just like I said, Ethereum is programmable money.
30
And we have gas as a way to make sure
31
that these things don't change even if the price of Ethereum skyrockets or plummets.
32
It should always take three gas to add two numbers, whether the price of Ethereum is $200 or $20,000.
33
However, one thing we do have to do is convert the amount of gas to the cost of gas.
34
So to find out how much it will truly cost, we need to multiply gas cost by the gas price.
35
The gas cost of things doesn't change.
36
It's always 21,000 gas for a transaction or 400 gas to check a balance.
37
But the price of one gas does change.
38
And this is where something weird called GUE comes in.
39
So what is GUE?
40
Well, GUE stands for GIGAWAY.
41
Now, you can think about it like this.
42
A WAY is like one penny that is to a dollar, or one satoshi to a bitcoin.
43
Instead, it's for Ethereum.
44
So there are actually one quintillion ways in one Ethereum.
45
And because that is a ridiculously small amount,
46
we instead use GIGAWAY, which is 0.000000001 Ether.
47
Now, personally, I learn best by examples and actually seeing something in action.
48
So to learn what Ethereum gas is, let's go over a simple example.
49
Let's say you want to send some money to your friend.
50
Well first, we're going to have to know some things.
51
The first thing we need to know is the price of what a transaction costs.
52
Well that is 21,000 gas.
53
This number never changes.
54
The next thing we need to know is the price of Ethereum.
55
Right now, Ethereum is at $2,000 USD.
56
And this number actually changes all the time.
57
And the third thing that we need to know is the price of gas.
58
And this actually can be whatever you want it to be, but the higher that it is, the faster that this calculation will be performed.
59
And we'll talk about that in a little bit.
60
But right now let's assume the average price of gas is 100 Guay.
61
So this means the cost of the transaction is 21,000 gas times 100 Guay.
62
So let's do some simple math and reduce this.
63
If we do 21,000 times .0000100 because that's 100 Guay, we get what it is equal to in Ether.
64
And this comes out to .0021 Ethereum.
65
This means that it costs us .0021 Ethereum to send a transaction.
66
If you want to figure out how much actual cash that is, you take .0021 and you multiply it by the price of Ethereum,
67
which is $2,000, and you get $4.20.
68
This means that it costs $4.20 to make a transaction.
69
So breaking this down, to find out how much something costs to perform on the Ethereum network, you take the price of the action times the cost of gas,
70
and that gives you the amount of Ethereum it takes to perform that task.
71
And if you want to convert that to how much actual cash or how many United States dollars it takes, you just take that amount of ether and you multiply it by the current price of ether.
72
So I hope that this explanation was helpful.
73
In fact, there's a little cool resource I want to share.
74
If you're curious what the current price of gas is, you can actually check out ethgasstation.info.
75
There's a link in the description below if you want to look at it.
76
But while we're at it, let's go over one more example just to make sure you get the hang of it.
77
Let's assume the same situation as above, but for this example, we're going to say that the network is very busy, and because of this the cost of gas is high.
78
Now the cost of gas is 700 guay instead of 100 guay.
79
So to calculate how much it would cost to send your friends some money, we have to plug in these numbers into the equation.
80
Remember the equation is price of action, price of whatever the action is in gas, times the cost of gas in guay, times the ethereum price in dollars.
81
So here we go.
82
The price of a transaction is still 21,000 gas.
83
However this time the cost of gas is now 700 Guay which is equal to .000000700 Ether.
84
And the price of Ethereum is still the same for this example, we're going to use $2000.
85
So we multiply all of those together,
86
21000 times .0000007 times 2000 and we end up with a transaction fee of $29.40.
87
So because the network is congested and tons of people are waiting on it to do stuff, this This transaction will cost $29.40 to send money to your friend,
88
and that transaction cost is the same whether you're sending $5 or whether you're sending $5 million.
89
And this is the beauty and the downfall of this system.
90
Now moving on, earlier I said that the gas price can be different, and this is where we go back to the coffee analogy.
91
Let's say there are people standing in line for coffee, and the people willing to pay the most get their coffee the first.
92
Since Ethereum miners can only include a certain number of transactions per block, they pick whichever ones pay them the most right now they get those fees as a reward.
93
So for example, you could spend 100 guay or 10 guay or even a thousand guay if you wanted to.
94
If you spend 10 guay, it might take a few hours to get confirmed.
95
But if you spend 1000 guay, it could be confirmed almost immediately.
96
It really depends how bad you want your coffee.
97
And if you want to think about it better, imagine yourself as a miner and on average you're getting a $5 to mine some transactions.
98
However, some guy gives you a $50 tip and tells you to hurry up and do his.
99
You can be sure that you're going to be doing his very quickly.
100
However, if someone's like, well, 20 cents is all I got, do with it what you can, you're only going to do it when all the other transactions are finished first.
101
Now this far in the video, you might be wondering why we need all of this.
102
Because it's very confusing.
103
GWE and GAS were actually implemented into the Ethereum network so people had to pay for code to be ran.
104
Imagine if you could write a piece of code that said, I want someone to do this action for free forever.
105
Well, without a GAS limit and a GWE price, they could actually write code that went on forever, ruining the entire blockchain.
106
Another thing I want to talk about in this video is something called EIP-1559.
107
Improvement Plan, which is what EIP stands for, and the number is 1559, it is said to go live in July of 2021.
108
And what it will do is take whatever the transaction fee is for a transaction and essentially burn it.
109
It'll be gone forever.
110
Now right now, while we are posting this video, the miners still get that fee, and it can equal up to an extra $4,000 per block.
111
This makes mining very profitable.
112
In fact, Ethereum is the most profitable coin to mine right now.
113
However, After July 2021, these fees will be burned and gone forever.
114
This means mining could be less profitable, which could mean less miners and also less expensive GPUs due to supply and demand.
115
I don't want to give my personal opinion on this, but it will be very interesting to see whether this actually gets implemented at all, and if it does, how the network and the miners will react to it.
116
And ending this video, I want to answer the main question.
117
Why would you want to do something as simple as adding two numbers in Ethereum?
118
So I said earlier that Ethereum is programmable money.
119
In fact, you can write entire programs, and even whole functioning websites that work using Ethereum.
120
These are called decentralized applications, or what we call them, dApps dApps function by running code that you paid for to do certain things,
121
and on the Ethereum network you can literally write programming code to run certain functions.
122
So adding or addition is really basic, but it's the foundation of code.
123
You can also subtract, multiply, divide, and from there you can do other logic things like if-then statements and for loops, and it gets really complicated very quickly.
124
With enough imagination and education, you can actually create an entire decentralized exchange like Uniswap,
125
where you can trade coins for other coins without there being a central authority, like Coinbase.
126
But that's a video for another day.
127
If you enjoyed this video, please please please hit that like button and subscribe, because it helps us like you can't even imagine.
128
We are just starting this channel, and every little bit helps.
129
We love making these videos, but they take a lot of time and even money to produce.
130
However, we know that they will help someone, because creating them helps us understand these topics even better too.
131
Anyways, we hope that you learned something, and we hope to see you in the next video.
132
Thanks for watching!

Vocabulário e dicas de fala para esta lição

Este vídeo tem 132 frases e 1959 palavras para praticar shadowing. A fala dura 9:38. O falante fala rápido, cerca de 203 palavras por minuto, então espere sons ligados e reduzidos. 89% das palavras estão entre as 3.000 mais comuns do inglês, por isso o vocabulário é fácil de acompanhar.

Vocabulário principal deste vídeo

15 palavras do vídeo que vale a pena aprender, com pronúncia e significado:

PalavraPronúnciaSignificado
transaction substantivo/tɹænˈzækʃən/transação
miner substantivo/ˈmaɪnə(ɹ)/mineiro
coin substantivo/ˈkoɪ̯n/moeda, prata
profitable adjetivo/ˈpɹɑ.fɪ.tə.bl̩/lucrativo
pumpkin substantivo/ˈpʌm(p).kɪn/abóbora, aboboreira
topic substantivo/ˈtɑpɪk/tópico, assunto
confirm verbo/kənˈfɝm/firmar
implement verbo/ˈɪmpləmənt/implementar
convert verbo/kənˈvɝt/converter, transformar
equation substantivo/ɪˈkweɪ.ʒən/equação
spouse substantivo/spaʊ̯s/cônjuge, esposo
analogy substantivo/əˈnæləd͡ʒi/analogia
rush verbo/ɹʌʃ/apressar-se
complicated adjetivo/ˈkɑm.plɪˌkeɪ.tɪd/complicado
curious adjetivo/ˈkjʊɹ.i.əs/curioso

Phrasal verbs que você vai ouvir

PalavraSignificado
find out verbodescobrir
check out verboverificar, sacar só
figure out verbodescobrir, deduzir

Gramática neste vídeo

As estruturas que o falante mais usa, com as palavras exatas do vídeo:

EstruturaNo vídeo
Frases condicionais if + oração, will/would + verbo — uma condição e seu resultadoif you wanted to, but you would be
Voz passiva be + particípio passado — o foco está no que acontece, não em quem fazwill be performed · is congested · could be confirmed
Orações relativas who / which + oração — informação extra sobre uma pessoa ou coisapeople who will · GIGAWAY, which is · Guay which is

Pronúncia para ficar de olho

O falante usa 22 contrações e formas reduzidas, como you're, we're, don't. Diga-as na forma curta, do jeito que você ouve.

  • Os sons de “th”: mathematics /mæθ(.ə)ˈmæt.ɪks/, ether /ˈi.θɚ/
  • Os sons de “sh” e “zh”: transaction /tɹænˈzækʃən/, equation /ɪˈkweɪ.ʒən/, rush /ɹʌʃ/, explanation /ˌɛkspləˈneɪʃən/, essentially /ɪˈsɛnʃəli/
  • Palavras longas — acerte a sílaba tônica: analogy /əˈnæləd͡ʒi/, complicated /ˈkɑm.plɪˌkeɪ.tɪd/, explanation /ˌɛkspləˈneɪʃən/, essentially /ɪˈsɛnʃəli/, experiment /ɪkˈspɛɹ.ə.mənt/

Como praticar com este vídeo

  1. Ouça o vídeo inteiro uma vez sem falar e anote as palavras que você não conhece.
  2. Comece na velocidade 0,75×, faça shadowing frase por frase e volte à velocidade normal quando ficar fácil.
  3. Grave a sua voz e compare com o original, prestando atenção a palavras como transaction, miner, coin.

O que é a Técnica de Shadowing?

Shadowing é uma técnica de aprendizado de idiomas com base científica, originalmente desenvolvida para o treinamento de intérpretes profissionais. O método é simples, mas poderoso: você ouve áudio em inglês nativo e repete imediatamente em voz alta — como uma sombra seguindo o falante com 1-2 segundos de atraso. Pesquisas mostram melhora significativa na precisão da pronúncia, entonação, ritmo, sons conectados, compreensão auditiva e fluência na fala.

Técnica de shadowing: leia o guia completo passo a passo →