Ethereum
Ethereum
The system that is used to ensure that all copies of the blockchain are intact and as identical as possible
and therefore give an unambiguous presentation of the state of the blockchain is the proof of work.
In the absence of a master copy the problem of maintaining the integrity of all copies is quite difficult.
The concept behind proof of work can be found in Fiat currency, i.e. the money we use every day.
Fiat money is money that is accepted by force of law and its value is linked to trust in the authority that
issues it. Usually, it is the state or the central bank that with its authority imposes the use and validity of
a currency. The opposite of fiat money is commodity money, whose value is linked to the price of the
raw material, such as gold or silver, from which it was created.
FIAT CURRENCY
For example, the inscription on English banknotes, “I promise to pay the bearer on
demand the sum of 50 Pounds”.
Common examples
of fiat money are the
British Pound, the
Euro and the US
Dollar.
When analysing a banknote, we realise that it takes a lot of work to create it, which makes it
difficult to counterfeit, so that the derived object is readily verifiable. This is what happens with
banknotes; we can immediately recognise a banknote at a glance, whereas making a banknote is a
labour-intensive process, as it has holograms, watermarks and lettering that make it unmistakable
and reliable.
PROOF OF WORK Returning to proof of work, an example of the
application of proof of work is the Hashcash protocol (
https://it.wikipedia.org/wiki/Hashcash ) used in e-mail to
counter spam.
Spammers use pre-packaged emails that contain
advertisements. Sending e-mails actually costs nothing,
so sending one message or sending a million actually
costs the same.
Through the consensus protocol the set of nodes determine that the block is indeed valid and
therefore deserves to be inserted into the blockchain.
ETHEREUM
Ethereum (https://ethereum.org/ ) is a particular Blockchain, an ecosystem that serves to create
decentralised Dapps applications, unlike Bitcoin which aims to create an environment to perform digital
currency transactions without the need for intermediaries. Thus, Bitcoin opened up the world to
blockchain technology, rather Ethereum aims to create applications in one big computer shared between
all nodes in the world. In Ethereum you can create your own cryptocurrency or games using Ethereum
data and smart contracts that regulate the exchange of transactions based on criteria defined within the
contract. All this is done using Solidity, a programming language for creating smart contracts. The
possibilities opened up by using Solidity are enormous and are beginning to spread to all areas of finance,
production and business. Knowing Solidity can give you a real professional advantage.
Ethereum, thanks to Solidity, gives the possibility to create Dapps, i.e. Distributed and Decentralised
Applications, which are created directly within the Ethereum ecosystem, so that all network participants
work on applications that are available within the network, but cannot be downloaded and used locally,
but are used in a shared way. This structure is considered as the application of the future Web 3.0, the
internet of Ethereum and blockchain.
ETHEREUM- CRYPTOCURRENCIES
Within the Ethereum system, there are two different types of cryptocurrency: one is called ETHER and the
second is called GAS.
Suppose we want to distribute a smart contract and the cost of distribution is 1 ETHER (in reality the cost is a few cents
of ETHER).
If only ETHER existed:
on February 1, 1 ETHER = 1000€ => you would spend 1000€ on distribution.
on March 1st 1 ETHER = 2000€ => 2000€ would be spent on distribution
on 1 April 1 ETHER = 500€ => you would spend 500€ on distribution.
Therefore, to distribute my contract in three different months I have spent three different amounts. This is
counterproductive for the development of the Ethereum eco-system, because a developer would be disincentivised, as
he would have to wait for the ETHER price to decrease in order to distribute his contract.
Using the GAS we can say that the distribution of a Smart Contract would cost 1 GAS and not 1 ETHER therefore.
With existence of GAS:
at 1 February 1 ETHER = 1000€ and 1 GAS = 1 ETHER => you would spend 1000€.
on 1 March 1 ETHER = 2000€ and 1 GAS = 0.5 ETHER => you would spend 1000€.
on 1 April 1 ETHER = 500€ and 1 GAS = 2 ETHER => you would spend 1000€.
Therefore, regardless of the period and the fluctuations in the money market to which ETHER is subject, the price for
distribution is always €1000.
Therefore, the GAS serves as an incentive for developers to work on Ethereum with the
certainty of a fixed cost of use.
EVM nodes provide the structure to execute the code written in Smart Contracts, after being compiled by the
Solidity compiler. Thus, they can be considered as the execution engine of the Ethereum Network. The task of
an EVM node is to read and execute the instructions of the smart controller line by line.
The miner node has the task of writing the transactions that take place in the network within the blockchain. To
acquire the right to record a transaction, the miners compete with each other to solve a mathematical puzzle
using the computing power of their computers. Whoever solves the mathematical puzzle first has the right to
record the transaction and is rewarded with the transaction fee in fractions of Ether for his/her work, which he
can convert into currency (Dollars, Euros, etc.).
ACCOUNTS
Besides the internal nodes of the network there are other types of entities that can interact with Ethereum
defined by the following accounts:
Externally owned accounts: these are the accounts owned by normal people who join the network, each
account has a public key and a private key. Each account has a public key and a private key. All users can see
the public key, which in fact identifies the account on the network (but is still anonymous). The private key is
owned and known only by the account owner and is used when performing a transaction on the network. It is
not recoverable, so if you lose it, you also lose your account with the entire Ether balance.
Contract accounts: These accounts contain Smart Contracts with all their constructs (methods, attributes,
etc). They possess only the public key to identify them within the network. They do not have a private key.
READ MORE
• https://www.investopedia.com/tech/how-does-bitcoin-mining-work/#:~:text=
By%20mining%2C%20you%20can%20earn,are%20added%20to%20the%2
0blockchain
.
• https://www.researchgate.net/publication/318850089_A_Relative_Study_on_
Bitcoin_Mining
• https://ethereum.org/en/
• https://www.ig.com/en/glossary-trading-terms/fiat-currency-definition