SlideShare a Scribd company logo
1 of 18
Download to read offline
Introduction to
Ethereum Blockchain
Smart Contract
Thanh Nguyen
https://www.linkedin.com/in/nguyennhatthanh
1. BLOCKCHAIN OVERVIEW
§ 1.1. Key Tenets of Blockchain
§ 1.2. Smart Contracts
§ 1.3. Distributed Open Ledger
§ 1.4. Network Consensus
§ 1.5. Secured Transactions
§ 1.6. O2O Protocol: Decentralized Data Sharing | Sharing Economy
1.1. KEY TENETS OF BLOCKCHAIN
O2O PROTOCOL – BLOCKCHAIN SHARING ECONOMY 4/1/18 3
Distributed
Open
Ledger
Network
Consensus
Secured
Transactions
Smart
Contracts
Everyone in the network can see
the ledger and every node in
the network has a synchronized
copy of the Digital Ledger
No transaction can be added
without consensus from everyone
in the network. Special nodes,
called Miners, can validate and
add a transaction in a block &
add to the blockchain
Private-Public Key Cryptography
makes transactions are secure,
authenticated & verifiable
Business Logic (Rules)
embedded in Blockchain
that can be triggered when
certain conditions are met
1.2. SMART CONTRACTS
O2O PROTOCOL – BLOCKCHAIN SHARING ECONOMY 4/1/18 4
A computer program capable of facilitating, executing and enforcing
the negotiation or performance of an Agreement (Contract) using
Blockchain; the process is automated and can act as a substitute for
legal contacts.
What are
Smart
Contracts ?
Implication: future contracts will be on a hybrid paper-plus-code model where contracts
will be verified for authenticity via Blockchain and paper backups will be filed for traditional
recourse.
How They
Work
Use of Smart Contracts in Insurance industry: AXA’s Fizzy is Blockchain-based “parametric
insurance” product with automatic compensation.
Coding
Encryption
and
Broadcasting
Network
Consensus
Updating
Distributed
Ledger
Monitoring
Compliance
Example
1.3. DISTRIBUTED OPEN LEDGER
O2O PROTOCOL – BLOCKCHAIN SHARING ECONOMY 4/1/18 5
Centralized Body
(e.g. Bank)
Centralized
Ledger
£ Every node in the
decentralized
system has a copy of
the ledger
(blockchain)
£ No centralized
“official” copy exists
and no user is trusted
more than the other
£ Transactions are
broadcast to
network
£ Eliminates risk of
data stored centrally
Decentralized
Ledger
1.4. NETWORK CONSENSUS
O2O PROTOCOL – BLOCKCHAIN SHARING ECONOMY 4/1/18 6
Number of nodes required to validate a transaction depends on
the Distributed Ledger Technology being used :
¢ 1 for Open Chain
¢ Simple Majority for Juno
¢ Super Majority for Ripple
¢ All nodes for Casper
¢ Configurable for Stellar
Consensus Rules (Proof-of-Work.)
Consensus Mechanism is central to the functioning of Blockchain –
there is no need to “trust” a central authority
Addition of block to
the existing
Blockchain
Network
Consensus
Miner broadcasts
transition and nonce
value to the network
Miner Node validates
transaction and solves
Proof-of-Work
¢ Syntax validation
¢ Transaction validation
¢ Nonce validation
¢ Timestamp validation
¢ Block-size validation
¢ First transaction validation (Coinbase)
Validations for Consensus
1.5. SECURED TRANSACTIONS
O2O PROTOCOL – BLOCKCHAIN SHARING ECONOMY 4/1/18 7
Wallet &
Transaction
Security
Sender
Private Key
For signatures
Public Key
For addresses
Message
Key Generation
Encryption Algorithm
Public Key
Ciphertext
Receiver
Message
Public Key
• SHA256/SHA160 for crypto. hashing
• Base58/Base58Check encoding for
data compression
Blockchain
Security
Block # 1
Nonce - 16651
Coinbase - $100 -> Anders
Transactions:
NULL
Prev Txn – 000000….
Hash – 000043D….
Block # 2
Nonce - 37284
Coinbase - $100 -> John
Transactions:
$10 from Anders to Sophie
$5 from John to Sophie
Prev Txn – 000043D….
Hash – 0000A5A….
£ Every block identified by hash (SHA 256) value
with Coinbase, Transactions, Previous
transaction as inputs
£ All transactions hashed (Merkle root)
£ All these hashes are Base58 encoded
£ Nonce is a 32 bit field whose value is set so
that hash of a block has run of leading 0s
£ Any alteration in any block will make
subsequent blocks invalid
1.6. O2O PROTOCOL - BENEFITS & FEATURES
O2O PROTOCOL – BLOCKCHAIN SHARING ECONOMY 4/1/18 8
Cost Reduction
Increased Transparency and
without Intermediaries
Reduced Time
Secure Transaction Ledger
with no double spending
Smart
Contracts
Protocol
Schemas
Protocol Schemas support
hundreds of listing types,
including custom verticals
Smart Contracts enable secure
and reliable payments directly
from one party to another
Open &
Shared Data
Open & Shared Data
encourages innovation by
businesses and developers
Identity verification &
reputation data on the Blockchain
ensures safe, reputable partners
Data
2. BLOCKCHAIN ETHEREUM
Ethereum Smart Contract: Development & QA Services
ETHEREUM OVERVIEW
@2018 1/4/18 10
Email : Internet :: Bitcoin : Blockchain 2nd Generation Dapps
Key Tenets
1
Platform for any application building & hence
SCALABLE
2 DApps are JOINTLY OWNED
3
Smart Contract based & hence
NO CENSORSHIP, DOWNTIME, 3RD PARTY INTERFERENCE
4 Based on ETHERS & TOKENS
DEV-QA NEEDS FOR DAPP LIFECYCLE
@2018 1/4/18 11
Access testnet by changing config file
Connect to the Testnet using Ganache
Connect to testnet by selecting
appropriate option when prompted
RUN A NODE IN ETH
NETWORK
Install Ethereum Client
Install Ethereum Mist Wallet /
Metamask Browser Extension
WALLET CREATION,
SEND/RCV ETHER
JavaScript Console
Mist/Metamask Browser
JSON RPC API
CODE SMART
CONTRACTS
Use Solidity
Use LLL
Use Serpent
COMPILE SMART
CONTRACTS
SOLC Compiler
Browser-based Compilers
DEPLOY SMART
CONTRACTS
BUILD DAPPS
RUN & USE DAPPS
1
2
3
4
5
CALL SMART CONTRACTS
WITH APIs
7
Access using APIs
(Blockapps.net) & Browsers
(Metamask, Alrthzero)
Remix IDE, Truffle, Embark, Dapple,
Populus
Can claim ethers for testing
using Ethereum Faucet
Smart Contracts UT
UI Testing of Dapps
Validation of synchronization
Validation of Wallet integration
Validation of Ether
transaction from Wallet
Functional Testing
Non-Functional Testing
Validation of
Transaction from
BlockExplorer
ICO CROWD-SALE
API Testing
6
0 6A Coin Contracts UT
Security Testing
ERC20 Compliance Testing
LEGEND Low Dev-Testing Need Medium-grade Dev-Testing Need High-grade Testing Need
ETHEREUM QUALITY ASSURANCE
@2018 1/4/18 12
Peer Sync Validation
• Comparing the latest
block at the top of
ethstats.net with block
number output in client
node’s log
Unit Testing of Smart
Contracts
• TDD approach using Truffle /
Embark / Dapple / Populus
• UT of Smart Contracts
through other contracts,
including Token Contracts
Functional Testing
• Wallet Integration
• Wallet Interface
• DApp Business Rules
• DApp Workflows
• Cross-Browser/Device
Testing
Non-Functional Testing
• Performance Testing for txn.
throughput validation
• Security Testing – key-based signing &
token-based DApp access
• Usability & Accessibility Testing
Transaction Validation
• Leverage BlockExplorer for
ü Txn. Validation for
receiving/sending Ether
ü Txn. Validation of Smart
Contract deployment
ü Txn. Validation of Token
Contract
User Interface Testing
• Validation of UI aspects like color,
logo, resolution, labels etc.
• Validation of navigability aspects
Compliance Testing
• ERC20 guidelines compliance
API Testing
• DApp API calls for
internal Smart Contract
methods
• DApp API calls for
interfacing application
integration
Blockchain
Tools
ISVs &
Customers
Blockchain
Marketplace
ENTERPRISE-READY BLOCKCHAIN MIDDLEWARE
q The Blockchain Middleware will provide
core services, which will help users create
and build on top of Blockchains.
q Core Services can be broken down into :
Ø Identity and Certificate Services – helps
with authentication, authorization,
access, and lifecycle management.
Ø Encryption Services – provides encryption
for Blockchain transactions and fields
Ø Cryptlet Services – provides runtime for
cryptlets and communication between
blockchain and cryptlet trusted host
Ø Blockchain Gateway Services – provides
communication between multiple
blockchains
Ø Data Services – rich data services, such
as analytics, auditing, and machine
learning
Ø Management and Operations – tools for
deployment and management
@2018 1/4/18 13
POCs
HealthcareRetail &
CPG
GovernmentDiscrete
Manufacturing
Banking,
Capital
Markets
Distributed Ledger Stacks
Cloud
Horizontal SaaS & Adapters
3rd
Part
y
3rd
Party
3rd Party DL
Stack A
1st Party DL Stack
1st Party
3rd
Party
Blockchain Virtual Machine Adapters
Smart Contract-based UTXO + others
MiddlewareBasePlatform
3rd Party DL
Stack B
3rd Party DL
Stack C
….
.
IndustrySolutions
Blockchain Resource Provider
CryptoDelegate & Cryptlet architecture (secure containers, attestation)
Professional Services & Support
Identity &
Key
Services
Crypto
Services
ML & BI
Services
Distributed
Ledger
Gateway
Services
2.1. BLOCKCHAIN >> BITCOIN
FYI only
DEV-QA LANDSCAPE FOR BITCOIN
@2018 1/4/18 15
1
2
3
BitCoin Service Providers
ATMs Exchanges BTC
Wallets
POS
Cards Gateways Merchant
Portals
Escrow
Service
Mining Pools
User 1 User 2 User 3
SideChains
Bitcoin MainChain
TestNet
Dev-QA Landscape for Bitcoin
End
Consumer
ü
ü Area of interest
DEV-QA SERVICES FOR
BTC SERVICE PROVIDER TRANSACTIONS
@2018 1/4/18 16
End Customer Merchant BTC Service Provider Bitcoin Network Risk Analysis
Customer decides to
pay with Bitcoin
1 Payment Request API call
2
Response containing
address (QR code) &
txn details
4
Payment Response3
Bitcoin Payment5
Blockchain details6
Transaction validation request7
Transaction guarantee response 8
Payment Notification9
Payment Confirmation10
Payment Broadcast
Check Payment Status
Payment Status Response
U F
F
S
F S P
V
V
F
Direct to Bank Deposit
V
U Usability Testing F Functional Testing S Security Testing V Service Virtualization P Performance Testing A Automation Testing Services Testing
A
A A
Optional services like
GAP600 that scores and
guarantees bitcoin
transactions as they are
published on the network
@2018 1/4/18 17
TENETS OF OUR STRATEGY
AGILE: FAIL FAST & CHEAP
MIX & MATCH
CREATE & INNOVATE
SHARE SOLUTIONS
PROVISION
https://github.com/o2oprotocol/o2oprotocol
THANK YOU!

More Related Content

What's hot

Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to BlockchainMalak Abu Hammad
 
Learning Solidity
Learning SolidityLearning Solidity
Learning SolidityArnold Pham
 
Brand New Web3 Wallet
Brand New Web3 WalletBrand New Web3 Wallet
Brand New Web3 Walletssuser7259e6
 
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 EthereumMurughan Palaniachari
 
Bitcoin, Ethereum, Smart Contract & Blockchain
Bitcoin, Ethereum, Smart Contract & BlockchainBitcoin, Ethereum, Smart Contract & Blockchain
Bitcoin, Ethereum, Smart Contract & BlockchainJitendra Chittoda
 
solidity programming.pptx
solidity programming.pptxsolidity programming.pptx
solidity programming.pptxRohiniBagul4
 
Overview of Blockchain Consensus Mechanisms
Overview of Blockchain Consensus MechanismsOverview of Blockchain Consensus Mechanisms
Overview of Blockchain Consensus MechanismsJohannes Ahlmann
 
Blockchain basics
Blockchain basicsBlockchain basics
Blockchain basicsRomit Bose
 
Blockchain
BlockchainBlockchain
BlockchainSai Nath
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to BlockchainJordan Harris
 
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 BusinessMerlec Mpyana
 
Blockchain Consensus Protocols
Blockchain Consensus ProtocolsBlockchain Consensus Protocols
Blockchain Consensus ProtocolsMelanie Swan
 
Hyperledger fabric architecture
Hyperledger fabric architectureHyperledger fabric architecture
Hyperledger fabric architectureCeline George
 
Introduction to Corda Blockchain for Developers
Introduction to Corda Blockchain for DevelopersIntroduction to Corda Blockchain for Developers
Introduction to Corda Blockchain for DevelopersR3
 
How does blockchain work
How does blockchain workHow does blockchain work
How does blockchain workShishir Aryal
 
Blockchain Smart Contract v5
Blockchain   Smart Contract v5Blockchain   Smart Contract v5
Blockchain Smart Contract v5MD SAQUIB KHAN
 

What's hot (20)

Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Learning Solidity
Learning SolidityLearning Solidity
Learning Solidity
 
Ethereum
EthereumEthereum
Ethereum
 
Ethereum
EthereumEthereum
Ethereum
 
Brand New Web3 Wallet
Brand New Web3 WalletBrand New Web3 Wallet
Brand New Web3 Wallet
 
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
EthereumEthereum
Ethereum
 
Bitcoin, Ethereum, Smart Contract & Blockchain
Bitcoin, Ethereum, Smart Contract & BlockchainBitcoin, Ethereum, Smart Contract & Blockchain
Bitcoin, Ethereum, Smart Contract & Blockchain
 
solidity programming.pptx
solidity programming.pptxsolidity programming.pptx
solidity programming.pptx
 
Overview of Blockchain Consensus Mechanisms
Overview of Blockchain Consensus MechanismsOverview of Blockchain Consensus Mechanisms
Overview of Blockchain Consensus Mechanisms
 
Blockchain basics
Blockchain basicsBlockchain basics
Blockchain basics
 
Hyperledger Fabric
Hyperledger FabricHyperledger Fabric
Hyperledger Fabric
 
Blockchain
BlockchainBlockchain
Blockchain
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
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
 
Blockchain Consensus Protocols
Blockchain Consensus ProtocolsBlockchain Consensus Protocols
Blockchain Consensus Protocols
 
Hyperledger fabric architecture
Hyperledger fabric architectureHyperledger fabric architecture
Hyperledger fabric architecture
 
Introduction to Corda Blockchain for Developers
Introduction to Corda Blockchain for DevelopersIntroduction to Corda Blockchain for Developers
Introduction to Corda Blockchain for Developers
 
How does blockchain work
How does blockchain workHow does blockchain work
How does blockchain work
 
Blockchain Smart Contract v5
Blockchain   Smart Contract v5Blockchain   Smart Contract v5
Blockchain Smart Contract v5
 

Similar to Introduction to Ethereum Blockchain & Smart Contract

Blockchain a-new-disruption-in-financial-servies - IBM
Blockchain a-new-disruption-in-financial-servies - IBMBlockchain a-new-disruption-in-financial-servies - IBM
Blockchain a-new-disruption-in-financial-servies - IBMDiego Alberto Tamayo
 
Blockchain a-new-disruption-in-financial-servies by ibm
Blockchain a-new-disruption-in-financial-servies by ibm Blockchain a-new-disruption-in-financial-servies by ibm
Blockchain a-new-disruption-in-financial-servies by ibm Diego Alberto Tamayo
 
Blockchain a-new-disruption-in-financial-services - IBM
Blockchain a-new-disruption-in-financial-services - IBMBlockchain a-new-disruption-in-financial-services - IBM
Blockchain a-new-disruption-in-financial-services - IBMDiego Alberto Tamayo
 
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 / RWEJohn Lilic
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsSaad Zaher
 
Blockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsBlockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsIngo Weber
 
Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)Tomoaki Sato
 
Blockchain technology.docx
Blockchain technology.docxBlockchain technology.docx
Blockchain technology.docxaymenabbaci
 
Lapine blockchain introduction 10/04/2018
Lapine blockchain introduction 10/04/2018Lapine blockchain introduction 10/04/2018
Lapine blockchain introduction 10/04/2018Chuck Bair
 
How to Build Your Blockchain Project with Chainstack
How to Build Your Blockchain Project with ChainstackHow to Build Your Blockchain Project with Chainstack
How to Build Your Blockchain Project with ChainstackChainstack
 
Blockchian introduction
Blockchian introductionBlockchian introduction
Blockchian introductionkesavan N B
 
Getting started with quorum -101
Getting started with quorum -101  Getting started with quorum -101
Getting started with quorum -101 Chainstack
 
Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric Araf Karsh Hamid
 
Ethereum Block Chain
Ethereum Block ChainEthereum Block Chain
Ethereum Block ChainSanatPandoh
 
Interledger DvP Settlement on Amazon Managed Blockchain
Interledger DvP Settlement on Amazon Managed BlockchainInterledger DvP Settlement on Amazon Managed Blockchain
Interledger DvP Settlement on Amazon Managed BlockchainAmazon Web Services
 

Similar to Introduction to Ethereum Blockchain & Smart Contract (20)

Ethereum vs fabric vs corda
Ethereum vs fabric vs cordaEthereum vs fabric vs corda
Ethereum vs fabric vs corda
 
Blockchain a-new-disruption-in-financial-servies - IBM
Blockchain a-new-disruption-in-financial-servies - IBMBlockchain a-new-disruption-in-financial-servies - IBM
Blockchain a-new-disruption-in-financial-servies - IBM
 
Blockchain a-new-disruption-in-financial-servies by ibm
Blockchain a-new-disruption-in-financial-servies by ibm Blockchain a-new-disruption-in-financial-servies by ibm
Blockchain a-new-disruption-in-financial-servies by ibm
 
Blockchain a-new-disruption-in-financial-services - IBM
Blockchain a-new-disruption-in-financial-services - IBMBlockchain a-new-disruption-in-financial-services - IBM
Blockchain a-new-disruption-in-financial-services - IBM
 
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
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart Contracts
 
Blockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and ApplicationsBlockchain and BPM - Reflections on Four Years of Research and Applications
Blockchain and BPM - Reflections on Four Years of Research and Applications
 
Blockchain
BlockchainBlockchain
Blockchain
 
Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)Ethereum Devcon1 Report (summary writing)
Ethereum Devcon1 Report (summary writing)
 
Blockchain technology.docx
Blockchain technology.docxBlockchain technology.docx
Blockchain technology.docx
 
Lapine blockchain introduction 10/04/2018
Lapine blockchain introduction 10/04/2018Lapine blockchain introduction 10/04/2018
Lapine blockchain introduction 10/04/2018
 
How to Build Your Blockchain Project with Chainstack
How to Build Your Blockchain Project with ChainstackHow to Build Your Blockchain Project with Chainstack
How to Build Your Blockchain Project with Chainstack
 
Blockchian introduction
Blockchian introductionBlockchian introduction
Blockchian introduction
 
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
 
Getting started with quorum -101
Getting started with quorum -101  Getting started with quorum -101
Getting started with quorum -101
 
Block chain
Block chainBlock chain
Block chain
 
Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric Blockchain Intro to Hyperledger Fabric
Blockchain Intro to Hyperledger Fabric
 
Ethereum Block Chain
Ethereum Block ChainEthereum Block Chain
Ethereum Block Chain
 
Interledger DvP Settlement on Amazon Managed Blockchain
Interledger DvP Settlement on Amazon Managed BlockchainInterledger DvP Settlement on Amazon Managed Blockchain
Interledger DvP Settlement on Amazon Managed Blockchain
 
Hyperledger introduction
Hyperledger introductionHyperledger introduction
Hyperledger introduction
 

More from Thanh Nguyen

Building a NFT Marketplace DApp
Building a NFT Marketplace DAppBuilding a NFT Marketplace DApp
Building a NFT Marketplace DAppThanh Nguyen
 
Serverless Architecture 101 ⚡
Serverless Architecture 101 ⚡Serverless Architecture 101 ⚡
Serverless Architecture 101 ⚡Thanh Nguyen
 
The fundamentals of AWS Cloud Security 🛠⛅️🚀
The fundamentals of AWS Cloud Security 🛠⛅️🚀The fundamentals of AWS Cloud Security 🛠⛅️🚀
The fundamentals of AWS Cloud Security 🛠⛅️🚀Thanh Nguyen
 
Migrating Monolithic Applications with the Strangler Pattern
Migrating Monolithic Applications with the Strangler Pattern Migrating Monolithic Applications with the Strangler Pattern
Migrating Monolithic Applications with the Strangler Pattern Thanh Nguyen
 
E301 Elastic Beanstalk PaaS
E301 Elastic Beanstalk PaaSE301 Elastic Beanstalk PaaS
E301 Elastic Beanstalk PaaSThanh Nguyen
 
Serverless Data Lake on AWS
Serverless Data Lake on AWSServerless Data Lake on AWS
Serverless Data Lake on AWSThanh Nguyen
 
SmartChat WhatsApp-clone using AWS Amplify AppSync
SmartChat WhatsApp-clone using AWS Amplify AppSyncSmartChat WhatsApp-clone using AWS Amplify AppSync
SmartChat WhatsApp-clone using AWS Amplify AppSyncThanh Nguyen
 
Amazon AWS Free-Tier
Amazon AWS Free-TierAmazon AWS Free-Tier
Amazon AWS Free-TierThanh Nguyen
 
Rapid Software Development Process
Rapid Software Development ProcessRapid Software Development Process
Rapid Software Development ProcessThanh Nguyen
 
PMI ACP Classroom Question Paper
PMI ACP Classroom Question PaperPMI ACP Classroom Question Paper
PMI ACP Classroom Question PaperThanh Nguyen
 
PMI ACP Classroom Question Paper with Answers
PMI ACP Classroom Question Paper with AnswersPMI ACP Classroom Question Paper with Answers
PMI ACP Classroom Question Paper with AnswersThanh Nguyen
 
PMI-ACP Case Study
PMI-ACP Case StudyPMI-ACP Case Study
PMI-ACP Case StudyThanh Nguyen
 
PMI-ACP Lesson 12 Knowledge and Skills Nugget 4
PMI-ACP Lesson 12 Knowledge and Skills Nugget 4PMI-ACP Lesson 12 Knowledge and Skills Nugget 4
PMI-ACP Lesson 12 Knowledge and Skills Nugget 4Thanh Nguyen
 
PMI-ACP Lesson 12 Knowledge and Skills Nugget 3
PMI-ACP Lesson 12 Knowledge and Skills Nugget 3PMI-ACP Lesson 12 Knowledge and Skills Nugget 3
PMI-ACP Lesson 12 Knowledge and Skills Nugget 3Thanh Nguyen
 
PMI-ACP Lesson 12 Knowledge and Skills Nugget 2
PMI-ACP Lesson 12 Knowledge and Skills Nugget 2PMI-ACP Lesson 12 Knowledge and Skills Nugget 2
PMI-ACP Lesson 12 Knowledge and Skills Nugget 2Thanh Nguyen
 
PMI-ACP Lesson 12 Knowledge and Skills Nugget 1
PMI-ACP Lesson 12 Knowledge and Skills Nugget 1PMI-ACP Lesson 12 Knowledge and Skills Nugget 1
PMI-ACP Lesson 12 Knowledge and Skills Nugget 1Thanh Nguyen
 
PMI-ACP Lesson 11 Agile Value Stream Analysis
PMI-ACP Lesson 11 Agile Value Stream AnalysisPMI-ACP Lesson 11 Agile Value Stream Analysis
PMI-ACP Lesson 11 Agile Value Stream AnalysisThanh Nguyen
 
PMI-ACP Lesson 10 Agile Metrics
PMI-ACP Lesson 10 Agile MetricsPMI-ACP Lesson 10 Agile Metrics
PMI-ACP Lesson 10 Agile MetricsThanh Nguyen
 
PMI-ACP Lesson 9 Agile Risk Management
PMI-ACP Lesson 9 Agile Risk ManagementPMI-ACP Lesson 9 Agile Risk Management
PMI-ACP Lesson 9 Agile Risk ManagementThanh Nguyen
 
PMI-ACP Lesson 08 Nugget 2 Agile & Scrum - Value-Based Prioritization
PMI-ACP Lesson 08 Nugget 2 Agile & Scrum - Value-Based PrioritizationPMI-ACP Lesson 08 Nugget 2 Agile & Scrum - Value-Based Prioritization
PMI-ACP Lesson 08 Nugget 2 Agile & Scrum - Value-Based PrioritizationThanh Nguyen
 

More from Thanh Nguyen (20)

Building a NFT Marketplace DApp
Building a NFT Marketplace DAppBuilding a NFT Marketplace DApp
Building a NFT Marketplace DApp
 
Serverless Architecture 101 ⚡
Serverless Architecture 101 ⚡Serverless Architecture 101 ⚡
Serverless Architecture 101 ⚡
 
The fundamentals of AWS Cloud Security 🛠⛅️🚀
The fundamentals of AWS Cloud Security 🛠⛅️🚀The fundamentals of AWS Cloud Security 🛠⛅️🚀
The fundamentals of AWS Cloud Security 🛠⛅️🚀
 
Migrating Monolithic Applications with the Strangler Pattern
Migrating Monolithic Applications with the Strangler Pattern Migrating Monolithic Applications with the Strangler Pattern
Migrating Monolithic Applications with the Strangler Pattern
 
E301 Elastic Beanstalk PaaS
E301 Elastic Beanstalk PaaSE301 Elastic Beanstalk PaaS
E301 Elastic Beanstalk PaaS
 
Serverless Data Lake on AWS
Serverless Data Lake on AWSServerless Data Lake on AWS
Serverless Data Lake on AWS
 
SmartChat WhatsApp-clone using AWS Amplify AppSync
SmartChat WhatsApp-clone using AWS Amplify AppSyncSmartChat WhatsApp-clone using AWS Amplify AppSync
SmartChat WhatsApp-clone using AWS Amplify AppSync
 
Amazon AWS Free-Tier
Amazon AWS Free-TierAmazon AWS Free-Tier
Amazon AWS Free-Tier
 
Rapid Software Development Process
Rapid Software Development ProcessRapid Software Development Process
Rapid Software Development Process
 
PMI ACP Classroom Question Paper
PMI ACP Classroom Question PaperPMI ACP Classroom Question Paper
PMI ACP Classroom Question Paper
 
PMI ACP Classroom Question Paper with Answers
PMI ACP Classroom Question Paper with AnswersPMI ACP Classroom Question Paper with Answers
PMI ACP Classroom Question Paper with Answers
 
PMI-ACP Case Study
PMI-ACP Case StudyPMI-ACP Case Study
PMI-ACP Case Study
 
PMI-ACP Lesson 12 Knowledge and Skills Nugget 4
PMI-ACP Lesson 12 Knowledge and Skills Nugget 4PMI-ACP Lesson 12 Knowledge and Skills Nugget 4
PMI-ACP Lesson 12 Knowledge and Skills Nugget 4
 
PMI-ACP Lesson 12 Knowledge and Skills Nugget 3
PMI-ACP Lesson 12 Knowledge and Skills Nugget 3PMI-ACP Lesson 12 Knowledge and Skills Nugget 3
PMI-ACP Lesson 12 Knowledge and Skills Nugget 3
 
PMI-ACP Lesson 12 Knowledge and Skills Nugget 2
PMI-ACP Lesson 12 Knowledge and Skills Nugget 2PMI-ACP Lesson 12 Knowledge and Skills Nugget 2
PMI-ACP Lesson 12 Knowledge and Skills Nugget 2
 
PMI-ACP Lesson 12 Knowledge and Skills Nugget 1
PMI-ACP Lesson 12 Knowledge and Skills Nugget 1PMI-ACP Lesson 12 Knowledge and Skills Nugget 1
PMI-ACP Lesson 12 Knowledge and Skills Nugget 1
 
PMI-ACP Lesson 11 Agile Value Stream Analysis
PMI-ACP Lesson 11 Agile Value Stream AnalysisPMI-ACP Lesson 11 Agile Value Stream Analysis
PMI-ACP Lesson 11 Agile Value Stream Analysis
 
PMI-ACP Lesson 10 Agile Metrics
PMI-ACP Lesson 10 Agile MetricsPMI-ACP Lesson 10 Agile Metrics
PMI-ACP Lesson 10 Agile Metrics
 
PMI-ACP Lesson 9 Agile Risk Management
PMI-ACP Lesson 9 Agile Risk ManagementPMI-ACP Lesson 9 Agile Risk Management
PMI-ACP Lesson 9 Agile Risk Management
 
PMI-ACP Lesson 08 Nugget 2 Agile & Scrum - Value-Based Prioritization
PMI-ACP Lesson 08 Nugget 2 Agile & Scrum - Value-Based PrioritizationPMI-ACP Lesson 08 Nugget 2 Agile & Scrum - Value-Based Prioritization
PMI-ACP Lesson 08 Nugget 2 Agile & Scrum - Value-Based Prioritization
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightSafe Software
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....rightmanforbloodline
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxMarkSteadman7
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaWSO2
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governanceWSO2
 

Recently uploaded (20)

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 

Introduction to Ethereum Blockchain & Smart Contract

  • 1. Introduction to Ethereum Blockchain Smart Contract Thanh Nguyen https://www.linkedin.com/in/nguyennhatthanh
  • 2. 1. BLOCKCHAIN OVERVIEW § 1.1. Key Tenets of Blockchain § 1.2. Smart Contracts § 1.3. Distributed Open Ledger § 1.4. Network Consensus § 1.5. Secured Transactions § 1.6. O2O Protocol: Decentralized Data Sharing | Sharing Economy
  • 3. 1.1. KEY TENETS OF BLOCKCHAIN O2O PROTOCOL – BLOCKCHAIN SHARING ECONOMY 4/1/18 3 Distributed Open Ledger Network Consensus Secured Transactions Smart Contracts Everyone in the network can see the ledger and every node in the network has a synchronized copy of the Digital Ledger No transaction can be added without consensus from everyone in the network. Special nodes, called Miners, can validate and add a transaction in a block & add to the blockchain Private-Public Key Cryptography makes transactions are secure, authenticated & verifiable Business Logic (Rules) embedded in Blockchain that can be triggered when certain conditions are met
  • 4. 1.2. SMART CONTRACTS O2O PROTOCOL – BLOCKCHAIN SHARING ECONOMY 4/1/18 4 A computer program capable of facilitating, executing and enforcing the negotiation or performance of an Agreement (Contract) using Blockchain; the process is automated and can act as a substitute for legal contacts. What are Smart Contracts ? Implication: future contracts will be on a hybrid paper-plus-code model where contracts will be verified for authenticity via Blockchain and paper backups will be filed for traditional recourse. How They Work Use of Smart Contracts in Insurance industry: AXA’s Fizzy is Blockchain-based “parametric insurance” product with automatic compensation. Coding Encryption and Broadcasting Network Consensus Updating Distributed Ledger Monitoring Compliance Example
  • 5. 1.3. DISTRIBUTED OPEN LEDGER O2O PROTOCOL – BLOCKCHAIN SHARING ECONOMY 4/1/18 5 Centralized Body (e.g. Bank) Centralized Ledger £ Every node in the decentralized system has a copy of the ledger (blockchain) £ No centralized “official” copy exists and no user is trusted more than the other £ Transactions are broadcast to network £ Eliminates risk of data stored centrally Decentralized Ledger
  • 6. 1.4. NETWORK CONSENSUS O2O PROTOCOL – BLOCKCHAIN SHARING ECONOMY 4/1/18 6 Number of nodes required to validate a transaction depends on the Distributed Ledger Technology being used : ¢ 1 for Open Chain ¢ Simple Majority for Juno ¢ Super Majority for Ripple ¢ All nodes for Casper ¢ Configurable for Stellar Consensus Rules (Proof-of-Work.) Consensus Mechanism is central to the functioning of Blockchain – there is no need to “trust” a central authority Addition of block to the existing Blockchain Network Consensus Miner broadcasts transition and nonce value to the network Miner Node validates transaction and solves Proof-of-Work ¢ Syntax validation ¢ Transaction validation ¢ Nonce validation ¢ Timestamp validation ¢ Block-size validation ¢ First transaction validation (Coinbase) Validations for Consensus
  • 7. 1.5. SECURED TRANSACTIONS O2O PROTOCOL – BLOCKCHAIN SHARING ECONOMY 4/1/18 7 Wallet & Transaction Security Sender Private Key For signatures Public Key For addresses Message Key Generation Encryption Algorithm Public Key Ciphertext Receiver Message Public Key • SHA256/SHA160 for crypto. hashing • Base58/Base58Check encoding for data compression Blockchain Security Block # 1 Nonce - 16651 Coinbase - $100 -> Anders Transactions: NULL Prev Txn – 000000…. Hash – 000043D…. Block # 2 Nonce - 37284 Coinbase - $100 -> John Transactions: $10 from Anders to Sophie $5 from John to Sophie Prev Txn – 000043D…. Hash – 0000A5A…. £ Every block identified by hash (SHA 256) value with Coinbase, Transactions, Previous transaction as inputs £ All transactions hashed (Merkle root) £ All these hashes are Base58 encoded £ Nonce is a 32 bit field whose value is set so that hash of a block has run of leading 0s £ Any alteration in any block will make subsequent blocks invalid
  • 8. 1.6. O2O PROTOCOL - BENEFITS & FEATURES O2O PROTOCOL – BLOCKCHAIN SHARING ECONOMY 4/1/18 8 Cost Reduction Increased Transparency and without Intermediaries Reduced Time Secure Transaction Ledger with no double spending Smart Contracts Protocol Schemas Protocol Schemas support hundreds of listing types, including custom verticals Smart Contracts enable secure and reliable payments directly from one party to another Open & Shared Data Open & Shared Data encourages innovation by businesses and developers Identity verification & reputation data on the Blockchain ensures safe, reputable partners Data
  • 9. 2. BLOCKCHAIN ETHEREUM Ethereum Smart Contract: Development & QA Services
  • 10. ETHEREUM OVERVIEW @2018 1/4/18 10 Email : Internet :: Bitcoin : Blockchain 2nd Generation Dapps Key Tenets 1 Platform for any application building & hence SCALABLE 2 DApps are JOINTLY OWNED 3 Smart Contract based & hence NO CENSORSHIP, DOWNTIME, 3RD PARTY INTERFERENCE 4 Based on ETHERS & TOKENS
  • 11. DEV-QA NEEDS FOR DAPP LIFECYCLE @2018 1/4/18 11 Access testnet by changing config file Connect to the Testnet using Ganache Connect to testnet by selecting appropriate option when prompted RUN A NODE IN ETH NETWORK Install Ethereum Client Install Ethereum Mist Wallet / Metamask Browser Extension WALLET CREATION, SEND/RCV ETHER JavaScript Console Mist/Metamask Browser JSON RPC API CODE SMART CONTRACTS Use Solidity Use LLL Use Serpent COMPILE SMART CONTRACTS SOLC Compiler Browser-based Compilers DEPLOY SMART CONTRACTS BUILD DAPPS RUN & USE DAPPS 1 2 3 4 5 CALL SMART CONTRACTS WITH APIs 7 Access using APIs (Blockapps.net) & Browsers (Metamask, Alrthzero) Remix IDE, Truffle, Embark, Dapple, Populus Can claim ethers for testing using Ethereum Faucet Smart Contracts UT UI Testing of Dapps Validation of synchronization Validation of Wallet integration Validation of Ether transaction from Wallet Functional Testing Non-Functional Testing Validation of Transaction from BlockExplorer ICO CROWD-SALE API Testing 6 0 6A Coin Contracts UT Security Testing ERC20 Compliance Testing LEGEND Low Dev-Testing Need Medium-grade Dev-Testing Need High-grade Testing Need
  • 12. ETHEREUM QUALITY ASSURANCE @2018 1/4/18 12 Peer Sync Validation • Comparing the latest block at the top of ethstats.net with block number output in client node’s log Unit Testing of Smart Contracts • TDD approach using Truffle / Embark / Dapple / Populus • UT of Smart Contracts through other contracts, including Token Contracts Functional Testing • Wallet Integration • Wallet Interface • DApp Business Rules • DApp Workflows • Cross-Browser/Device Testing Non-Functional Testing • Performance Testing for txn. throughput validation • Security Testing – key-based signing & token-based DApp access • Usability & Accessibility Testing Transaction Validation • Leverage BlockExplorer for ü Txn. Validation for receiving/sending Ether ü Txn. Validation of Smart Contract deployment ü Txn. Validation of Token Contract User Interface Testing • Validation of UI aspects like color, logo, resolution, labels etc. • Validation of navigability aspects Compliance Testing • ERC20 guidelines compliance API Testing • DApp API calls for internal Smart Contract methods • DApp API calls for interfacing application integration
  • 13. Blockchain Tools ISVs & Customers Blockchain Marketplace ENTERPRISE-READY BLOCKCHAIN MIDDLEWARE q The Blockchain Middleware will provide core services, which will help users create and build on top of Blockchains. q Core Services can be broken down into : Ø Identity and Certificate Services – helps with authentication, authorization, access, and lifecycle management. Ø Encryption Services – provides encryption for Blockchain transactions and fields Ø Cryptlet Services – provides runtime for cryptlets and communication between blockchain and cryptlet trusted host Ø Blockchain Gateway Services – provides communication between multiple blockchains Ø Data Services – rich data services, such as analytics, auditing, and machine learning Ø Management and Operations – tools for deployment and management @2018 1/4/18 13 POCs HealthcareRetail & CPG GovernmentDiscrete Manufacturing Banking, Capital Markets Distributed Ledger Stacks Cloud Horizontal SaaS & Adapters 3rd Part y 3rd Party 3rd Party DL Stack A 1st Party DL Stack 1st Party 3rd Party Blockchain Virtual Machine Adapters Smart Contract-based UTXO + others MiddlewareBasePlatform 3rd Party DL Stack B 3rd Party DL Stack C …. . IndustrySolutions Blockchain Resource Provider CryptoDelegate & Cryptlet architecture (secure containers, attestation) Professional Services & Support Identity & Key Services Crypto Services ML & BI Services Distributed Ledger Gateway Services
  • 14. 2.1. BLOCKCHAIN >> BITCOIN FYI only
  • 15. DEV-QA LANDSCAPE FOR BITCOIN @2018 1/4/18 15 1 2 3 BitCoin Service Providers ATMs Exchanges BTC Wallets POS Cards Gateways Merchant Portals Escrow Service Mining Pools User 1 User 2 User 3 SideChains Bitcoin MainChain TestNet Dev-QA Landscape for Bitcoin End Consumer ü ü Area of interest
  • 16. DEV-QA SERVICES FOR BTC SERVICE PROVIDER TRANSACTIONS @2018 1/4/18 16 End Customer Merchant BTC Service Provider Bitcoin Network Risk Analysis Customer decides to pay with Bitcoin 1 Payment Request API call 2 Response containing address (QR code) & txn details 4 Payment Response3 Bitcoin Payment5 Blockchain details6 Transaction validation request7 Transaction guarantee response 8 Payment Notification9 Payment Confirmation10 Payment Broadcast Check Payment Status Payment Status Response U F F S F S P V V F Direct to Bank Deposit V U Usability Testing F Functional Testing S Security Testing V Service Virtualization P Performance Testing A Automation Testing Services Testing A A A Optional services like GAP600 that scores and guarantees bitcoin transactions as they are published on the network
  • 17. @2018 1/4/18 17 TENETS OF OUR STRATEGY AGILE: FAIL FAST & CHEAP MIX & MATCH CREATE & INNOVATE SHARE SOLUTIONS PROVISION