SlideShare a Scribd company logo
1 of 26
Download to read offline
INTRODUCTION TO
SOLIDITY
101blockchains.com
What Is
Solidity?
Solidity is a type of object-
oriented programming language.
This programing language is
developed specifically for smart
contracts.
This type of language is widely
used in creating smart contracts
features in blockchain platforms.
It’s influenced by C++, JavaScript
and Python. Solidity also uses
Ethereum Virtual Machine to
function properly.
Concepts You Should Know to
Understand Solidity
Ethereum is an open-source blockchain platform
that offers smart contract facilities. Solidity was
first introduced as a new type of programing
language for the Ethereum platform.
Ether is the primary token for the platform. This
platform is dedicated to developers for helping
them develop and deploy decentralized
applications.
Ethereum
Concepts You Should Know to
Understand Solidity
Smart contracts are a type of automated digital
contract. Here, parties within the contract will set
up specific rules and based on that rules, the
contracts will get executed.
Developers use the Solidity programming language
to develop smart contracts. Using Solidity, you can
program the contracts to do any type of task.
Smart Contracts
Concepts You Should Know to
Understand Solidity
Ethereum Virtual Machine is a crucial part of
understanding Solidity. EVM offers a runtime
environment for smart contracts. Using EVM, smart
contracts can execute their core objectives with
higher security.
It’s also very effective in preventing DOS or Denial-of-
Service attacks. EVM comes with a specific set of
codes or instructions to run specific tasks within the
execution environment.
Ethereum Virtual Machine
{ }
Js
( )
</>
Different Methods of Setting Up
Solidity Compiler Environment
Remix
Node.js/ npm
Docker Image
Binary Packages
Remix: Remix IDE is an application that provides plugins and a development
environment for smart contracts. Users can use this application online without
installing any software for the environment.
Node.js/npm: This is the easiest way to set up the environment. Here, you will install a
solidity compiler called solc-js. However, solc-js offer limited functionalities for
accessing the compiler.
Docker Image: Docker image offers simple steps in setting up the environment. Docker
images offer a template to build a container for running the Solidity compiler.
Binary Packages: Binary packages are archive files that will have all directories and files
for installing the Solidity compiler on your device.
Pragma: In Solidity, a pragma language will specify how the
compiler will process any type of input. Typically, the first line
of code in Solidity based smart contracts contains the pragma.
Contract: uintstoredData component within the code will
denote the Solidity contract. This part will contain all the data
and code needed for locating a particular address within the
blockchain.
File Importing: Solidity offers similar support for file import
systems like JavaScript.
Understanding the Solidity Syntax
Alias
Auto
Unchecked
Sizeof
Copyof
Define
Override
Switch
Developers have to learn about reserved keywords for Solidity to fully
understand the logic behind each contract. Some of these keywords are:
Reserved Keywords
Variables are only locations that are reserved for storing
values. Thus, users can reserve any amount of memory for
a certain variable.
Solidity comes with a vast list of value types, such as
Boolean, double floating-point, integers, character, etc.
The operating system will be responsible for allocating
the memory and selecting the data to store for a
particular variable.
Value Types in Solidity
Unsigned and signed fixed-point numbers varying in sizes
8 bits to 256 bits Unsigned integer
8 bits to 256 bits Signed integer
Boolean
Signed fixed-point number
Unsigned fixed-point number
Data Types
State Variable: Users can locate the state variables
within the contract storage where values are
permanently stored.
Local Variable: Users can find the value of any local
variables within the defining function. This value is
not permanently stored.
Global Variables: Global variables help in fetching
data or information from the blockchain platform
and any associated transaction processes.
HTML
JS
CSS
JAV A
P HP
C++
</>
Variables in Solidity
Solidity Use Cases
Financial Services
Upgrading Contracts
Data Storage
Trade Finance
Digital Identity
Financial
Services
Using Solidity, it’s possible to
offer smart contracts facilities to
financial service providers. It can
reduce errors within contracts
and help to make the process
transparent.
Solidity based smart contracts
can also streamline cross-border
payments, insurance claims,
national bonds, mortgages, etc.
Upgrading
Contracts
Solidity offers the option to
create contracts that can be
upgradeable.
As blockchain is immutable, once
a contract is established, it can’t
be altered. However, Solidity
allows contracts to interact with
one another and call a contract
to perform a specific logic.
Trade
Finance
Solidity smart contracts can help
to streamline the issuing of trade
finance documentation that
takes up a lot of resources and
time.
It can help to reduce the risks of
error while maintaining a fast
execution time.
Data
Storage
Smart contracts based on Solidity
can act as data storage for
valuable information or
documents.
Here, Solidity can define the file
type and separately store those
data. When needed, this type of
contract can be called by other
contracts for using the stored
data.
Digital
Identity
Solidity based smart contracts
can help to solve issues related to
identity thefts and data
monopoly.
These contracts are a good
option for storing confidential
information, as it allows the user
to have full control over the data.
Top Solidity Issues
Reentrancy
Clearing Mappings
Unexpected Ether
Default Visibilities
Timestamp Manipulation
Unchecked External Call
Costly Loops and Gas Limit
Arithmetic Precision
Relying On tx.origin
Overflow and Underflow
Learn More About
Solidity
Ethereum Development
Fundamentals course
https://academy.101blockchains.com/courses/
ethereum-development-fundamentals


The Complete Ethereum
Technology Course
https://academy.101blockchains.com/courses/et
hereum-technology-course
101 Blockchains Certifications
Certified Enterprise
Blockchain Professional
Certified Enterprise
Blockchain Architect
Certified Blockchain
Security Expert
https://academy.101blockchains.com/cour
ses/certified-enterprise-blockchain-
architect
https://academy.101blockchains.com/cours
es/certified-blockchain-security-expert
https://academy.101blockchains.com/
courses/blockchain-expert-
certification
Why You Must Go With 101 Blockchains
Certification Courses?
High-Quality Research Information
First-class Training Content


Interactive Exercises
Flexible Learning Using Modular
Approach
Access to Bonus Training Materials
Various Training Strategies for Faster
Learning
Tangible Proof of Course Completion
Weekly Hands-on Assignments
Professional Instructors
Premium Support
Free Resources
Enterprise Blockchains Fundamentals - Free Course
Blockchain Webinars
Blockchain Conferences
Access Free Resources Now!
Blockchain Glossary
Blockchain Flash Cards
Blockchain Presentations
Blockchain Infographics
Trusted By 30,000+ Professionals!
Read real stories on Trustpilot and G2Crowd.
500+ reviews
The presentation is not intended to provide any investment advice and should not be
taken as such. Claims made in this presentation do not constitute investment advice
and should not be taken as such. Do your own research!
While the information contained in this document and presentation has been
obtained from sources believed to be reliable, 101 Blockchains disclaims all
warranties as to the completeness or accuracy.
Although 101 Blockchains research and training may address business, financial,
investment and legal issues, 101 Blockchains does not provide any business, financial,
legal or investment advice and this training should not be construed or used as such.
101 Blockchains shall not be responsible for any loss sustained by any person who
relies on this presentation.
Disclaimer
Thank You
© 2021 101 Blockchains. All rights reserved. This document may not be distributed, transmitted or reproduced in any form or by any means without
101 Blockchains’ prior written permission. While the information contained in this document has been obtained from sources believed to be reliable,
101 Blockchains disclaims all warranties as to the completeness or accuracy. Although 101 Blockchains research may address business, financial,
investment and legal issues, 101 Blockchains does not provide any business, financial, legal or investment advice and this document should not be
construed or used as such. 101 Blockchains shall not be responsible for any loss sustained by any person who relies on this publication.

More Related Content

What's hot

solidity programming.pptx
solidity programming.pptxsolidity programming.pptx
solidity programming.pptxRohiniBagul4
 
Introduction to Solidity and Smart Contract Development (9).pptx
Introduction to Solidity and Smart Contract Development (9).pptxIntroduction to Solidity and Smart Contract Development (9).pptx
Introduction to Solidity and Smart Contract Development (9).pptxGene Leybzon
 
Consensus Algorithms.pptx
Consensus Algorithms.pptxConsensus Algorithms.pptx
Consensus Algorithms.pptxRajapriya82
 
Overview of Blockchain Consensus Mechanisms
Overview of Blockchain Consensus MechanismsOverview of Blockchain Consensus Mechanisms
Overview of Blockchain Consensus MechanismsJohannes Ahlmann
 
Programming smart contracts in solidity
Programming smart contracts in solidityProgramming smart contracts in solidity
Programming smart contracts in solidityEmanuel Mota
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain PresentationZied GUESMI
 
Introduction to Ethereum
Introduction to EthereumIntroduction to Ethereum
Introduction to EthereumTerek Judi
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to BlockchainMalak Abu Hammad
 
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...Edureka!
 
Blockchain
BlockchainBlockchain
BlockchainSai Nath
 
PoW vs. PoS - Key Differences
PoW vs. PoS - Key DifferencesPoW vs. PoS - Key Differences
PoW vs. PoS - Key Differences101 Blockchains
 
Understanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
Understanding Proof of Work (PoW) and Proof of Stake (PoS) AlgorithmsUnderstanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
Understanding Proof of Work (PoW) and Proof of Stake (PoS) AlgorithmsGautam Anand
 
An Introduction to Blockchain Technology
An Introduction to Blockchain Technology An Introduction to Blockchain Technology
An Introduction to Blockchain Technology Niuversity
 
Blockchain and Smart Contracts (Series: Blockchain Basics)
Blockchain and Smart Contracts (Series: Blockchain Basics)Blockchain and Smart Contracts (Series: Blockchain Basics)
Blockchain and Smart Contracts (Series: Blockchain Basics)Financial Poise
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and BitcoinHugo Rodrigues
 

What's hot (20)

Blockchain
BlockchainBlockchain
Blockchain
 
solidity programming.pptx
solidity programming.pptxsolidity programming.pptx
solidity programming.pptx
 
Introduction to Solidity and Smart Contract Development (9).pptx
Introduction to Solidity and Smart Contract Development (9).pptxIntroduction to Solidity and Smart Contract Development (9).pptx
Introduction to Solidity and Smart Contract Development (9).pptx
 
Consensus Algorithms.pptx
Consensus Algorithms.pptxConsensus Algorithms.pptx
Consensus Algorithms.pptx
 
Overview of Blockchain Consensus Mechanisms
Overview of Blockchain Consensus MechanismsOverview of Blockchain Consensus Mechanisms
Overview of Blockchain Consensus Mechanisms
 
Smart contracts
Smart contractsSmart contracts
Smart contracts
 
Blockchain concepts
Blockchain conceptsBlockchain concepts
Blockchain concepts
 
Programming smart contracts in solidity
Programming smart contracts in solidityProgramming smart contracts in solidity
Programming smart contracts in solidity
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain Presentation
 
Introduction to Ethereum
Introduction to EthereumIntroduction to Ethereum
Introduction to Ethereum
 
Blockchain use cases
Blockchain use casesBlockchain use cases
Blockchain use cases
 
What is merkle tree
What is merkle treeWhat is merkle tree
What is merkle tree
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
 
Blockchain
BlockchainBlockchain
Blockchain
 
PoW vs. PoS - Key Differences
PoW vs. PoS - Key DifferencesPoW vs. PoS - Key Differences
PoW vs. PoS - Key Differences
 
Understanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
Understanding Proof of Work (PoW) and Proof of Stake (PoS) AlgorithmsUnderstanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
Understanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
 
An Introduction to Blockchain Technology
An Introduction to Blockchain Technology An Introduction to Blockchain Technology
An Introduction to Blockchain Technology
 
Blockchain and Smart Contracts (Series: Blockchain Basics)
Blockchain and Smart Contracts (Series: Blockchain Basics)Blockchain and Smart Contracts (Series: Blockchain Basics)
Blockchain and Smart Contracts (Series: Blockchain Basics)
 
Blockchain and Bitcoin
Blockchain and BitcoinBlockchain and Bitcoin
Blockchain and Bitcoin
 

Similar to Introduction to Solidity Programming Language

Ethereum smart contract development company
Ethereum smart contract development companyEthereum smart contract development company
Ethereum smart contract development companyDevelopcoins
 
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 platformsBlockchain Council
 
Defi smart contract development company
Defi smart contract development companyDefi smart contract development company
Defi smart contract development companyBrugusoftwaresolutions
 
Smart contract development top considerations
Smart contract development   top considerationsSmart contract development   top considerations
Smart contract development top considerationsDevelopcoins
 
What is Solidity basic concepts_.pdf
What is Solidity basic concepts_.pdfWhat is Solidity basic concepts_.pdf
What is Solidity basic concepts_.pdf101 Blockchains
 
Do Smart Contract Matter To Become A Blockchain Developer
Do Smart Contract Matter To Become A Blockchain Developer Do Smart Contract Matter To Become A Blockchain Developer
Do Smart Contract Matter To Become A Blockchain Developer Blockchain Council
 
Hyperledger development &amp; smart contract development
Hyperledger development &amp; smart contract developmentHyperledger development &amp; smart contract development
Hyperledger development &amp; smart contract developmentgavraskaranand
 
Top 10 Of The Best Tools For Blockchain Development
Top 10 Of The Best Tools For Blockchain DevelopmentTop 10 Of The Best Tools For Blockchain Development
Top 10 Of The Best Tools For Blockchain DevelopmentBlockchain Council
 
The best smart contract platforms in 2021
The best smart contract platforms in 2021The best smart contract platforms in 2021
The best smart contract platforms in 2021OliviaJune1
 
Blockcchain development services | codezeros
Blockcchain development services | codezerosBlockcchain development services | codezeros
Blockcchain development services | codezerosCodezeros
 
Encode Educate session 2 - Learn to code using Concordium
Encode Educate session 2 - Learn to code using ConcordiumEncode Educate session 2 - Learn to code using Concordium
Encode Educate session 2 - Learn to code using ConcordiumVanessa Lošić
 
DWeb and Civil Society: An Introduction For Makers
DWeb and Civil Society: An Introduction For MakersDWeb and Civil Society: An Introduction For Makers
DWeb and Civil Society: An Introduction For MakersTechSoup
 
Introduction To The New Era of DeFi Blockchains.pdf
Introduction To The New Era of DeFi Blockchains.pdfIntroduction To The New Era of DeFi Blockchains.pdf
Introduction To The New Era of DeFi Blockchains.pdfLaura Miller
 
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 DevelopmentDevelopcoins
 
Etherparty Pitch Dek
Etherparty Pitch DekEtherparty Pitch Dek
Etherparty Pitch Dekcraze3
 
The Road Ahead: Strategic Overview on the Ethos Bedrock Enterprise-grade Bloc...
The Road Ahead: Strategic Overview on the Ethos Bedrock Enterprise-grade Bloc...The Road Ahead: Strategic Overview on the Ethos Bedrock Enterprise-grade Bloc...
The Road Ahead: Strategic Overview on the Ethos Bedrock Enterprise-grade Bloc...Shingo Lavine
 
Top 5 blockchain platforms for digital marketing
Top 5 blockchain platforms for digital marketingTop 5 blockchain platforms for digital marketing
Top 5 blockchain platforms for digital marketingBlockchain Council
 

Similar to Introduction to Solidity Programming Language (20)

Ethereum smart contract development company
Ethereum smart contract development companyEthereum smart contract development company
Ethereum smart contract development company
 
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
 
Defi smart contract development company
Defi smart contract development companyDefi smart contract development company
Defi smart contract development company
 
Smart contract development top considerations
Smart contract development   top considerationsSmart contract development   top considerations
Smart contract development top considerations
 
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
 
What is Solidity basic concepts_.pdf
What is Solidity basic concepts_.pdfWhat is Solidity basic concepts_.pdf
What is Solidity basic concepts_.pdf
 
Do Smart Contract Matter To Become A Blockchain Developer
Do Smart Contract Matter To Become A Blockchain Developer Do Smart Contract Matter To Become A Blockchain Developer
Do Smart Contract Matter To Become A Blockchain Developer
 
Hyperledger development &amp; smart contract development
Hyperledger development &amp; smart contract developmentHyperledger development &amp; smart contract development
Hyperledger development &amp; smart contract development
 
Top 10 Of The Best Tools For Blockchain Development
Top 10 Of The Best Tools For Blockchain DevelopmentTop 10 Of The Best Tools For Blockchain Development
Top 10 Of The Best Tools For Blockchain Development
 
The best smart contract platforms in 2021
The best smart contract platforms in 2021The best smart contract platforms in 2021
The best smart contract platforms in 2021
 
Blockcchain development services | codezeros
Blockcchain development services | codezerosBlockcchain development services | codezeros
Blockcchain development services | codezeros
 
Encode Educate session 2 - Learn to code using Concordium
Encode Educate session 2 - Learn to code using ConcordiumEncode Educate session 2 - Learn to code using Concordium
Encode Educate session 2 - Learn to code using Concordium
 
Smart contracts
Smart contractsSmart contracts
Smart contracts
 
DWeb and Civil Society: An Introduction For Makers
DWeb and Civil Society: An Introduction For MakersDWeb and Civil Society: An Introduction For Makers
DWeb and Civil Society: An Introduction For Makers
 
Hyperledger fabric
Hyperledger fabricHyperledger fabric
Hyperledger fabric
 
Introduction To The New Era of DeFi Blockchains.pdf
Introduction To The New Era of DeFi Blockchains.pdfIntroduction To The New Era of DeFi Blockchains.pdf
Introduction To The New Era of DeFi Blockchains.pdf
 
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
 
Etherparty Pitch Dek
Etherparty Pitch DekEtherparty Pitch Dek
Etherparty Pitch Dek
 
The Road Ahead: Strategic Overview on the Ethos Bedrock Enterprise-grade Bloc...
The Road Ahead: Strategic Overview on the Ethos Bedrock Enterprise-grade Bloc...The Road Ahead: Strategic Overview on the Ethos Bedrock Enterprise-grade Bloc...
The Road Ahead: Strategic Overview on the Ethos Bedrock Enterprise-grade Bloc...
 
Top 5 blockchain platforms for digital marketing
Top 5 blockchain platforms for digital marketingTop 5 blockchain platforms for digital marketing
Top 5 blockchain platforms for digital marketing
 

More from 101 Blockchains

FinTech Guide for Beginner's
FinTech Guide for Beginner'sFinTech Guide for Beginner's
FinTech Guide for Beginner's101 Blockchains
 
Web 3.0 - A Detailed Guide
Web 3.0 - A Detailed GuideWeb 3.0 - A Detailed Guide
Web 3.0 - A Detailed Guide101 Blockchains
 
Frequently Asked Questions About Metaverse
Frequently Asked Questions About MetaverseFrequently Asked Questions About Metaverse
Frequently Asked Questions About Metaverse101 Blockchains
 
NFTs and Their Role in The Metaverse
NFTs and Their Role in The MetaverseNFTs and Their Role in The Metaverse
NFTs and Their Role in The Metaverse101 Blockchains
 
Is Metaverse The Next Big Thing?
Is Metaverse The Next Big Thing?Is Metaverse The Next Big Thing?
Is Metaverse The Next Big Thing?101 Blockchains
 
5 Best Metaverse Games to Play
5 Best Metaverse Games to Play5 Best Metaverse Games to Play
5 Best Metaverse Games to Play101 Blockchains
 
Top 5 Metaverse Tokens To Watch
Top 5 Metaverse Tokens To WatchTop 5 Metaverse Tokens To Watch
Top 5 Metaverse Tokens To Watch101 Blockchains
 
An Introduction To Metaverse
An Introduction To MetaverseAn Introduction To Metaverse
An Introduction To Metaverse101 Blockchains
 
Disadvantages of Blockchain
Disadvantages of BlockchainDisadvantages of Blockchain
Disadvantages of Blockchain101 Blockchains
 
Crypto Wallet Types Explained
Crypto Wallet Types ExplainedCrypto Wallet Types Explained
Crypto Wallet Types Explained101 Blockchains
 
Examples of Smart Contracts
Examples of Smart ContractsExamples of Smart Contracts
Examples of Smart Contracts101 Blockchains
 
An Ultimate Guide to NFT Applications
An Ultimate Guide to NFT ApplicationsAn Ultimate Guide to NFT Applications
An Ultimate Guide to NFT Applications101 Blockchains
 
Know Everything About Business Model Innovation
Know Everything About Business Model InnovationKnow Everything About Business Model Innovation
Know Everything About Business Model Innovation101 Blockchains
 
How to Kickstart Career in DeFi?
How to Kickstart Career in DeFi?How to Kickstart Career in DeFi?
How to Kickstart Career in DeFi?101 Blockchains
 
How To Start A Career In The NFT Space?
How To Start A Career In The NFT Space?How To Start A Career In The NFT Space?
How To Start A Career In The NFT Space?101 Blockchains
 
What Is Bitcoin And How Does It Work?
What Is Bitcoin And How Does It Work?What Is Bitcoin And How Does It Work?
What Is Bitcoin And How Does It Work?101 Blockchains
 

More from 101 Blockchains (20)

Web3 Fundamentals
Web3 FundamentalsWeb3 Fundamentals
Web3 Fundamentals
 
FinTech Guide for Beginner's
FinTech Guide for Beginner'sFinTech Guide for Beginner's
FinTech Guide for Beginner's
 
Web 3.0 - A Detailed Guide
Web 3.0 - A Detailed GuideWeb 3.0 - A Detailed Guide
Web 3.0 - A Detailed Guide
 
Frequently Asked Questions About Metaverse
Frequently Asked Questions About MetaverseFrequently Asked Questions About Metaverse
Frequently Asked Questions About Metaverse
 
NFTs and Their Role in The Metaverse
NFTs and Their Role in The MetaverseNFTs and Their Role in The Metaverse
NFTs and Their Role in The Metaverse
 
Is Metaverse The Next Big Thing?
Is Metaverse The Next Big Thing?Is Metaverse The Next Big Thing?
Is Metaverse The Next Big Thing?
 
5 Best Metaverse Games to Play
5 Best Metaverse Games to Play5 Best Metaverse Games to Play
5 Best Metaverse Games to Play
 
Top 5 Metaverse Tokens To Watch
Top 5 Metaverse Tokens To WatchTop 5 Metaverse Tokens To Watch
Top 5 Metaverse Tokens To Watch
 
An Introduction To Metaverse
An Introduction To MetaverseAn Introduction To Metaverse
An Introduction To Metaverse
 
Disadvantages of Blockchain
Disadvantages of BlockchainDisadvantages of Blockchain
Disadvantages of Blockchain
 
Crypto Wallet Types Explained
Crypto Wallet Types ExplainedCrypto Wallet Types Explained
Crypto Wallet Types Explained
 
Examples of Smart Contracts
Examples of Smart ContractsExamples of Smart Contracts
Examples of Smart Contracts
 
Public Vs. Private Keys
Public Vs. Private KeysPublic Vs. Private Keys
Public Vs. Private Keys
 
Top 5 DeFi Applications
Top 5 DeFi ApplicationsTop 5 DeFi Applications
Top 5 DeFi Applications
 
How NFT Works
How NFT WorksHow NFT Works
How NFT Works
 
An Ultimate Guide to NFT Applications
An Ultimate Guide to NFT ApplicationsAn Ultimate Guide to NFT Applications
An Ultimate Guide to NFT Applications
 
Know Everything About Business Model Innovation
Know Everything About Business Model InnovationKnow Everything About Business Model Innovation
Know Everything About Business Model Innovation
 
How to Kickstart Career in DeFi?
How to Kickstart Career in DeFi?How to Kickstart Career in DeFi?
How to Kickstart Career in DeFi?
 
How To Start A Career In The NFT Space?
How To Start A Career In The NFT Space?How To Start A Career In The NFT Space?
How To Start A Career In The NFT Space?
 
What Is Bitcoin And How Does It Work?
What Is Bitcoin And How Does It Work?What Is Bitcoin And How Does It Work?
What Is Bitcoin And How Does It Work?
 

Recently uploaded

SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Recently uploaded (20)

SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

Introduction to Solidity Programming Language

  • 2. What Is Solidity? Solidity is a type of object- oriented programming language. This programing language is developed specifically for smart contracts. This type of language is widely used in creating smart contracts features in blockchain platforms. It’s influenced by C++, JavaScript and Python. Solidity also uses Ethereum Virtual Machine to function properly.
  • 3. Concepts You Should Know to Understand Solidity Ethereum is an open-source blockchain platform that offers smart contract facilities. Solidity was first introduced as a new type of programing language for the Ethereum platform. Ether is the primary token for the platform. This platform is dedicated to developers for helping them develop and deploy decentralized applications. Ethereum
  • 4. Concepts You Should Know to Understand Solidity Smart contracts are a type of automated digital contract. Here, parties within the contract will set up specific rules and based on that rules, the contracts will get executed. Developers use the Solidity programming language to develop smart contracts. Using Solidity, you can program the contracts to do any type of task. Smart Contracts
  • 5. Concepts You Should Know to Understand Solidity Ethereum Virtual Machine is a crucial part of understanding Solidity. EVM offers a runtime environment for smart contracts. Using EVM, smart contracts can execute their core objectives with higher security. It’s also very effective in preventing DOS or Denial-of- Service attacks. EVM comes with a specific set of codes or instructions to run specific tasks within the execution environment. Ethereum Virtual Machine { } Js ( ) </>
  • 6. Different Methods of Setting Up Solidity Compiler Environment Remix Node.js/ npm Docker Image Binary Packages
  • 7. Remix: Remix IDE is an application that provides plugins and a development environment for smart contracts. Users can use this application online without installing any software for the environment. Node.js/npm: This is the easiest way to set up the environment. Here, you will install a solidity compiler called solc-js. However, solc-js offer limited functionalities for accessing the compiler. Docker Image: Docker image offers simple steps in setting up the environment. Docker images offer a template to build a container for running the Solidity compiler. Binary Packages: Binary packages are archive files that will have all directories and files for installing the Solidity compiler on your device.
  • 8. Pragma: In Solidity, a pragma language will specify how the compiler will process any type of input. Typically, the first line of code in Solidity based smart contracts contains the pragma. Contract: uintstoredData component within the code will denote the Solidity contract. This part will contain all the data and code needed for locating a particular address within the blockchain. File Importing: Solidity offers similar support for file import systems like JavaScript. Understanding the Solidity Syntax
  • 9. Alias Auto Unchecked Sizeof Copyof Define Override Switch Developers have to learn about reserved keywords for Solidity to fully understand the logic behind each contract. Some of these keywords are: Reserved Keywords
  • 10. Variables are only locations that are reserved for storing values. Thus, users can reserve any amount of memory for a certain variable. Solidity comes with a vast list of value types, such as Boolean, double floating-point, integers, character, etc. The operating system will be responsible for allocating the memory and selecting the data to store for a particular variable. Value Types in Solidity
  • 11. Unsigned and signed fixed-point numbers varying in sizes 8 bits to 256 bits Unsigned integer 8 bits to 256 bits Signed integer Boolean Signed fixed-point number Unsigned fixed-point number Data Types
  • 12. State Variable: Users can locate the state variables within the contract storage where values are permanently stored. Local Variable: Users can find the value of any local variables within the defining function. This value is not permanently stored. Global Variables: Global variables help in fetching data or information from the blockchain platform and any associated transaction processes. HTML JS CSS JAV A P HP C++ </> Variables in Solidity
  • 13. Solidity Use Cases Financial Services Upgrading Contracts Data Storage Trade Finance Digital Identity
  • 14. Financial Services Using Solidity, it’s possible to offer smart contracts facilities to financial service providers. It can reduce errors within contracts and help to make the process transparent. Solidity based smart contracts can also streamline cross-border payments, insurance claims, national bonds, mortgages, etc.
  • 15. Upgrading Contracts Solidity offers the option to create contracts that can be upgradeable. As blockchain is immutable, once a contract is established, it can’t be altered. However, Solidity allows contracts to interact with one another and call a contract to perform a specific logic.
  • 16. Trade Finance Solidity smart contracts can help to streamline the issuing of trade finance documentation that takes up a lot of resources and time. It can help to reduce the risks of error while maintaining a fast execution time.
  • 17. Data Storage Smart contracts based on Solidity can act as data storage for valuable information or documents. Here, Solidity can define the file type and separately store those data. When needed, this type of contract can be called by other contracts for using the stored data.
  • 18. Digital Identity Solidity based smart contracts can help to solve issues related to identity thefts and data monopoly. These contracts are a good option for storing confidential information, as it allows the user to have full control over the data.
  • 19. Top Solidity Issues Reentrancy Clearing Mappings Unexpected Ether Default Visibilities Timestamp Manipulation Unchecked External Call Costly Loops and Gas Limit Arithmetic Precision Relying On tx.origin Overflow and Underflow
  • 20. Learn More About Solidity Ethereum Development Fundamentals course https://academy.101blockchains.com/courses/ ethereum-development-fundamentals The Complete Ethereum Technology Course https://academy.101blockchains.com/courses/et hereum-technology-course
  • 21. 101 Blockchains Certifications Certified Enterprise Blockchain Professional Certified Enterprise Blockchain Architect Certified Blockchain Security Expert https://academy.101blockchains.com/cour ses/certified-enterprise-blockchain- architect https://academy.101blockchains.com/cours es/certified-blockchain-security-expert https://academy.101blockchains.com/ courses/blockchain-expert- certification
  • 22. Why You Must Go With 101 Blockchains Certification Courses? High-Quality Research Information First-class Training Content Interactive Exercises Flexible Learning Using Modular Approach Access to Bonus Training Materials Various Training Strategies for Faster Learning Tangible Proof of Course Completion Weekly Hands-on Assignments Professional Instructors Premium Support
  • 23. Free Resources Enterprise Blockchains Fundamentals - Free Course Blockchain Webinars Blockchain Conferences Access Free Resources Now! Blockchain Glossary Blockchain Flash Cards Blockchain Presentations Blockchain Infographics
  • 24. Trusted By 30,000+ Professionals! Read real stories on Trustpilot and G2Crowd. 500+ reviews
  • 25. The presentation is not intended to provide any investment advice and should not be taken as such. Claims made in this presentation do not constitute investment advice and should not be taken as such. Do your own research! While the information contained in this document and presentation has been obtained from sources believed to be reliable, 101 Blockchains disclaims all warranties as to the completeness or accuracy. Although 101 Blockchains research and training may address business, financial, investment and legal issues, 101 Blockchains does not provide any business, financial, legal or investment advice and this training should not be construed or used as such. 101 Blockchains shall not be responsible for any loss sustained by any person who relies on this presentation. Disclaimer
  • 26. Thank You © 2021 101 Blockchains. All rights reserved. This document may not be distributed, transmitted or reproduced in any form or by any means without 101 Blockchains’ prior written permission. While the information contained in this document has been obtained from sources believed to be reliable, 101 Blockchains disclaims all warranties as to the completeness or accuracy. Although 101 Blockchains research may address business, financial, investment and legal issues, 101 Blockchains does not provide any business, financial, legal or investment advice and this document should not be construed or used as such. 101 Blockchains shall not be responsible for any loss sustained by any person who relies on this publication.