Vitalik Buterin. Eveolves Blockchain introducing Smart Contracts Contracts are deployed to Ethereum nodes and become part of the blockchain (every contract has an address) Contracts run are payed with gas (representing computational power) The unit of coin is called ether Once a transaction is added to the blockchain, the corresponding contract is executed Contracts can change ownership, ensure certification, etc.
Ethereum blockchain. Provides an economic incentive for participants to verify and execute transaction requests and provide computational resources to the network. Any participant who broadcasts a transaction request must also offer some amount of ether to the network as a bounty. It is a strong incentive to avoid malicious computations, such as the execution of infinite loops.
measures the amount of computational effort required to execute specific operations on the Ethereum network. Since each Ethereum transaction requires computational resources to execute, each transaction requires a fee. Gas refers to the fee required to conduct a transaction on Ethereum successfully. Gas fees are paid in Ethereum’s native currency, ether (ETH). Gas prices are denoted in gwei. Each gwei is equal to 0.000000001 ETH
a computing machine, which state is stored on every node on the Blockchain Any participant can broadcast a request for this computer to perform arbitrary computation. Whenever such a request is broadcast, other participants on the network verify, validate, and carry out ("execute") the computation. This execution causes a state change in the EVM, which is committed and propagated throughout the entire network.
a mobile app, MetaMask equips you with a key vault, secure login, token wallet, and token exchange—everything you need to manage your digital assets. MetaMask provides the simplest yet most secure way to connect to blockchain-based applications. You are always in control when interacting on the new decentralized web. MetaMask generates passwords and keys on your device, so only you have access to your accounts and data. You always choose what to share and what to keep private.
developers to test both protocol upgrades as well as potential smart contracts in a production-like environment before deployment to Mainnet. Most testnets use a proof-of-authority consensus mechanism. This means a small number of nodes are chosen to validate transactions and create new blocks – staking their identity in the process. Most people get testnet ETH from faucet
on a blockchain that run when predetermined conditions are met. They typically are used to automate the execution of an agreement so that all participants can be immediately certain of the outcome, without any intermediary’s involvement or time loss. They can also automate a workflow, triggering the next action when conditions are met. Miners execute the actions when predetermined conditions have been met and verified (releasing funds to the appropriate parties, registering a vehicle, sending notifications, or issuing a ticket). The blockchain is then updated when the transaction is completed
smart contracts. Smart contracts are programs which govern the behaviour of accounts within the Ethereum state. Solidity is statically typed, supports inheritance, libraries and complex user-defined types among other features. With Solidity you can create contracts for uses such as voting, crowdfunding, blind auctions, and multi-signature wallets.
a collection of code (its functions) and data (its state) that resides at a specific address on the Ethereum blockchain. Since data is immutable on the blockchain, a variable is equivalent to a single slot in a database that can be queried and altered by calling contract functions.
try smart contracts, useful for small PoCs • Truffle, Ganache Getting started tools for beginners, with local blockchain, some form of automation. • Hardhat A complete toolchain for production development with compiler, linting, local BC, deployment pipeline, and testing support • Forge and dApp Tools Advanced tools to manage smart contract development and interact directly low level with blockchain virtual machine
Interface (ABI) is the standard way to interact with contracts in the Ethereum ecosystem, both from outside the blockchain and for contract-to-contract interaction. Data is encoded according to its type, as described in this specification. • EVM (Ethereum Virtual Machine) is the core component of the Ethereum network, and smart contract is pieces of code stored on the Ethereum blockchain which are executed on EVM. Smart contracts written in high-level languages like Solidity or Vyper need to be compiled in EVM executable bytecode.
the EVM maintain strict conventions about these conversions, but in order to perform them, one must know the precise names and types associated with the operations. • The ABI documents these names and types precisely, easily parseable format, doing translations between human-intended method calls and smart-contract operations discoverable and reliable. • ABI defines the methods and structures used to interact with the binary contract, just like API does but on a lower-level.
of APIs to connect to a wallet • private keys are never shared, but transactions are routed through the wallet • metamask injects a window.ethereum variable • we need a frontend library to handle Metamask and Smart Contract APIs
a smart contract that has an established data structure. • ERC20 defines balanceOf , totalSupply , transfer , transferFrom , approve , and allowance and also name, symbol, and the number of decimals. • Any one token is exactly equal to any other token; no tokens have special rights or behavior associated with them. • ERC20 tokens are useful for things like a medium of exchange currency, voting rights, staking,
real estate, voting rights, or collectibles, where some items are valued more than others, due to their usefulness, rarity, etc. • ERC721 is a standard for representing ownership of non-fungible tokens, that is, where each token is unique. • ERC721 is a more complex standard than ERC20, with multiple optional extensions, and is split across a number of contracts. • https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
ensures resiliency. The workflow is heavily impacted by Mining strategy: using PoW requires a lot of time for a block to be mined with state-of-the-art computational power, which slows down the chain Confirmation time (Finality): is the amount of time required to settle a block on the blockchains. Usally the information can be consolidated after a number of confirmations (miners confirming a block is valid). For BTC this time is 6 confirmations (~60 minutes) with ETH it is 25 confirmations (~ 6 minutes) Such figures get worse when the network grows in size.
to as “miners” will review the transactions to ensure they are genuine. When one or more hackers gain control over half of the mining process, there can be extremely negative consequences. (i.e. Ronin Network) Creation errors: Sometimes, there may be security glitches or errors during creation of blockchain. This may be more common with larger, more intricate blockchains. One of the most hacked pieces of blockchain is not the chain itself, but the smart contracts involved in a dApp (i.e. Axie Infinity) Insufficient security: Many blockchain hacks have happened on exchanges, which is where users can trade cryptocurrecy (i.e. Quadriga) https://www.technologyreview.com/2022/04/15/1050259/a-620-million-hack-just-another-day-in-crypto/
transferred across different networks. It has become an increasingly important feature of Web3. Interoperability allows for domain-specific blockchains to be developed, with business logic built into the foundation of the blockchain. But the capability to exchange data is fundamental when dealing with context-specific blockchains, to allow reliablity
- adopt a new blockchain with different consensus protocols and improved communication. These are called layer 1 chains, because propose a new virtual machine - build on the EVM high abstraction layer 2 (and above) chains, leveraging Ethereum as the basis of the stack, but shifting computational load to faster consensus chains
or asset, not just tokens. • Proof-of-Authority (now) evolves into Nominated Proof-of-Stake (NPoS) it is an enhanced mechanism where nominators back validators with their stake. Everyone could be a validator, but a nominator must select to back its efforts • Parachains • Rust language to write smart contracts
per second (400ms block time) • Low cost transactions (~0.001$ each) • Solana’s Proof of Stake (PoS) based consensus method, termed Tower BFT, uses the network’s Proof of History (PoH) approach as a reminder before consensus. • Voting on a fork is limited to a defined period of hashes called a slot each time a validator votes on it. For one slot, the current network configuration is about 400 milliseconds (ms). • Rust language to write smart contracts
to become validators. f they propose a valid block, they’ll receive transaction fees from the transactions. • Given there are more than 1/2*N+1 validators are honest, PoA based networks usually work securely and properly. To secure as much as BC, BSC users are encouraged to wait until receiving blocks sealed by more than 2/3*N+1 different validators. Actually uses 21 validators which means ~5s to get a block and finality after 75s • EVM-compatible
blocks are valid. • 4500 transactions per second • Generic Classical consensus with probabilistic model • Immediate Finality: transactions are finalized immediatly in less than 1s • EVM-compatible
not determine which blocks are valid. Removing leaders increases network security substantially • Fast Finality: do not require a certain amount of time for transactions to be considered settled • EVM-compatible
collective term to describe a specific set of Ethereum scaling solutions. A layer 2 is a separate blockchain that extends Ethereum and inherits the security guarantees of Ethereum. Polygon A complete solution of Ethereum-scaling tools to provide PoS, optimistic rollups, zk-rollup, and private networks Arbitrum Transactions are managed by aggregators. An aggregator plays the same role that a node plays in Ethereum. The aggregator will then make calls to the EthBridge and produce transaction results to the client, just as an Ethereum node would.
validate block transactions based on the number of coins a validator stakes. • Proof-of-stake (POS) was created as an alternative to Proof-of-work (POW), the original consensus mechanism used to validate a blockchain and add new blocks. • Proof-of-stake (POS) is seen as less risky in terms of the potential for an attack on the network, as it structures compensation in a way that makes an attack less advantageous. •
options being developed for layer 2 construction that increases scalability through mass transfer processing rolled into a single transaction • A "zero knowledge proof" approach is used to present and publicly record the validity of the block on the Ethereum blockchain. ZK reduces computing and storage resources for validating the block by reducing the amount of data held in a transaction; zero knowledge of the entire data is needed. • Users on a dapp running the ZK-Rollup scheme will pay less in transaction fees.
and sell it in a global market. • Improved portfolio management • Improved negotiation and transfer of credits • Access to a global market • Guaranteed security on transactions • High level of confidentiality www.wizkey.io/en