Purpose of Ethereum Gas system - Deepstash
The Startup Masterclass

Learn more about crypto with this collection

How to start a successful business

How to build a strong team

How to market your business

The Startup Masterclass

Discover 160 similar ideas in

It takes just

25 mins to read

Purpose of Ethereum Gas system

Incentivization. Like any proof-of-work peer-to-peer system, Ethereum is heavily dependent on the computational power of its miners. More miners, more computational power, more secure and fast the system.

To attract more miners Ether needs to make the system as profitable and alluring as possible for the miners. In Ethereum, there are two ways that miners can earn money:

  • By mining blocks and getting block rewards.
  • By running smart contracts. The gas system allows them to charge a certain fee for doing so.

41

109 reads

MORE IDEAS ON THIS

Ethereum Gas

Gas is a unit that measures the amount of computational effort that it will take to execute certain operations. Each and every line of code in an Ethereum smart contract requires a certain amount of gas to be executed.

Suppose you are going on a road trip:

    42

    142 reads

    Gas Limits & Gas Price

    To get an operation done in Ethereum, the sender of the transaction must specify a gas limit before they submit it to the network & a gas price: 

    • The gas limit is the maximum amount of gas the sender is willing to pay for this transaction. If an operation has LOW gas, ...

    42

    93 reads

    Ethereum Virtual Machine (EVM)

    Ether is made of a blockchain (an immutable database) and a world decentralised computer (EVM), a virtual machine in which all the smart contracts function in Ethereum. 

    The EVM is a simple yet powerful Turing Complete 256-bit virtual machine. Turing Complete means that given the re...

    44

    192 reads

    The attributes of a Smart Contract

    The attributes of a Smart Contract

    A smart contract functionality needs to be 3 things: 

    Deterministic: it gives the same output to a given input every single time.

    Terminable: contracts by definition, must be capable of termination in a given time limit.

    Isolated:

    43

    151 reads

    Ethereum as electricity

    If bitcoin is digital gold, Ethereum is alike the power grid, powering an ecosystem of worldwide decentralized applications

    The gas is the metering system for the consumed power. And ETH is the currency used to pay for running the software and maintaining the network. 

    42

    123 reads

    Ethereum Gas is EXPENSIVE

    When two numbers are added a million times in Ethereum it costs ~$26.55 in fees. On Amazon AWS system it costs $0.000000066.

    This means that computation in Ethereum is 400 million times more expensive!

    However:

    • A well-written contract would likely move such...

    42

    110 reads

    Ethereum Gas Refund

    If an operation runs out of gas, then it is reverted back to its original state like nothing actually happened, however, the operation generator must STILL pay the miners the fee for their computational costs and the operation gets added to the blockchain (even if it has not been...

    41

    84 reads

    From Bitcoin to Smart Contracts

    Bitcoin created a decentralized monetary system which can transfer money from one person to another. That only allowed for monetary transactions, there was no way to add conditions to those transactions: 

    Alice can send Bob 5 BTC, but she couldn’t tell Bob that he will ...

    54

    472 reads

    CURATED FROM

    CURATED BY

    vladimir

    Life-long learner. Passionate about leadership, entrepreneurship, philosophy, Buddhism & SF. Founder @deepstash.

    Read & Learn

    20x Faster

    without
    deepstash

    with
    deepstash

    with

    deepstash

    Access to 200,000+ ideas

    Access to the mobile app

    Unlimited idea saving & library

    Unlimited history

    Unlimited listening to ideas

    Downloading & offline access

    Personalized recommendations

    Supercharge your mind with one idea per day

    Enter your email and spend 1 minute every day to learn something new.

    Email

    I agree to receive email updates