跟读练习: What is Ethereum Gas? (Examples + Easy Explanation) - 通过视频学习英语口语

正在创建课程...
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!

本课的词汇与口语要点

这段视频共有 132 个句子、1959 个单词可供跟读。 讲话部分时长为 9:38。 说话人语速较快,每分钟约 203 个词,会出现较多连读和弱读。 89% 的单词属于英语最常用的 3,000 词,词汇容易理解。

视频中的重点词汇

视频中 15 个值得学习的单词,附发音和释义:

单词发音释义
transaction 名词/tɹænˈzækʃən/處理 /处理
miner 名词/ˈmaɪnə(ɹ)/礦工 /矿工, 礦夫 /矿夫
coin 名词/ˈkoɪ̯n/硬幣 /硬币, 銅錢 /铜钱
profitable 形容词/ˈpɹɑ.fɪ.tə.bl̩/可獲利的 /可获利的, 有利可圖 /有利可图
pumpkin 名词/ˈpʌm(p).kɪn/南瓜
topic 名词/ˈtɑpɪk/主題 /主题, 話題 /话题
confirm 动词/kənˈfɝm/證實 /证实, 確認 /确认
implement 动词/ˈɪmpləmənt/實施 /实施, 執行 /执行
equation 名词/ɪˈkweɪ.ʒən/方程式, 方程
spouse 名词/spaʊ̯s/配偶
analogy 名词/əˈnæləd͡ʒi/類推 /类推, 類比 /类比
rush 动词/ɹʌʃ/急速去, 急速做
complicated 形容词/ˈkɑm.plɪˌkeɪ.tɪd/複雜 /复杂
curious 形容词/ˈkjʊɹ.i.əs/好奇, 有好奇心
explanation 名词/ˌɛkspləˈneɪʃən/解釋 /解释, 說明 /说明

视频中出现的短语动词

单词释义
find out 动词找出, 查明
check out 动词退房
figure out 动词弄清楚
get up to 动词幹 /干, 做

视频中的语法

说话人最常用的结构,并附上视频中的原话:

结构视频中的用法
条件句 if + 从句,will/would + 动词 — 条件及其结果if you wanted to, but you would be
被动语态 be + 过去分词 — 强调发生了什么,而不是谁做的will be performed · is congested · could be confirmed
定语从句 who / which + 从句 — 补充说明人或事物people who will · GIGAWAY, which is · Guay which is

需要注意的发音

说话人用了 22 次缩略和弱读形式,例如 you're, we're, don't。请按听到的简短形式来说。

  • “th” 音: mathematics /mæθ(.ə)ˈmæt.ɪks/, ether /ˈi.θɚ/
  • “sh” 和 “zh” 音: transaction /tɹænˈzækʃən/, equation /ɪˈkweɪ.ʒən/, rush /ɹʌʃ/, explanation /ˌɛkspləˈneɪʃən/, essentially /ɪˈsɛnʃəli/
  • 长单词——注意重音位置: 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/

如何用这段视频练习

  1. 先完整听一遍视频,不要开口,记下不认识的单词。
  2. 先用 0.75 倍速逐句跟读,熟练之后再回到正常速度。
  3. 录下自己的声音并与原声对比,特别注意 transaction, miner, coin 这类单词。

什么是跟读法?

跟读法 (Shadowing) 是一种有科学依据的语言学习技巧,最初开发用于专业口译员的培训,并由多语言者Alexander Arguelles博士普及。这个方法简单而强大:您在听英语母语原声的同时立即大声重复——就像是一个延迟1-2秒紧跟说话者的影子。与被动听力或语法练习不同,跟读法强迫您的大脑和口腔肌肉同时处理并模仿真实的讲话模式。研究表明它能显着提高发音准确性,语调,节奏,连读,听力理解和口语流利度——使其成为雅思口语备考和真实英语交流最有效的方法之一。

影子跟读法: 阅读完整分步指南 →