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

Blockchain Tokenization
Blockchain TokenizationBlockchain Tokenization
Blockchain TokenizationBellaj Badr
 
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...Edureka!
 
What is tokenization in blockchain?
What is tokenization in blockchain?What is tokenization in blockchain?
What is tokenization in blockchain?Ulf Mattsson
 
Types of blockchain
Types of blockchainTypes of blockchain
Types of blockchainDarwin Labs
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to BlockchainJordan Harris
 
Blockchain 101 by imran bashir
Blockchain 101  by imran bashirBlockchain 101  by imran bashir
Blockchain 101 by imran bashirImran Bashir
 
An Introduction to Blockchain Technology
An Introduction to Blockchain Technology An Introduction to Blockchain Technology
An Introduction to Blockchain Technology Niuversity
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain PresentationZied GUESMI
 
Smart Contract & Ethereum
Smart Contract & EthereumSmart Contract & Ethereum
Smart Contract & EthereumAkshay Singh
 
Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Fermat Jade
 
Block chain technology and its applications
Block chain technology and its applications Block chain technology and its applications
Block chain technology and its applications ABHISHEK JAIN
 
Blockchain In Government - How The Technology Can Transform Government Services
Blockchain In Government - How The Technology Can Transform Government ServicesBlockchain In Government - How The Technology Can Transform Government Services
Blockchain In Government - How The Technology Can Transform Government ServicesSunil Jagani
 
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
 

What's hot (20)

Blockchain Tokenization
Blockchain TokenizationBlockchain Tokenization
Blockchain Tokenization
 
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
Blockchain Explained | Blockchain Simplified | Blockchain Technology | Blockc...
 
What is quorum Blockchain ?
What is quorum Blockchain ?What is quorum Blockchain ?
What is quorum Blockchain ?
 
Block chain
Block chainBlock chain
Block chain
 
What is tokenization in blockchain?
What is tokenization in blockchain?What is tokenization in blockchain?
What is tokenization in blockchain?
 
Blockchain and Banking
Blockchain and BankingBlockchain and Banking
Blockchain and Banking
 
Types of blockchain
Types of blockchainTypes of blockchain
Types of blockchain
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Blockchain 101 by imran bashir
Blockchain 101  by imran bashirBlockchain 101  by imran bashir
Blockchain 101 by imran bashir
 
An Introduction to Blockchain Technology
An Introduction to Blockchain Technology An Introduction to Blockchain Technology
An Introduction to Blockchain Technology
 
Smart contract
Smart contractSmart contract
Smart contract
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain Presentation
 
Smart Contract & Ethereum
Smart Contract & EthereumSmart Contract & Ethereum
Smart Contract & Ethereum
 
Ethereum Smart contract
Ethereum Smart contractEthereum Smart contract
Ethereum Smart contract
 
Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?
 
Block chain technology and its applications
Block chain technology and its applications Block chain technology and its applications
Block chain technology and its applications
 
Blockchain In Government - How The Technology Can Transform Government Services
Blockchain In Government - How The Technology Can Transform Government ServicesBlockchain In Government - How The Technology Can Transform Government Services
Blockchain In Government - How The Technology Can Transform Government Services
 
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
 
All About Ethereum
All About EthereumAll About Ethereum
All About Ethereum
 

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

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
"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
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
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
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 

Recently uploaded (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
"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 ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 

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