SlideShare una empresa de Scribd logo
1 de 13
11
Corda Developer Bootcamp
• Youtube: youtube.com/cordablockchain
• Slack CordaLedger: slack.corda.net
• Corda docs: docs.corda.net
• Free Training Site: training.corda.net
• Github Repository: github.com/corda
• Email Contact: devrel@r3.com
• Twitter: @Cordablockchain @inside_r3, hashtags #Corda, #r3
Corda References
CorDapp
Corda - Decentralized - Application
• Decentralized Application: computer application that runs on a distributed computing system. It is also sometimes
referred as smart contracts.
Whistle-blowing-cordapp.jars
A B
C
hello-world-cordapp.jars
hello-world-cordapp.jars
hello-world-cordapp.jars
Whistle-blowing-cordapp.jars
• CorDapps are binary jars that are stored inside the Corda nodes, and each node can carry multiple CorDapps.
Components of a CorDapp (Smart Contracts on a Corda network)
2. Contract:
Verify the transactions
3. Flow:
Execute the business logic
1. State:
The object in Corda State
1. Get consumed
2. Get updated
3. Get stored
Live Coding Session!
Objective:
• Building a Token Cordapp to showcase the
issuance of a Token
What files do we need implement:
• TokenState.java
• TokenContract.java
• TokenIssueFlowInitiator.java
Corda States in Cordapp
• States are the objects we want to represent digitally.
• They only exist in the participating nodes of the specific transactions.
• Our State lives in TokenState.java
TokenState
implements ContractState
PROPERTIES
Party issuer
Party owner
int amount
Existing State
Input
Desired
Output State
Output
Calculation
Encapsulate into
Transaction
Desired
Output State
Output
Existing StateInput
Transaction
Corda Contracts in CorDapp
✅
✅
✅
Contract Rules:
Rule #1
Rule #2
Rule #3
Rules need to be
followed during a
transaction
Ledger update
Recording
• Ledger update is done through transactions in the flows
• Contracts verify the validity of a transaction: SUCCESS ✅
Existing State
Input
Desired
Output State
Output
Encapsulate into
Transaction
Desired
Output State
Output
Existing StateInput
Transaction
✅
✅
❌
Contract Rules:
Rule #1
Rule #2
Rule #3
Rules need to be
followed during a
transaction
!REJECT!
Ledger update
Recording
Calculation
Corda Contracts in CorDapp
• Ledger update is done through transactions in the flows
• Contracts verify the validity of a transaction: FAILURE ❌
Issuance Transaction
No inputs
One output,
amount is positive
One issue command,
issuer is required signer
TokenState
issuer
owner
amount > 0
participants = issuer, owner
Issue
(issuer)
Inputs Outputs
Corda Contracts in CorDapp
• In our Token CorDapp, we will implement an issuance transaction.
Corda Contracts in CorDapp
sss
1. No inputs
2. One output
3. Output is TokenState
4. Issuer is required signer
5. Owner must be required signer
6. Owner's Amount field is positive
TokenContract.java
implements Contract
public void verify(LedgerTransaction tx) {
}
• Our contract code in TokenContract.java
SIGN
UPDATE
PROPOSE
UPDATE
SEND
(UPDATE + 2 SIGS)
CHECK
UPDATE
NOTARY
POOL
SIGN
UPDATE
SEND
(UPDATE + 3 SIGS)
END
SEND
(UPDATE + 3 SIGS)
RECORD
UPDATE
RECORD
UPDATE
END
END
NODE A
NODE B
SIGN
UPDATE
SEND
(UPDATE + 1 SIG)
SEND
(UPDATE + 2 SIGS)
CHECK
UPDATE
Corda Flows in CorDapp
• Flows execute the business logic
• Flows consist of two classes (Initiator & Responder)
• Youtube: youtube.com/cordablockchain
• Free Training Site: training.corda.net
• Slack CordaLedger: slack.corda.net
• Corda docs: docs.corda.net
• Github Repository: github.com/corda
• Email Contact: devrel@r3.com
• Twitter: @Cordablockchain @inside_r3, hashtags #Corda, #r3
Corda Reference
London
2 London Wall Place,
London, EC2Y 5AU
San Francisco
655 Montgomery St., 6th floor
San Francisco, CA 94111
www.r3.com | corda.net
Thank you
New York
11 West 42nd Street, 8th Floor
New York, NY 10036
Singapore
18 Robinson Road, Level #14-02
Singapore, 048547
Dublin
Lennox Building
50 Richmond St South
Saint Kevin’s, Dublin,
D02FK02
Hong Kong
Bonham Strand, 7F Office 18-
121
Hong Kong
São Paulo
Av. Angélica, 2529
Bela Vista- 6th Floor
São Paulo - SP, 01227-200, Brazil
Mumbai
01A108, WeWork Enam Samhav, C-
20, G Block, Bandra Kurla Complex,
Mumbai, 400051, India
Tokyo
Izumi Garden Tower 19F,
1–6-1 Roppongi, Minato-ku,
Tokyo 106-6019, JAPAN
Headquarters:
@inside_r3 | @cordablockchain
linkedin.com/company/r3cev-llc
Regional:

Más contenido relacionado

Más de R3

BizDay: Usage Based Insurance and Fleet Management, Infosys
BizDay: Usage Based Insurance and Fleet Management, InfosysBizDay: Usage Based Insurance and Fleet Management, Infosys
BizDay: Usage Based Insurance and Fleet Management, InfosysR3
 
DevDay: Managing a Distributed Network on a Common Infra, SIA
DevDay: Managing a Distributed Network on a Common Infra, SIADevDay: Managing a Distributed Network on a Common Infra, SIA
DevDay: Managing a Distributed Network on a Common Infra, SIAR3
 
BizDay: Improving Remittances in the World's 2nd Largest Corridor, Digiledge
BizDay: Improving Remittances in the World's 2nd Largest Corridor, DigiledgeBizDay: Improving Remittances in the World's 2nd Largest Corridor, Digiledge
BizDay: Improving Remittances in the World's 2nd Largest Corridor, DigiledgeR3
 
BizDay: Designing the Future of Payments, Mastercard
BizDay: Designing the Future of Payments, MastercardBizDay: Designing the Future of Payments, Mastercard
BizDay: Designing the Future of Payments, MastercardR3
 
DevDay: Developer Updates: Visual Studio Code, Java 11 and OpenAPI (oh my), L...
DevDay: Developer Updates: Visual Studio Code, Java 11 and OpenAPI (oh my), L...DevDay: Developer Updates: Visual Studio Code, Java 11 and OpenAPI (oh my), L...
DevDay: Developer Updates: Visual Studio Code, Java 11 and OpenAPI (oh my), L...R3
 
DevDay: Node Analytics with Python, Chainhaus
DevDay: Node Analytics with Python, ChainhausDevDay: Node Analytics with Python, Chainhaus
DevDay: Node Analytics with Python, ChainhausR3
 
DevDay: Getting Started with Tokens and Accounts, R3
DevDay: Getting Started with Tokens and Accounts, R3DevDay: Getting Started with Tokens and Accounts, R3
DevDay: Getting Started with Tokens and Accounts, R3R3
 
BizDay: Transition to DLT in RTGS payments, Accenture, SAP
BizDay: Transition to DLT in RTGS payments, Accenture, SAPBizDay: Transition to DLT in RTGS payments, Accenture, SAP
BizDay: Transition to DLT in RTGS payments, Accenture, SAPR3
 
BizDay: Connecting Construction & Insurance Ecosystem, Tinubu Square
BizDay: Connecting Construction & Insurance Ecosystem, Tinubu SquareBizDay: Connecting Construction & Insurance Ecosystem, Tinubu Square
BizDay: Connecting Construction & Insurance Ecosystem, Tinubu SquareR3
 
BizDay: The Wholesale Food Supply Chain is Ripe for Transformation, ripe.io
BizDay: The Wholesale Food Supply Chain is Ripe for Transformation, ripe.ioBizDay: The Wholesale Food Supply Chain is Ripe for Transformation, ripe.io
BizDay: The Wholesale Food Supply Chain is Ripe for Transformation, ripe.ioR3
 
BizDay: Fully Managed Corda Enterprise with Azure Blockchain Service, Microsoft
BizDay: Fully Managed Corda Enterprise with Azure Blockchain Service, MicrosoftBizDay: Fully Managed Corda Enterprise with Azure Blockchain Service, Microsoft
BizDay: Fully Managed Corda Enterprise with Azure Blockchain Service, MicrosoftR3
 
BizDay: Truck Wallet, Daimler, KI Decentralized
BizDay: Truck Wallet, Daimler, KI DecentralizedBizDay: Truck Wallet, Daimler, KI Decentralized
BizDay: Truck Wallet, Daimler, KI DecentralizedR3
 
BizDay: A View From Behind the Curtain, SIX Exchange
BizDay: A View From Behind the Curtain, SIX ExchangeBizDay: A View From Behind the Curtain, SIX Exchange
BizDay: A View From Behind the Curtain, SIX ExchangeR3
 
BizDay: Finteum Presentation
BizDay: Finteum PresentationBizDay: Finteum Presentation
BizDay: Finteum PresentationR3
 
BizDay: Using Tokens for Payment and Instant Settlement, R3
BizDay: Using Tokens for Payment and Instant Settlement, R3BizDay: Using Tokens for Payment and Instant Settlement, R3
BizDay: Using Tokens for Payment and Instant Settlement, R3R3
 
BizDay: Digital Micro-Lending and Debt Crowd Funding Platform, JVentures
BizDay: Digital Micro-Lending and Debt Crowd Funding Platform, JVenturesBizDay: Digital Micro-Lending and Debt Crowd Funding Platform, JVentures
BizDay: Digital Micro-Lending and Debt Crowd Funding Platform, JVenturesR3
 
BizDay: Trusted Data Exchange for Corp and Supplier Onboarding, Capgemini
BizDay: Trusted Data Exchange for Corp and Supplier Onboarding, CapgeminiBizDay: Trusted Data Exchange for Corp and Supplier Onboarding, Capgemini
BizDay: Trusted Data Exchange for Corp and Supplier Onboarding, CapgeminiR3
 
BizDay: The Path to The Risk Singularity, RiskStream
BizDay: The Path to The Risk Singularity, RiskStreamBizDay: The Path to The Risk Singularity, RiskStream
BizDay: The Path to The Risk Singularity, RiskStreamR3
 
BizDay: Insurtech Challenge, Nationwide
BizDay: Insurtech Challenge, NationwideBizDay: Insurtech Challenge, Nationwide
BizDay: Insurtech Challenge, NationwideR3
 
BizDay: How Corda is Enabling Low Income Families to be Protected, Blocksure
BizDay: How Corda is Enabling Low Income Families to be Protected, BlocksureBizDay: How Corda is Enabling Low Income Families to be Protected, Blocksure
BizDay: How Corda is Enabling Low Income Families to be Protected, BlocksureR3
 

Más de R3 (20)

BizDay: Usage Based Insurance and Fleet Management, Infosys
BizDay: Usage Based Insurance and Fleet Management, InfosysBizDay: Usage Based Insurance and Fleet Management, Infosys
BizDay: Usage Based Insurance and Fleet Management, Infosys
 
DevDay: Managing a Distributed Network on a Common Infra, SIA
DevDay: Managing a Distributed Network on a Common Infra, SIADevDay: Managing a Distributed Network on a Common Infra, SIA
DevDay: Managing a Distributed Network on a Common Infra, SIA
 
BizDay: Improving Remittances in the World's 2nd Largest Corridor, Digiledge
BizDay: Improving Remittances in the World's 2nd Largest Corridor, DigiledgeBizDay: Improving Remittances in the World's 2nd Largest Corridor, Digiledge
BizDay: Improving Remittances in the World's 2nd Largest Corridor, Digiledge
 
BizDay: Designing the Future of Payments, Mastercard
BizDay: Designing the Future of Payments, MastercardBizDay: Designing the Future of Payments, Mastercard
BizDay: Designing the Future of Payments, Mastercard
 
DevDay: Developer Updates: Visual Studio Code, Java 11 and OpenAPI (oh my), L...
DevDay: Developer Updates: Visual Studio Code, Java 11 and OpenAPI (oh my), L...DevDay: Developer Updates: Visual Studio Code, Java 11 and OpenAPI (oh my), L...
DevDay: Developer Updates: Visual Studio Code, Java 11 and OpenAPI (oh my), L...
 
DevDay: Node Analytics with Python, Chainhaus
DevDay: Node Analytics with Python, ChainhausDevDay: Node Analytics with Python, Chainhaus
DevDay: Node Analytics with Python, Chainhaus
 
DevDay: Getting Started with Tokens and Accounts, R3
DevDay: Getting Started with Tokens and Accounts, R3DevDay: Getting Started with Tokens and Accounts, R3
DevDay: Getting Started with Tokens and Accounts, R3
 
BizDay: Transition to DLT in RTGS payments, Accenture, SAP
BizDay: Transition to DLT in RTGS payments, Accenture, SAPBizDay: Transition to DLT in RTGS payments, Accenture, SAP
BizDay: Transition to DLT in RTGS payments, Accenture, SAP
 
BizDay: Connecting Construction & Insurance Ecosystem, Tinubu Square
BizDay: Connecting Construction & Insurance Ecosystem, Tinubu SquareBizDay: Connecting Construction & Insurance Ecosystem, Tinubu Square
BizDay: Connecting Construction & Insurance Ecosystem, Tinubu Square
 
BizDay: The Wholesale Food Supply Chain is Ripe for Transformation, ripe.io
BizDay: The Wholesale Food Supply Chain is Ripe for Transformation, ripe.ioBizDay: The Wholesale Food Supply Chain is Ripe for Transformation, ripe.io
BizDay: The Wholesale Food Supply Chain is Ripe for Transformation, ripe.io
 
BizDay: Fully Managed Corda Enterprise with Azure Blockchain Service, Microsoft
BizDay: Fully Managed Corda Enterprise with Azure Blockchain Service, MicrosoftBizDay: Fully Managed Corda Enterprise with Azure Blockchain Service, Microsoft
BizDay: Fully Managed Corda Enterprise with Azure Blockchain Service, Microsoft
 
BizDay: Truck Wallet, Daimler, KI Decentralized
BizDay: Truck Wallet, Daimler, KI DecentralizedBizDay: Truck Wallet, Daimler, KI Decentralized
BizDay: Truck Wallet, Daimler, KI Decentralized
 
BizDay: A View From Behind the Curtain, SIX Exchange
BizDay: A View From Behind the Curtain, SIX ExchangeBizDay: A View From Behind the Curtain, SIX Exchange
BizDay: A View From Behind the Curtain, SIX Exchange
 
BizDay: Finteum Presentation
BizDay: Finteum PresentationBizDay: Finteum Presentation
BizDay: Finteum Presentation
 
BizDay: Using Tokens for Payment and Instant Settlement, R3
BizDay: Using Tokens for Payment and Instant Settlement, R3BizDay: Using Tokens for Payment and Instant Settlement, R3
BizDay: Using Tokens for Payment and Instant Settlement, R3
 
BizDay: Digital Micro-Lending and Debt Crowd Funding Platform, JVentures
BizDay: Digital Micro-Lending and Debt Crowd Funding Platform, JVenturesBizDay: Digital Micro-Lending and Debt Crowd Funding Platform, JVentures
BizDay: Digital Micro-Lending and Debt Crowd Funding Platform, JVentures
 
BizDay: Trusted Data Exchange for Corp and Supplier Onboarding, Capgemini
BizDay: Trusted Data Exchange for Corp and Supplier Onboarding, CapgeminiBizDay: Trusted Data Exchange for Corp and Supplier Onboarding, Capgemini
BizDay: Trusted Data Exchange for Corp and Supplier Onboarding, Capgemini
 
BizDay: The Path to The Risk Singularity, RiskStream
BizDay: The Path to The Risk Singularity, RiskStreamBizDay: The Path to The Risk Singularity, RiskStream
BizDay: The Path to The Risk Singularity, RiskStream
 
BizDay: Insurtech Challenge, Nationwide
BizDay: Insurtech Challenge, NationwideBizDay: Insurtech Challenge, Nationwide
BizDay: Insurtech Challenge, Nationwide
 
BizDay: How Corda is Enabling Low Income Families to be Protected, Blocksure
BizDay: How Corda is Enabling Low Income Families to be Protected, BlocksureBizDay: How Corda is Enabling Low Income Families to be Protected, Blocksure
BizDay: How Corda is Enabling Low Income Families to be Protected, Blocksure
 

Último

Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxPurva Nikam
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniquesugginaramesh
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 

Último (20)

Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
An introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptxAn introduction to Semiconductor and its types.pptx
An introduction to Semiconductor and its types.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniques
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 

Corda Developer Bootcamp

  • 2. • Youtube: youtube.com/cordablockchain • Slack CordaLedger: slack.corda.net • Corda docs: docs.corda.net • Free Training Site: training.corda.net • Github Repository: github.com/corda • Email Contact: devrel@r3.com • Twitter: @Cordablockchain @inside_r3, hashtags #Corda, #r3 Corda References
  • 3. CorDapp Corda - Decentralized - Application • Decentralized Application: computer application that runs on a distributed computing system. It is also sometimes referred as smart contracts. Whistle-blowing-cordapp.jars A B C hello-world-cordapp.jars hello-world-cordapp.jars hello-world-cordapp.jars Whistle-blowing-cordapp.jars • CorDapps are binary jars that are stored inside the Corda nodes, and each node can carry multiple CorDapps.
  • 4. Components of a CorDapp (Smart Contracts on a Corda network) 2. Contract: Verify the transactions 3. Flow: Execute the business logic 1. State: The object in Corda State 1. Get consumed 2. Get updated 3. Get stored
  • 5. Live Coding Session! Objective: • Building a Token Cordapp to showcase the issuance of a Token What files do we need implement: • TokenState.java • TokenContract.java • TokenIssueFlowInitiator.java
  • 6. Corda States in Cordapp • States are the objects we want to represent digitally. • They only exist in the participating nodes of the specific transactions. • Our State lives in TokenState.java TokenState implements ContractState PROPERTIES Party issuer Party owner int amount
  • 7. Existing State Input Desired Output State Output Calculation Encapsulate into Transaction Desired Output State Output Existing StateInput Transaction Corda Contracts in CorDapp ✅ ✅ ✅ Contract Rules: Rule #1 Rule #2 Rule #3 Rules need to be followed during a transaction Ledger update Recording • Ledger update is done through transactions in the flows • Contracts verify the validity of a transaction: SUCCESS ✅
  • 8. Existing State Input Desired Output State Output Encapsulate into Transaction Desired Output State Output Existing StateInput Transaction ✅ ✅ ❌ Contract Rules: Rule #1 Rule #2 Rule #3 Rules need to be followed during a transaction !REJECT! Ledger update Recording Calculation Corda Contracts in CorDapp • Ledger update is done through transactions in the flows • Contracts verify the validity of a transaction: FAILURE ❌
  • 9. Issuance Transaction No inputs One output, amount is positive One issue command, issuer is required signer TokenState issuer owner amount > 0 participants = issuer, owner Issue (issuer) Inputs Outputs Corda Contracts in CorDapp • In our Token CorDapp, we will implement an issuance transaction.
  • 10. Corda Contracts in CorDapp sss 1. No inputs 2. One output 3. Output is TokenState 4. Issuer is required signer 5. Owner must be required signer 6. Owner's Amount field is positive TokenContract.java implements Contract public void verify(LedgerTransaction tx) { } • Our contract code in TokenContract.java
  • 11. SIGN UPDATE PROPOSE UPDATE SEND (UPDATE + 2 SIGS) CHECK UPDATE NOTARY POOL SIGN UPDATE SEND (UPDATE + 3 SIGS) END SEND (UPDATE + 3 SIGS) RECORD UPDATE RECORD UPDATE END END NODE A NODE B SIGN UPDATE SEND (UPDATE + 1 SIG) SEND (UPDATE + 2 SIGS) CHECK UPDATE Corda Flows in CorDapp • Flows execute the business logic • Flows consist of two classes (Initiator & Responder)
  • 12. • Youtube: youtube.com/cordablockchain • Free Training Site: training.corda.net • Slack CordaLedger: slack.corda.net • Corda docs: docs.corda.net • Github Repository: github.com/corda • Email Contact: devrel@r3.com • Twitter: @Cordablockchain @inside_r3, hashtags #Corda, #r3 Corda Reference
  • 13. London 2 London Wall Place, London, EC2Y 5AU San Francisco 655 Montgomery St., 6th floor San Francisco, CA 94111 www.r3.com | corda.net Thank you New York 11 West 42nd Street, 8th Floor New York, NY 10036 Singapore 18 Robinson Road, Level #14-02 Singapore, 048547 Dublin Lennox Building 50 Richmond St South Saint Kevin’s, Dublin, D02FK02 Hong Kong Bonham Strand, 7F Office 18- 121 Hong Kong São Paulo Av. Angélica, 2529 Bela Vista- 6th Floor São Paulo - SP, 01227-200, Brazil Mumbai 01A108, WeWork Enam Samhav, C- 20, G Block, Bandra Kurla Complex, Mumbai, 400051, India Tokyo Izumi Garden Tower 19F, 1–6-1 Roppongi, Minato-ku, Tokyo 106-6019, JAPAN Headquarters: @inside_r3 | @cordablockchain linkedin.com/company/r3cev-llc Regional: