SlideShare a Scribd company logo
INTRODUCTION TO SOLIDITY
AND SMART CONTRACT
DEVELOPMENT
Gene Leybzon
Blockchain Applications and
Smart Contracts Meetup
2/2/2023
DISCLAIMER
§ The views and opinions expressed by the Presenter are those of the Presenter.
§ Presentation is not intended as legal or financial advice and may not be used as
legal or financial advice.
§ Every effort has been made to assure this information is up-to-date as of the date
of publication.
Solidity Language
03
Introduction to Blockchain
Meetup Plan
01
02 Smart Contracts
Blockchain Tools
04
has property
Blockchain
Records transactions across a network of computers
Decentralized Digital Ledger
Ledger is composed of a chain of blocks, where each block contains a number of
transactions
Chain of Blocks
The transactions are grouped together and added to the chain in a linear, chronological
order and once added, the information in the block cannot be altered or deleted
Records are Immutable
Cryptography is used to secure the information stored in the blocks, and enables secure
transfer of digital assets and information
Cryptographic Security
Blockchain
“Blockchain is a digital ledger that keeps a record of all
transactions across a network of computers.”
composed of
is
is based on
Block N-2 Block N-1 Block N Block N+1 Block N+2 Block N+3 ...
Blockchain
Blockchain from the technical point of view
Block N
Block N Header
Block N Transactions
Hash(Block N-1 header)
Hash of (Block N
transactions) Hash()
Block N-1
Block N Header
Block N-1 Transactions
Hash(Block N-2 header)
Hash of (Block N-1
transactions)
Hash()
Hash()
Permissionless
Types of Blockchains
Permissioned
Hybrid
Public
(No central
authority )
Hybrid
(Central authority
+ Permission
Process)
Consortium
Private
Blockchain Technology Choices
Ethereum is the standard for
smart contracts and
blockchain based finance
applications
Ethereum Virtual Machine (EVM) is the
runtime environment for transaction
execution in Ethereum-like networks
EVM-based
Custom Blockchain
solutions based on open-
source code
Tendermint- and similar consensus-based
solutions. Polkadot and Cosmos
parachains. Substrate framework for use
case-optimized blockchains
Custom
Foundation for enterprise-
grade blockchain software
projects
Hyperledger technologies are open source
code bases built with collaborative design
and governance, enterprises have
embraced them as trusted infrastructure
for building blockchain utions.
Hyperledger
Ether (ETH)
Ether is the native
cryptocurrency of the Ethereum
network. It is used to pay for
transactions and smart contract
execution, and it is also used as
a form of payment for gas.
Solidity
Solidity is the primary
programming language used
for writing smart contracts on
the Ethereum network. It is a
contract-oriented, high-level
language for implementing
smart contracts.
SMART
CONTRACTS
These are self-executing contracts with
the terms of the agreements directly
written into lines of code. Smart
contracts are used to facilitate, verify,
and enforce the negotiation or
performance of a contract.
Ethereum Virtual
Machine (EVM)
EVM is the runtime environment for
smart contracts in Ethereum. It is a
virtual machine that executes the
code of smart contracts on the
Ethereum network.
Ethereum Blockchain
“Ethereum is a blockchain with a computer embedded in it. It is the foundation for
building apps and organizations in a decentralized, permissionless, censorship-
resistant way.”
Ethereum Gas
“Ethereum gas is a unit of measurement for the computational effort required to
execute transactions on the Ethereum blockchain.”
Gas prices in Ethereum are dynamic and
determined by market demand. When the
demand for gas is high, the gas price
increases, and when demand is low, the
gas price decreases.
Gas is required for every transaction and
smart contract execution on the
Ethereum network, and is used to pay for
the computational resources consumed
by the nodes that validate and execute
the transactions. The amount of gas
required for a transaction or smart
contract execution is dependent on the
complexity of the operation
ADD .... 3
MUL .... 5
SUB .... 3
DIV .... 5
MOD .... 5
ADDMOD . 8
MULMOD . 8
EVM Compatible Blockchains
Some of the blockchain networks that use the EVM and are able to interact
with the Ethereum ecosystem through smart contracts
Traditional Architecture Decentralized l Architecture
Decentralized Application and Smart Contracts
Web
Server
Database
Decentralized
Application
Blockchain
Smart Contract
Benefits of Decentralized Applications
1
Once data is recorded on a blockchain, it cannot be altered, which provides a high
level of trust and security.
Immutability
2
Decentralized blockchains do not rely on a central authority, which reduces the
risk of censorship or control.
Decentralization
3
Blockchain technology allows for a high degree of transparency, as all
transactions are recorded on a public ledger that is accessible to anyone.
Transparency
4
Blockchain technology allows for the creation of smart contracts which can
automate the execution of agreements without the need for intermediaries.
Uses Smart Contracts
Exemplary Blockchain Development Tools
Wallet and key
management
Code
Development
SDKs and
APIs
Explorer and
Analytics
Security
Interoperability
and cross-
chain
Decentralized
App
Development
Smart Contract Development and Deployment
1
Design
Design the contract,
including defining its
structure, state
variables, functions,
and events
Code Writing
Implementing the
functions, events,
and conditions
defined in the design
step
2
Compilation
Solidity code
compiled into
bytecode that can
be deployed on the
blockchain.
3
Deployment
Compiled code get
deployed on the
blockchain and
make it available to
the network
4
Testing
Performing various
tests on the contract,
including unit tests
integration tests,
security tests
5
Maintenance
Monitoring
performance and
detecting abnormal
usage
6
Solidity Language
Solidity is a high-level, contract-oriented programming language that is used for
writing smart contracts on the Ethereum -compatible blockchain
● Solidity developed specifically for the Ethereum platform and is influenced by
C++, Python, and JavaScript.
● Solidity is designed to provide a simple and secure way to create self-executing
contracts that enforce the rules and conditions of an agreement between parties
● Solidity contracts are executed on the Ethereum Virtual Machine, which is built
into the Ethereum blockchain and allow developers to create decentralized
applications and automate the transfer of digital assets based on the conditions
encoded in the contract.
● Supports features such as multiple inheritance, user-defined types, events,
modifiers which makes it possible to write complex, feature-rich smart contracts
Examples of Smart Contracts
A smart contract is a computer program that automatically executes the terms of a contract
when certain conditions are met.
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.7.0 <0.9.0;
contract Hello {
function sayHello() public pure
returns (string memory) {
return 'Hello World!';
}
}
pragma solidity >=0.7.0 <0.9.0;
contract Count {
uint public value = 0;
event Changed(
uint _value
);
function plus() public returns (uint) {
value++;
emit Changed(value);
return value;
}
}
https://github.com/leybzon/solidity-baby-steps/blob/master/contracts/00_hello.sol
https://github.com/leybzon/solidity-baby-steps/blob/master/contracts/03_count.sol
Solidity Compiler
pragma solidity >=0.7.0
<0.9.0;
contract Count {
uint public value = 0;
event Changed(
uint _value
);
function plus() public
returns (uint) {
value++;
emit Changed(value);
return value;
}
Solidity
Compiler
[
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType":
"uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "Changed",
"type": "event"
},
{
"inputs": [],
"name": "plus",
"outputs": [
{
"internalType":
"uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "value",
"outputs": [
{
"internalType":
"uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
]
Source Code
ABI
60806040526000805534801561001457600080fd5b506101b8806100246000396000f3fe60806040
5234801561001057600080fd5b50600436106100365760003560e01c806318b0c3fd1461003b5780
633fa4f24514610059575b600080fd5b610043610077565b60405161005091906100f0565b604051
80910390f35b6100616100d1565b60405161006e91906100f0565b60405180910390f35b60008060
0081548092919061008b9061013a565b91905055507f938d2ee5be9cfb0f7270ee2eff90507e94b3
7625d9d2b3a61c97d30a4560b8296000546040516100c191906100f0565b60405180910390a16000
54905090565b60005481565b6000819050919050565b6100ea816100d7565b82525050565b600060
208201905061010560008301846100e1565b92915050565b7f4e487b710000000000000000000000
0000000000000000000000000000000000600052601160045260246000fd5b6000610145826100d7
565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361
01775761017661010b565b5b60018201905091905056fea26469706673582212207c2c3d1a4e7374
4455de5b07325e41a92072f087363cc013c4499cb7d84eac6164736f6c63430008110033
Bytecode
Blockchain Explorer
Allows users to search and view detailed
information about blocks, transactions,
and addresses on the Ethereum network
Users can verify and call smart contracts
on the Ethereum network
Tracks the movement and distribution of
Ethereum-based tokens
Provides real-time network statistics and
charts on various metrics such as hash
rate, gas usage, and active addresses
Offers various analytics tools for
Ethereum network data analysis, such as
rich list, token holders, and top contracts
Demonstration of Remix Development Environment
Thank You
Backup Slides
https://www.eventbrite.com/e/developerweek-2022-registration-
164532975559?discount=MU7872&utm_campaign=MU7872&utm_source=meetup
ChatGPT3
ChatGPT3 generated Solidity Code
pragma solidity ^0.8.0;
contract MeetupGold {
string public name = "Meetup Gold";
string public symbol = “MG";
uint256 public totalSupply = 1000000000000000000000;
uint256 public decimals = 18;
mapping(address => uint256) public balanceOf;
event Transfer(address indexed from, address indexed to, uint256 value);
constructor() public {
balanceOf[msg.sender] = totalSupply;
}
function transfer(address _to, uint256 _value) public returns (bool) {
require(balanceOf[msg.sender] >= _value && _value > 0, "Insufficient balance");
balanceOf[msg.sender] -= _value;
balanceOf[_to] += _value;
emit Transfer(msg.sender, _to, _value);
return true;
}
}
Blockchain Research Areas
1. Decentralized finance (DeFi): The development of decentralized financial applications on blockchain
platforms such as Ethereum.
2. Scalability: Improving the speed, capacity, and efficiency of blockchain networks to handle increasing
numbers of users and transactions.
3. Privacy and Confidentiality: Research into ways to enhance the privacy and confidentiality of data stored
on blockchains.
4. Interoperability: Developing solutions that allow different blockchain networks to communicate and
interact with each other.
5. Regulation: Studying the impact of regulatory frameworks on the adoption and development of
blockchain technology.
6. Blockchain for Supply Chain Management: The integration of blockchain technology into supply chain
management systems to improve transparency and efficiency.
7. Energy Efficiency: Research into ways to make blockchain more energy-efficient, particularly for proof-
of-work consensus algorithms.
8. Identity Management: The use of blockchain technology for secure and efficient identity management.
9. Security: Further research into the security of blockchain networks, including the prevention of hacking
attacks and the protection of user data.
Blockchain and Smart Contracts Learning Path
1. Fundamentals of Blockchain Technology: Start by learning the basics of blockchain technology, including how it works, its
key components, and the different types of blockchain networks. Study the history of blockchain, its potential applications,
and its current status.
2. Cryptography: Study the basics of cryptography, including symmetric and asymmetric encryption, hashes, and digital
signatures. Understanding cryptography is crucial for building secure blockchain systems.
3. Solidity and Smart Contracts: Study Solidity, the programming language used for writing smart contracts on the Ethereum
platform. Learn how to write, deploy, and execute smart contracts.
4. Decentralized Applications (dApps): Study the design and development of decentralized applications (dApps) on blockchain
platforms. Learn about the key components of dApps, such as smart contracts, consensus algorithms, and storage
solutions.
5. Blockchain Development Platforms: Study popular blockchain development platforms, such as Ethereum, EOS, and
Hyperledger. Learn how to use these platforms to build decentralized applications.
6. Web3.js: Study the Web3.js library, which is used to interact with blockchain networks from web applications. Learn how to
send transactions, retrieve data, and interact with smart contracts using Web3.js.
7. Cryptocurrency: Study cryptocurrency and the different types of tokens that exist, including utility tokens, security tokens,
and stablecoins. Learn how cryptocurrencies can be used in decentralized applications.
8. Blockchain Security: Study the security aspects of blockchain technology, including the prevention of hacking attacks, the
protection of user data, and the mitigation of security risks.
9. Project Work: Work on building a decentralized application using blockchain technology. This could be a simple smart
contract or a more complex dApp.
10. Stay up-to-date with the latest developments: Keep up-to-date with the latest developments in blockchain technology by
attending meetups, workshops, and conferences, and by following key players in the industry.

More Related Content

What's hot

Smart Contract & Ethereum
Smart Contract & EthereumSmart Contract & Ethereum
Smart Contract & Ethereum
Akshay Singh
 
Write smart contract with solidity on Ethereum
Write smart contract with solidity on EthereumWrite smart contract with solidity on Ethereum
Write smart contract with solidity on Ethereum
Murughan Palaniachari
 
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Simplilearn
 
Blockchain Interview Questions And Answers | Blockchain Technology Interview ...
Blockchain Interview Questions And Answers | Blockchain Technology Interview ...Blockchain Interview Questions And Answers | Blockchain Technology Interview ...
Blockchain Interview Questions And Answers | Blockchain Technology Interview ...
Simplilearn
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
Malak Abu Hammad
 
Smart contracts
Smart contractsSmart contracts
Smart contracts
Philippe Camacho, Ph.D.
 
Blockchain Technology Fundamentals
Blockchain Technology FundamentalsBlockchain Technology Fundamentals
Blockchain Technology Fundamentals
Experfy
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain Presentation
Zied GUESMI
 
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
Simplilearn
 
Ethereum
EthereumEthereum
Blockchain Technology and Its Application in Libraries
Blockchain Technology and Its Application in LibrariesBlockchain Technology and Its Application in Libraries
Blockchain Technology and Its Application in Libraries
Nabi Hasan
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart Contracts
Saad Zaher
 
Blockchain - HyperLedger Fabric
Blockchain - HyperLedger FabricBlockchain - HyperLedger Fabric
Blockchain - HyperLedger Fabric
Araf Karsh Hamid
 
Understanding private blockchains
Understanding private blockchainsUnderstanding private blockchains
Understanding private blockchains
Coin Sciences Ltd
 
01 - Introduction to Hyperledger : A Blockchain Technology for Business
01 - Introduction to Hyperledger : A Blockchain Technology for Business01 - Introduction to Hyperledger : A Blockchain Technology for Business
01 - Introduction to Hyperledger : A Blockchain Technology for Business
Merlec Mpyana
 
Smart contract
Smart contractSmart contract
Smart contract
Akhmad Daniel Sembiring
 
Blockchain 101 + Use Cases + Why Blockchain As a Service
Blockchain 101 + Use Cases + Why Blockchain As a ServiceBlockchain 101 + Use Cases + Why Blockchain As a Service
Blockchain 101 + Use Cases + Why Blockchain As a Service
Kaleido
 
Ethereum (Blockchain Network)
Ethereum (Blockchain Network)Ethereum (Blockchain Network)
Ethereum (Blockchain Network)
Qais Ammari
 
A Zero-Knowledge Proof: Improving Privacy on a Blockchain
A Zero-Knowledge Proof:  Improving Privacy on a BlockchainA Zero-Knowledge Proof:  Improving Privacy on a Blockchain
A Zero-Knowledge Proof: Improving Privacy on a Blockchain
Altoros
 
Decentralized exchanges
Decentralized exchangesDecentralized exchanges
Decentralized exchanges
CryptoMonday
 

What's hot (20)

Smart Contract & Ethereum
Smart Contract & EthereumSmart Contract & Ethereum
Smart Contract & Ethereum
 
Write smart contract with solidity on Ethereum
Write smart contract with solidity on EthereumWrite smart contract with solidity on Ethereum
Write smart contract with solidity on Ethereum
 
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
Ethereum Tutorial - Ethereum Explained | What is Ethereum? | Ethereum Explain...
 
Blockchain Interview Questions And Answers | Blockchain Technology Interview ...
Blockchain Interview Questions And Answers | Blockchain Technology Interview ...Blockchain Interview Questions And Answers | Blockchain Technology Interview ...
Blockchain Interview Questions And Answers | Blockchain Technology Interview ...
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Smart contracts
Smart contractsSmart contracts
Smart contracts
 
Blockchain Technology Fundamentals
Blockchain Technology FundamentalsBlockchain Technology Fundamentals
Blockchain Technology Fundamentals
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain Presentation
 
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
What is A Smart Contract? | Smart Contracts Tutorial | Smart Contracts in Blo...
 
Ethereum
EthereumEthereum
Ethereum
 
Blockchain Technology and Its Application in Libraries
Blockchain Technology and Its Application in LibrariesBlockchain Technology and Its Application in Libraries
Blockchain Technology and Its Application in Libraries
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart Contracts
 
Blockchain - HyperLedger Fabric
Blockchain - HyperLedger FabricBlockchain - HyperLedger Fabric
Blockchain - HyperLedger Fabric
 
Understanding private blockchains
Understanding private blockchainsUnderstanding private blockchains
Understanding private blockchains
 
01 - Introduction to Hyperledger : A Blockchain Technology for Business
01 - Introduction to Hyperledger : A Blockchain Technology for Business01 - Introduction to Hyperledger : A Blockchain Technology for Business
01 - Introduction to Hyperledger : A Blockchain Technology for Business
 
Smart contract
Smart contractSmart contract
Smart contract
 
Blockchain 101 + Use Cases + Why Blockchain As a Service
Blockchain 101 + Use Cases + Why Blockchain As a ServiceBlockchain 101 + Use Cases + Why Blockchain As a Service
Blockchain 101 + Use Cases + Why Blockchain As a Service
 
Ethereum (Blockchain Network)
Ethereum (Blockchain Network)Ethereum (Blockchain Network)
Ethereum (Blockchain Network)
 
A Zero-Knowledge Proof: Improving Privacy on a Blockchain
A Zero-Knowledge Proof:  Improving Privacy on a BlockchainA Zero-Knowledge Proof:  Improving Privacy on a Blockchain
A Zero-Knowledge Proof: Improving Privacy on a Blockchain
 
Decentralized exchanges
Decentralized exchangesDecentralized exchanges
Decentralized exchanges
 

Similar to Introduction to Solidity and Smart Contract Development (9).pptx

Interesting Facts About Ethereum Smart contract Development
Interesting Facts About Ethereum Smart contract DevelopmentInteresting Facts About Ethereum Smart contract Development
Interesting Facts About Ethereum Smart contract Development
Developcoins
 
Blockchain Development Kit
Blockchain Development KitBlockchain Development Kit
Blockchain Development Kit
Huda Seyam
 
How to design, code, deploy and execute a smart contract
How to design, code, deploy and execute a smart contractHow to design, code, deploy and execute a smart contract
How to design, code, deploy and execute a smart contract
Joseph Holbrook, Chief Learning Officer (CLO)
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
AvinashChoure2
 
EcoSummit 2016 in Berlin Presentation - ConsenSys / RWE
EcoSummit 2016 in Berlin Presentation - ConsenSys / RWEEcoSummit 2016 in Berlin Presentation - ConsenSys / RWE
EcoSummit 2016 in Berlin Presentation - ConsenSys / RWE
John Lilic
 
Sarwar sayeed , hector marco gisbert, tom caira ieee
Sarwar sayeed , hector marco gisbert, tom caira ieeeSarwar sayeed , hector marco gisbert, tom caira ieee
Sarwar sayeed , hector marco gisbert, tom caira ieee
IT Strategy Group
 
AN IDENTITY MANAGEMENT SYSTEM USING BLOCKCHAIN
AN IDENTITY MANAGEMENT SYSTEM USING BLOCKCHAINAN IDENTITY MANAGEMENT SYSTEM USING BLOCKCHAIN
AN IDENTITY MANAGEMENT SYSTEM USING BLOCKCHAIN
IRJET Journal
 
Blockchian introduction
Blockchian introductionBlockchian introduction
Blockchian introduction
kesavan N B
 
Block chain technology
Block chain technologyBlock chain technology
Block chain technology
Ponthota Viswanath Reddy
 
Block chain technology
Block chain technology Block chain technology
Block chain technology
Ponthota Viswanath Reddy
 
Smart Contracts Exploring the Future of Decentralized Automation
Smart Contracts Exploring the Future of Decentralized AutomationSmart Contracts Exploring the Future of Decentralized Automation
Smart Contracts Exploring the Future of Decentralized Automation
AlessioSechi
 
Ethereum Block Chain
Ethereum Block ChainEthereum Block Chain
Ethereum Block Chain
SanatPandoh
 
Implementing the business logic as a decentralized Smart Contracts
Implementing the business logic as a decentralized Smart ContractsImplementing the business logic as a decentralized Smart Contracts
Implementing the business logic as a decentralized Smart Contracts
Digital Currency Summit
 
Hyperledger development &amp; smart contract development
Hyperledger development &amp; smart contract developmentHyperledger development &amp; smart contract development
Hyperledger development &amp; smart contract development
gavraskaranand
 
Top 8 blockchain based smart contract platforms
Top 8 blockchain based smart contract platformsTop 8 blockchain based smart contract platforms
Top 8 blockchain based smart contract platforms
Blockchain Council
 
Block chain - Smart contacts.pptx
Block chain - Smart contacts.pptxBlock chain - Smart contacts.pptx
Block chain - Smart contacts.pptx
shraddhaphirke1
 
Adoption Blockchain Smart Contracts in Developing Information Systems.pdf
Adoption Blockchain Smart Contracts in Developing Information Systems.pdfAdoption Blockchain Smart Contracts in Developing Information Systems.pdf
Adoption Blockchain Smart Contracts in Developing Information Systems.pdf
Mahdi_Fahmideh
 
Enhance security, reliability & efficiency with blockchain technology
Enhance security, reliability & efficiency with blockchain technologyEnhance security, reliability & efficiency with blockchain technology
Enhance security, reliability & efficiency with blockchain technology
ArpitGautam20
 
OVERVIEW OF SMART CONTRACT IN BLOCKCHAIN TECHNOLOGY
OVERVIEW OF SMART CONTRACT IN BLOCKCHAIN TECHNOLOGYOVERVIEW OF SMART CONTRACT IN BLOCKCHAIN TECHNOLOGY
OVERVIEW OF SMART CONTRACT IN BLOCKCHAIN TECHNOLOGY
IRJET Journal
 
VEROS-white-paper
VEROS-white-paperVEROS-white-paper
VEROS-white-paperRip Burman
 

Similar to Introduction to Solidity and Smart Contract Development (9).pptx (20)

Interesting Facts About Ethereum Smart contract Development
Interesting Facts About Ethereum Smart contract DevelopmentInteresting Facts About Ethereum Smart contract Development
Interesting Facts About Ethereum Smart contract Development
 
Blockchain Development Kit
Blockchain Development KitBlockchain Development Kit
Blockchain Development Kit
 
How to design, code, deploy and execute a smart contract
How to design, code, deploy and execute a smart contractHow to design, code, deploy and execute a smart contract
How to design, code, deploy and execute a smart contract
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
EcoSummit 2016 in Berlin Presentation - ConsenSys / RWE
EcoSummit 2016 in Berlin Presentation - ConsenSys / RWEEcoSummit 2016 in Berlin Presentation - ConsenSys / RWE
EcoSummit 2016 in Berlin Presentation - ConsenSys / RWE
 
Sarwar sayeed , hector marco gisbert, tom caira ieee
Sarwar sayeed , hector marco gisbert, tom caira ieeeSarwar sayeed , hector marco gisbert, tom caira ieee
Sarwar sayeed , hector marco gisbert, tom caira ieee
 
AN IDENTITY MANAGEMENT SYSTEM USING BLOCKCHAIN
AN IDENTITY MANAGEMENT SYSTEM USING BLOCKCHAINAN IDENTITY MANAGEMENT SYSTEM USING BLOCKCHAIN
AN IDENTITY MANAGEMENT SYSTEM USING BLOCKCHAIN
 
Blockchian introduction
Blockchian introductionBlockchian introduction
Blockchian introduction
 
Block chain technology
Block chain technologyBlock chain technology
Block chain technology
 
Block chain technology
Block chain technology Block chain technology
Block chain technology
 
Smart Contracts Exploring the Future of Decentralized Automation
Smart Contracts Exploring the Future of Decentralized AutomationSmart Contracts Exploring the Future of Decentralized Automation
Smart Contracts Exploring the Future of Decentralized Automation
 
Ethereum Block Chain
Ethereum Block ChainEthereum Block Chain
Ethereum Block Chain
 
Implementing the business logic as a decentralized Smart Contracts
Implementing the business logic as a decentralized Smart ContractsImplementing the business logic as a decentralized Smart Contracts
Implementing the business logic as a decentralized Smart Contracts
 
Hyperledger development &amp; smart contract development
Hyperledger development &amp; smart contract developmentHyperledger development &amp; smart contract development
Hyperledger development &amp; smart contract development
 
Top 8 blockchain based smart contract platforms
Top 8 blockchain based smart contract platformsTop 8 blockchain based smart contract platforms
Top 8 blockchain based smart contract platforms
 
Block chain - Smart contacts.pptx
Block chain - Smart contacts.pptxBlock chain - Smart contacts.pptx
Block chain - Smart contacts.pptx
 
Adoption Blockchain Smart Contracts in Developing Information Systems.pdf
Adoption Blockchain Smart Contracts in Developing Information Systems.pdfAdoption Blockchain Smart Contracts in Developing Information Systems.pdf
Adoption Blockchain Smart Contracts in Developing Information Systems.pdf
 
Enhance security, reliability & efficiency with blockchain technology
Enhance security, reliability & efficiency with blockchain technologyEnhance security, reliability & efficiency with blockchain technology
Enhance security, reliability & efficiency with blockchain technology
 
OVERVIEW OF SMART CONTRACT IN BLOCKCHAIN TECHNOLOGY
OVERVIEW OF SMART CONTRACT IN BLOCKCHAIN TECHNOLOGYOVERVIEW OF SMART CONTRACT IN BLOCKCHAIN TECHNOLOGY
OVERVIEW OF SMART CONTRACT IN BLOCKCHAIN TECHNOLOGY
 
VEROS-white-paper
VEROS-white-paperVEROS-white-paper
VEROS-white-paper
 

More from Gene Leybzon

Generative AI Application Development using LangChain and LangFlow
Generative AI Application Development using LangChain and LangFlowGenerative AI Application Development using LangChain and LangFlow
Generative AI Application Development using LangChain and LangFlow
Gene Leybzon
 
Chat GPTs
Chat GPTsChat GPTs
Chat GPTs
Gene Leybzon
 
Generative AI Use cases for Enterprise - Second Session
Generative AI Use cases for Enterprise - Second SessionGenerative AI Use cases for Enterprise - Second Session
Generative AI Use cases for Enterprise - Second Session
Gene Leybzon
 
Generative AI Use-cases for Enterprise - First Session
Generative AI Use-cases for Enterprise - First SessionGenerative AI Use-cases for Enterprise - First Session
Generative AI Use-cases for Enterprise - First Session
Gene Leybzon
 
Non-fungible tokens (nfts)
Non-fungible tokens (nfts)Non-fungible tokens (nfts)
Non-fungible tokens (nfts)
Gene Leybzon
 
Ethereum in Enterprise.pptx
Ethereum in Enterprise.pptxEthereum in Enterprise.pptx
Ethereum in Enterprise.pptx
Gene Leybzon
 
ERC-4907 Rentable NFT Standard.pptx
ERC-4907 Rentable NFT Standard.pptxERC-4907 Rentable NFT Standard.pptx
ERC-4907 Rentable NFT Standard.pptx
Gene Leybzon
 
Onchain Decentralized Governance 2.pptx
Onchain Decentralized Governance 2.pptxOnchain Decentralized Governance 2.pptx
Onchain Decentralized Governance 2.pptx
Gene Leybzon
 
Onchain Decentralized Governance.pptx
Onchain Decentralized Governance.pptxOnchain Decentralized Governance.pptx
Onchain Decentralized Governance.pptx
Gene Leybzon
 
Web3 File Storage Options
Web3 File Storage OptionsWeb3 File Storage Options
Web3 File Storage Options
Gene Leybzon
 
Web3 Full Stack Development
Web3 Full Stack DevelopmentWeb3 Full Stack Development
Web3 Full Stack Development
Gene Leybzon
 
Instantly tradeable NFT contracts based on ERC-1155 standard
Instantly tradeable NFT contracts based on ERC-1155 standardInstantly tradeable NFT contracts based on ERC-1155 standard
Instantly tradeable NFT contracts based on ERC-1155 standard
Gene Leybzon
 
Non-fungible tokens. From smart contract code to marketplace
Non-fungible tokens. From smart contract code to marketplaceNon-fungible tokens. From smart contract code to marketplace
Non-fungible tokens. From smart contract code to marketplace
Gene Leybzon
 
The Art of non-fungible tokens
The Art of non-fungible tokensThe Art of non-fungible tokens
The Art of non-fungible tokens
Gene Leybzon
 
Graph protocol for accessing information about blockchains and d apps
Graph protocol for accessing information about blockchains and d appsGraph protocol for accessing information about blockchains and d apps
Graph protocol for accessing information about blockchains and d apps
Gene Leybzon
 
Substrate Framework
Substrate FrameworkSubstrate Framework
Substrate Framework
Gene Leybzon
 
Chainlink
ChainlinkChainlink
Chainlink
Gene Leybzon
 
OpenZeppelin + Remix + BNB smart chain
OpenZeppelin + Remix + BNB smart chainOpenZeppelin + Remix + BNB smart chain
OpenZeppelin + Remix + BNB smart chain
Gene Leybzon
 
Chainlink, Cosmos, Kusama, Polkadot: Approaches to the Internet of Blockchains
Chainlink, Cosmos, Kusama, Polkadot:   Approaches to the Internet of BlockchainsChainlink, Cosmos, Kusama, Polkadot:   Approaches to the Internet of Blockchains
Chainlink, Cosmos, Kusama, Polkadot: Approaches to the Internet of Blockchains
Gene Leybzon
 
Dex and Uniswap
Dex and UniswapDex and Uniswap
Dex and Uniswap
Gene Leybzon
 

More from Gene Leybzon (20)

Generative AI Application Development using LangChain and LangFlow
Generative AI Application Development using LangChain and LangFlowGenerative AI Application Development using LangChain and LangFlow
Generative AI Application Development using LangChain and LangFlow
 
Chat GPTs
Chat GPTsChat GPTs
Chat GPTs
 
Generative AI Use cases for Enterprise - Second Session
Generative AI Use cases for Enterprise - Second SessionGenerative AI Use cases for Enterprise - Second Session
Generative AI Use cases for Enterprise - Second Session
 
Generative AI Use-cases for Enterprise - First Session
Generative AI Use-cases for Enterprise - First SessionGenerative AI Use-cases for Enterprise - First Session
Generative AI Use-cases for Enterprise - First Session
 
Non-fungible tokens (nfts)
Non-fungible tokens (nfts)Non-fungible tokens (nfts)
Non-fungible tokens (nfts)
 
Ethereum in Enterprise.pptx
Ethereum in Enterprise.pptxEthereum in Enterprise.pptx
Ethereum in Enterprise.pptx
 
ERC-4907 Rentable NFT Standard.pptx
ERC-4907 Rentable NFT Standard.pptxERC-4907 Rentable NFT Standard.pptx
ERC-4907 Rentable NFT Standard.pptx
 
Onchain Decentralized Governance 2.pptx
Onchain Decentralized Governance 2.pptxOnchain Decentralized Governance 2.pptx
Onchain Decentralized Governance 2.pptx
 
Onchain Decentralized Governance.pptx
Onchain Decentralized Governance.pptxOnchain Decentralized Governance.pptx
Onchain Decentralized Governance.pptx
 
Web3 File Storage Options
Web3 File Storage OptionsWeb3 File Storage Options
Web3 File Storage Options
 
Web3 Full Stack Development
Web3 Full Stack DevelopmentWeb3 Full Stack Development
Web3 Full Stack Development
 
Instantly tradeable NFT contracts based on ERC-1155 standard
Instantly tradeable NFT contracts based on ERC-1155 standardInstantly tradeable NFT contracts based on ERC-1155 standard
Instantly tradeable NFT contracts based on ERC-1155 standard
 
Non-fungible tokens. From smart contract code to marketplace
Non-fungible tokens. From smart contract code to marketplaceNon-fungible tokens. From smart contract code to marketplace
Non-fungible tokens. From smart contract code to marketplace
 
The Art of non-fungible tokens
The Art of non-fungible tokensThe Art of non-fungible tokens
The Art of non-fungible tokens
 
Graph protocol for accessing information about blockchains and d apps
Graph protocol for accessing information about blockchains and d appsGraph protocol for accessing information about blockchains and d apps
Graph protocol for accessing information about blockchains and d apps
 
Substrate Framework
Substrate FrameworkSubstrate Framework
Substrate Framework
 
Chainlink
ChainlinkChainlink
Chainlink
 
OpenZeppelin + Remix + BNB smart chain
OpenZeppelin + Remix + BNB smart chainOpenZeppelin + Remix + BNB smart chain
OpenZeppelin + Remix + BNB smart chain
 
Chainlink, Cosmos, Kusama, Polkadot: Approaches to the Internet of Blockchains
Chainlink, Cosmos, Kusama, Polkadot:   Approaches to the Internet of BlockchainsChainlink, Cosmos, Kusama, Polkadot:   Approaches to the Internet of Blockchains
Chainlink, Cosmos, Kusama, Polkadot: Approaches to the Internet of Blockchains
 
Dex and Uniswap
Dex and UniswapDex and Uniswap
Dex and Uniswap
 

Recently uploaded

"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 

Recently uploaded (20)

"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 

Introduction to Solidity and Smart Contract Development (9).pptx

  • 1. INTRODUCTION TO SOLIDITY AND SMART CONTRACT DEVELOPMENT Gene Leybzon Blockchain Applications and Smart Contracts Meetup 2/2/2023
  • 2. DISCLAIMER § The views and opinions expressed by the Presenter are those of the Presenter. § Presentation is not intended as legal or financial advice and may not be used as legal or financial advice. § Every effort has been made to assure this information is up-to-date as of the date of publication.
  • 3. Solidity Language 03 Introduction to Blockchain Meetup Plan 01 02 Smart Contracts Blockchain Tools 04
  • 4. has property Blockchain Records transactions across a network of computers Decentralized Digital Ledger Ledger is composed of a chain of blocks, where each block contains a number of transactions Chain of Blocks The transactions are grouped together and added to the chain in a linear, chronological order and once added, the information in the block cannot be altered or deleted Records are Immutable Cryptography is used to secure the information stored in the blocks, and enables secure transfer of digital assets and information Cryptographic Security Blockchain “Blockchain is a digital ledger that keeps a record of all transactions across a network of computers.” composed of is is based on
  • 5. Block N-2 Block N-1 Block N Block N+1 Block N+2 Block N+3 ... Blockchain Blockchain from the technical point of view Block N Block N Header Block N Transactions Hash(Block N-1 header) Hash of (Block N transactions) Hash() Block N-1 Block N Header Block N-1 Transactions Hash(Block N-2 header) Hash of (Block N-1 transactions) Hash() Hash()
  • 6. Permissionless Types of Blockchains Permissioned Hybrid Public (No central authority ) Hybrid (Central authority + Permission Process) Consortium Private
  • 7. Blockchain Technology Choices Ethereum is the standard for smart contracts and blockchain based finance applications Ethereum Virtual Machine (EVM) is the runtime environment for transaction execution in Ethereum-like networks EVM-based Custom Blockchain solutions based on open- source code Tendermint- and similar consensus-based solutions. Polkadot and Cosmos parachains. Substrate framework for use case-optimized blockchains Custom Foundation for enterprise- grade blockchain software projects Hyperledger technologies are open source code bases built with collaborative design and governance, enterprises have embraced them as trusted infrastructure for building blockchain utions. Hyperledger
  • 8. Ether (ETH) Ether is the native cryptocurrency of the Ethereum network. It is used to pay for transactions and smart contract execution, and it is also used as a form of payment for gas. Solidity Solidity is the primary programming language used for writing smart contracts on the Ethereum network. It is a contract-oriented, high-level language for implementing smart contracts. SMART CONTRACTS These are self-executing contracts with the terms of the agreements directly written into lines of code. Smart contracts are used to facilitate, verify, and enforce the negotiation or performance of a contract. Ethereum Virtual Machine (EVM) EVM is the runtime environment for smart contracts in Ethereum. It is a virtual machine that executes the code of smart contracts on the Ethereum network. Ethereum Blockchain “Ethereum is a blockchain with a computer embedded in it. It is the foundation for building apps and organizations in a decentralized, permissionless, censorship- resistant way.”
  • 9. Ethereum Gas “Ethereum gas is a unit of measurement for the computational effort required to execute transactions on the Ethereum blockchain.” Gas prices in Ethereum are dynamic and determined by market demand. When the demand for gas is high, the gas price increases, and when demand is low, the gas price decreases. Gas is required for every transaction and smart contract execution on the Ethereum network, and is used to pay for the computational resources consumed by the nodes that validate and execute the transactions. The amount of gas required for a transaction or smart contract execution is dependent on the complexity of the operation ADD .... 3 MUL .... 5 SUB .... 3 DIV .... 5 MOD .... 5 ADDMOD . 8 MULMOD . 8
  • 10. EVM Compatible Blockchains Some of the blockchain networks that use the EVM and are able to interact with the Ethereum ecosystem through smart contracts
  • 11. Traditional Architecture Decentralized l Architecture Decentralized Application and Smart Contracts Web Server Database Decentralized Application Blockchain Smart Contract
  • 12. Benefits of Decentralized Applications 1 Once data is recorded on a blockchain, it cannot be altered, which provides a high level of trust and security. Immutability 2 Decentralized blockchains do not rely on a central authority, which reduces the risk of censorship or control. Decentralization 3 Blockchain technology allows for a high degree of transparency, as all transactions are recorded on a public ledger that is accessible to anyone. Transparency 4 Blockchain technology allows for the creation of smart contracts which can automate the execution of agreements without the need for intermediaries. Uses Smart Contracts
  • 13. Exemplary Blockchain Development Tools Wallet and key management Code Development SDKs and APIs Explorer and Analytics Security Interoperability and cross- chain Decentralized App Development
  • 14. Smart Contract Development and Deployment 1 Design Design the contract, including defining its structure, state variables, functions, and events Code Writing Implementing the functions, events, and conditions defined in the design step 2 Compilation Solidity code compiled into bytecode that can be deployed on the blockchain. 3 Deployment Compiled code get deployed on the blockchain and make it available to the network 4 Testing Performing various tests on the contract, including unit tests integration tests, security tests 5 Maintenance Monitoring performance and detecting abnormal usage 6
  • 15. Solidity Language Solidity is a high-level, contract-oriented programming language that is used for writing smart contracts on the Ethereum -compatible blockchain ● Solidity developed specifically for the Ethereum platform and is influenced by C++, Python, and JavaScript. ● Solidity is designed to provide a simple and secure way to create self-executing contracts that enforce the rules and conditions of an agreement between parties ● Solidity contracts are executed on the Ethereum Virtual Machine, which is built into the Ethereum blockchain and allow developers to create decentralized applications and automate the transfer of digital assets based on the conditions encoded in the contract. ● Supports features such as multiple inheritance, user-defined types, events, modifiers which makes it possible to write complex, feature-rich smart contracts
  • 16. Examples of Smart Contracts A smart contract is a computer program that automatically executes the terms of a contract when certain conditions are met. // SPDX-License-Identifier: GPL-3.0 pragma solidity >=0.7.0 <0.9.0; contract Hello { function sayHello() public pure returns (string memory) { return 'Hello World!'; } } pragma solidity >=0.7.0 <0.9.0; contract Count { uint public value = 0; event Changed( uint _value ); function plus() public returns (uint) { value++; emit Changed(value); return value; } } https://github.com/leybzon/solidity-baby-steps/blob/master/contracts/00_hello.sol https://github.com/leybzon/solidity-baby-steps/blob/master/contracts/03_count.sol
  • 17. Solidity Compiler pragma solidity >=0.7.0 <0.9.0; contract Count { uint public value = 0; event Changed( uint _value ); function plus() public returns (uint) { value++; emit Changed(value); return value; } Solidity Compiler [ { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "_value", "type": "uint256" } ], "name": "Changed", "type": "event" }, { "inputs": [], "name": "plus", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "value", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" } ] Source Code ABI 60806040526000805534801561001457600080fd5b506101b8806100246000396000f3fe60806040 5234801561001057600080fd5b50600436106100365760003560e01c806318b0c3fd1461003b5780 633fa4f24514610059575b600080fd5b610043610077565b60405161005091906100f0565b604051 80910390f35b6100616100d1565b60405161006e91906100f0565b60405180910390f35b60008060 0081548092919061008b9061013a565b91905055507f938d2ee5be9cfb0f7270ee2eff90507e94b3 7625d9d2b3a61c97d30a4560b8296000546040516100c191906100f0565b60405180910390a16000 54905090565b60005481565b6000819050919050565b6100ea816100d7565b82525050565b600060 208201905061010560008301846100e1565b92915050565b7f4e487b710000000000000000000000 0000000000000000000000000000000000600052601160045260246000fd5b6000610145826100d7 565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361 01775761017661010b565b5b60018201905091905056fea26469706673582212207c2c3d1a4e7374 4455de5b07325e41a92072f087363cc013c4499cb7d84eac6164736f6c63430008110033 Bytecode
  • 18. Blockchain Explorer Allows users to search and view detailed information about blocks, transactions, and addresses on the Ethereum network Users can verify and call smart contracts on the Ethereum network Tracks the movement and distribution of Ethereum-based tokens Provides real-time network statistics and charts on various metrics such as hash rate, gas usage, and active addresses Offers various analytics tools for Ethereum network data analysis, such as rich list, token holders, and top contracts
  • 19. Demonstration of Remix Development Environment
  • 24. ChatGPT3 generated Solidity Code pragma solidity ^0.8.0; contract MeetupGold { string public name = "Meetup Gold"; string public symbol = “MG"; uint256 public totalSupply = 1000000000000000000000; uint256 public decimals = 18; mapping(address => uint256) public balanceOf; event Transfer(address indexed from, address indexed to, uint256 value); constructor() public { balanceOf[msg.sender] = totalSupply; } function transfer(address _to, uint256 _value) public returns (bool) { require(balanceOf[msg.sender] >= _value && _value > 0, "Insufficient balance"); balanceOf[msg.sender] -= _value; balanceOf[_to] += _value; emit Transfer(msg.sender, _to, _value); return true; } }
  • 25. Blockchain Research Areas 1. Decentralized finance (DeFi): The development of decentralized financial applications on blockchain platforms such as Ethereum. 2. Scalability: Improving the speed, capacity, and efficiency of blockchain networks to handle increasing numbers of users and transactions. 3. Privacy and Confidentiality: Research into ways to enhance the privacy and confidentiality of data stored on blockchains. 4. Interoperability: Developing solutions that allow different blockchain networks to communicate and interact with each other. 5. Regulation: Studying the impact of regulatory frameworks on the adoption and development of blockchain technology. 6. Blockchain for Supply Chain Management: The integration of blockchain technology into supply chain management systems to improve transparency and efficiency. 7. Energy Efficiency: Research into ways to make blockchain more energy-efficient, particularly for proof- of-work consensus algorithms. 8. Identity Management: The use of blockchain technology for secure and efficient identity management. 9. Security: Further research into the security of blockchain networks, including the prevention of hacking attacks and the protection of user data.
  • 26. Blockchain and Smart Contracts Learning Path 1. Fundamentals of Blockchain Technology: Start by learning the basics of blockchain technology, including how it works, its key components, and the different types of blockchain networks. Study the history of blockchain, its potential applications, and its current status. 2. Cryptography: Study the basics of cryptography, including symmetric and asymmetric encryption, hashes, and digital signatures. Understanding cryptography is crucial for building secure blockchain systems. 3. Solidity and Smart Contracts: Study Solidity, the programming language used for writing smart contracts on the Ethereum platform. Learn how to write, deploy, and execute smart contracts. 4. Decentralized Applications (dApps): Study the design and development of decentralized applications (dApps) on blockchain platforms. Learn about the key components of dApps, such as smart contracts, consensus algorithms, and storage solutions. 5. Blockchain Development Platforms: Study popular blockchain development platforms, such as Ethereum, EOS, and Hyperledger. Learn how to use these platforms to build decentralized applications. 6. Web3.js: Study the Web3.js library, which is used to interact with blockchain networks from web applications. Learn how to send transactions, retrieve data, and interact with smart contracts using Web3.js. 7. Cryptocurrency: Study cryptocurrency and the different types of tokens that exist, including utility tokens, security tokens, and stablecoins. Learn how cryptocurrencies can be used in decentralized applications. 8. Blockchain Security: Study the security aspects of blockchain technology, including the prevention of hacking attacks, the protection of user data, and the mitigation of security risks. 9. Project Work: Work on building a decentralized application using blockchain technology. This could be a simple smart contract or a more complex dApp. 10. Stay up-to-date with the latest developments: Keep up-to-date with the latest developments in blockchain technology by attending meetups, workshops, and conferences, and by following key players in the industry.