SlideShare a Scribd company logo
1
1
Supporting Trade Finance with
Letters of Credit and Corda
Youtube
youtube.com/cordablockchain
Free Training
training.corda.net
Public Slack
slack.corda.net
Documentation
docs.corda.net
Github Repository
github.com/corda
Email
r3devrelations@r3.com
@Cordablockchain, @inside_r3
Hashtags: #Corda, #r3
Our Goals for Today
• Brief overview of Corda and Blockchain in Trade Finance
• Brief Introduction to Corda
• Introduction to Bills of Lading in Trade Finance
• Demo of our revamped Letter of Credit CorDapp
Our Goals for Today
• Payments and Settlement on Ledger
• KYC and KYS
• Negotiable Title Documents
Examples:
• Running experiments with TradeShift, GTNexus, BankTrade, and Temenos
• Finastra, Intellect, and Infosys are planning to build new products with Corda
Themes R3 is focusing on for Trade Finance
• Trade Business Networks like Tradeshift, PrimeRevenue, Aronova
• Invoice Management Solutions like Taulia, Basware, and Esker
• Core Banking Providers like Temenos, Infosys, Oracle, and SilverLake
• Other Uses like custody transfer, contract management, and commodities
management
Themes R3 is focusing on for Trade Finance
Trade Finance is somewhat well understood. So let’s
define some intuitive requirements:
• The ability to monitor digital assets
• The ability to accept and manage derivative assets like
debt instruments
• The ability for sellers to communicate with banks to
receive letters of credit
• Rock-solid infrastructure and 24/7 availability.
Our Scenario: Electronic Bill of Lading
• Corda nodes for notary, central
banks, product exporters, and
importers
• webserver and website for
customers and bank employees to
access
• Fun fact: Bolero provides a
product for electronic bill of lading
as a service with Corda!
Software Stack for our Letter of Credit Cordapp
* Source: BOLERO
Quick Recap of the 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
Corda States in a Cordapp
• States are the objects we want to represent digitally.
• They only exist in the participating nodes of the specific transactions.
• For Example: TokenState
TokenState
implements ContractState
PROPERTIES
Party issuer
Party owner
int amount
Corda States in a Cordapp
• States are the objects we want to represent digitally.
• They only exist in the participating nodes of the specific
transactions.
TokenState
implements ContractState
PROPERTIES
Party issuer
Party owner
int amount
ALICE
BOB
ED
CARL
DEMI
1
7
5
9
4 3
2
6
8
Existing State
Input
Desired
Output State
Output
Calculation
Encapsulate into
Transaction
Desired
Output State
Output
Existing State
Input
Transaction
Corda Contracts in a 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 State
Input
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 a 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 a CorDapp
Corda Contracts in a 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 a CorDapp
• Flows execute the business logic
• Flows consist of two classes (Initiator & Responder)
• Buyer creates purchase order
• Buyer applies for letter of credit
• Buyer's bank accepts application
• Seller adds bill of lading and ships
• Seller's bank pays seller
• Buyer's bank pays seller's bank
• Buyer's bank loans cash to buyer
• Buyer pays their bank
Implementing Our Bill of Lading
B.
Bank
Buyer
Applies for letter of credit
Buyer’s Bank
Pays Seller’s Bank
On Credit for Buyer
S.
Bank
Seller
Buyer creates purchase order
Bank Approves L. O. C.
Seller Creates Bill of Lading
Seller’s Bank
Pays Seller
Let's do a demo !
Let's look at the code . . .
Additional Resources
• Source code of the Original Letter of Credit CorDapp :
https://github.com/davidawad/LetterOfCreditBackup
• Source code of the Original Letter of Credit App Frontend:
https://github.com/davidawad/LetterOfCreditWebBackup
• Source code of the Revamped Letter of Credit CorDapp:
https://github.com/davidawad/letter-of-credit-revamp
Any Questions?
r3.com | corda.net
Thank you for watching!
@inside_r3 | @cordablockchain
linkedin.com/company/r3cev-llc
slack.corda.net
training.corda.net

More Related Content

What's hot

Top 5 DeFi Applications
Top 5 DeFi ApplicationsTop 5 DeFi Applications
Top 5 DeFi Applications
101 Blockchains
 
The Tokenisation of Assets and Potential Implications for Financial Markets
The Tokenisation of Assets and Potential Implications for Financial MarketsThe Tokenisation of Assets and Potential Implications for Financial Markets
The Tokenisation of Assets and Potential Implications for Financial Markets
OECD Directorate for Financial and Enterprise Affairs
 
Introduction to Blockchain-as-a-Service (BaaS)
Introduction to Blockchain-as-a-Service (BaaS)Introduction to Blockchain-as-a-Service (BaaS)
Introduction to Blockchain-as-a-Service (BaaS)
Cygnet Infotech
 
ERC20 Step-by-Step - Creating Your First Ethereum Token
ERC20 Step-by-Step - Creating Your First Ethereum TokenERC20 Step-by-Step - Creating Your First Ethereum Token
ERC20 Step-by-Step - Creating Your First Ethereum Token
CodeOps Technologies LLP
 
Verifiable credentials explained by CCI
Verifiable credentials explained by CCIVerifiable credentials explained by CCI
Verifiable credentials explained by CCI
Kaliya "Identity Woman" Young
 
Quant Overledger for Mobility, IOT and Automotive sectors - MOBI 20190220 v1
Quant Overledger for Mobility, IOT and Automotive sectors - MOBI 20190220 v1Quant Overledger for Mobility, IOT and Automotive sectors - MOBI 20190220 v1
Quant Overledger for Mobility, IOT and Automotive sectors - MOBI 20190220 v1
Gilbert Verdian
 
Blockchain Scalability - Themes, Tools and Techniques
Blockchain Scalability - Themes, Tools and TechniquesBlockchain Scalability - Themes, Tools and Techniques
Blockchain Scalability - Themes, Tools and Techniques
Gokul Alex
 
EU Blockchain/DLT standardisation workshop - Strategic Plan 21st October 2017
EU Blockchain/DLT standardisation workshop - Strategic Plan 21st October 2017EU Blockchain/DLT standardisation workshop - Strategic Plan 21st October 2017
EU Blockchain/DLT standardisation workshop - Strategic Plan 21st October 2017
Gilbert Verdian
 
eIDAS Reference Guide
eIDAS Reference GuideeIDAS Reference Guide
eIDAS Reference Guide
SafeNet
 
Basics of Zcash Cryptocurrency Protocol
Basics of Zcash Cryptocurrency Protocol Basics of Zcash Cryptocurrency Protocol
Basics of Zcash Cryptocurrency Protocol
Vaideeswaran Sethuraman
 
Smart Contracts Programming Tutorial | Solidity Programming Language | Solidi...
Smart Contracts Programming Tutorial | Solidity Programming Language | Solidi...Smart Contracts Programming Tutorial | Solidity Programming Language | Solidi...
Smart Contracts Programming Tutorial | Solidity Programming Language | Solidi...
Edureka!
 
What is Erc20 token? How it Works/
What is Erc20 token? How it Works/What is Erc20 token? How it Works/
What is Erc20 token? How it Works/
Developcoins
 
Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum) Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum)
عطاءالمنعم اثیل شیخ
 
What is a Token Service Provider?
What is a Token Service Provider?What is a Token Service Provider?
What is a Token Service Provider?
Rambus Inc
 
Ethereum in a nutshell
Ethereum in a nutshellEthereum in a nutshell
Ethereum in a nutshell
Daniel Chan
 
WIlliam Mougayar Designing Tokenomics and Tokens 2.0
WIlliam Mougayar Designing Tokenomics and Tokens 2.0WIlliam Mougayar Designing Tokenomics and Tokens 2.0
WIlliam Mougayar Designing Tokenomics and Tokens 2.0
The Business Blockchain
 
Global Payment Reference Architecture
Global Payment Reference ArchitectureGlobal Payment Reference Architecture
Global Payment Reference Architecture
Ramadas MV
 
Hyperledger Fabric Technical Deep Dive 20190618
Hyperledger Fabric Technical Deep Dive 20190618Hyperledger Fabric Technical Deep Dive 20190618
Hyperledger Fabric Technical Deep Dive 20190618
Arnaud Le Hors
 
A Secure Model of IoT Using Blockchain
A Secure Model of IoT Using BlockchainA Secure Model of IoT Using Blockchain
A Secure Model of IoT Using Blockchain
Altoros
 
All About Ethereum
All About EthereumAll About Ethereum
All About Ethereum
Oodles Technologies Pvt. Ltd.
 

What's hot (20)

Top 5 DeFi Applications
Top 5 DeFi ApplicationsTop 5 DeFi Applications
Top 5 DeFi Applications
 
The Tokenisation of Assets and Potential Implications for Financial Markets
The Tokenisation of Assets and Potential Implications for Financial MarketsThe Tokenisation of Assets and Potential Implications for Financial Markets
The Tokenisation of Assets and Potential Implications for Financial Markets
 
Introduction to Blockchain-as-a-Service (BaaS)
Introduction to Blockchain-as-a-Service (BaaS)Introduction to Blockchain-as-a-Service (BaaS)
Introduction to Blockchain-as-a-Service (BaaS)
 
ERC20 Step-by-Step - Creating Your First Ethereum Token
ERC20 Step-by-Step - Creating Your First Ethereum TokenERC20 Step-by-Step - Creating Your First Ethereum Token
ERC20 Step-by-Step - Creating Your First Ethereum Token
 
Verifiable credentials explained by CCI
Verifiable credentials explained by CCIVerifiable credentials explained by CCI
Verifiable credentials explained by CCI
 
Quant Overledger for Mobility, IOT and Automotive sectors - MOBI 20190220 v1
Quant Overledger for Mobility, IOT and Automotive sectors - MOBI 20190220 v1Quant Overledger for Mobility, IOT and Automotive sectors - MOBI 20190220 v1
Quant Overledger for Mobility, IOT and Automotive sectors - MOBI 20190220 v1
 
Blockchain Scalability - Themes, Tools and Techniques
Blockchain Scalability - Themes, Tools and TechniquesBlockchain Scalability - Themes, Tools and Techniques
Blockchain Scalability - Themes, Tools and Techniques
 
EU Blockchain/DLT standardisation workshop - Strategic Plan 21st October 2017
EU Blockchain/DLT standardisation workshop - Strategic Plan 21st October 2017EU Blockchain/DLT standardisation workshop - Strategic Plan 21st October 2017
EU Blockchain/DLT standardisation workshop - Strategic Plan 21st October 2017
 
eIDAS Reference Guide
eIDAS Reference GuideeIDAS Reference Guide
eIDAS Reference Guide
 
Basics of Zcash Cryptocurrency Protocol
Basics of Zcash Cryptocurrency Protocol Basics of Zcash Cryptocurrency Protocol
Basics of Zcash Cryptocurrency Protocol
 
Smart Contracts Programming Tutorial | Solidity Programming Language | Solidi...
Smart Contracts Programming Tutorial | Solidity Programming Language | Solidi...Smart Contracts Programming Tutorial | Solidity Programming Language | Solidi...
Smart Contracts Programming Tutorial | Solidity Programming Language | Solidi...
 
What is Erc20 token? How it Works/
What is Erc20 token? How it Works/What is Erc20 token? How it Works/
What is Erc20 token? How it Works/
 
Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum) Ethereum-Cryptocurrency (All about Ethereum)
Ethereum-Cryptocurrency (All about Ethereum)
 
What is a Token Service Provider?
What is a Token Service Provider?What is a Token Service Provider?
What is a Token Service Provider?
 
Ethereum in a nutshell
Ethereum in a nutshellEthereum in a nutshell
Ethereum in a nutshell
 
WIlliam Mougayar Designing Tokenomics and Tokens 2.0
WIlliam Mougayar Designing Tokenomics and Tokens 2.0WIlliam Mougayar Designing Tokenomics and Tokens 2.0
WIlliam Mougayar Designing Tokenomics and Tokens 2.0
 
Global Payment Reference Architecture
Global Payment Reference ArchitectureGlobal Payment Reference Architecture
Global Payment Reference Architecture
 
Hyperledger Fabric Technical Deep Dive 20190618
Hyperledger Fabric Technical Deep Dive 20190618Hyperledger Fabric Technical Deep Dive 20190618
Hyperledger Fabric Technical Deep Dive 20190618
 
A Secure Model of IoT Using Blockchain
A Secure Model of IoT Using BlockchainA Secure Model of IoT Using Blockchain
A Secure Model of IoT Using Blockchain
 
All About Ethereum
All About EthereumAll About Ethereum
All About Ethereum
 

Similar to Supporting trade finance with letters of credit on corda

DevDay: Integrating HQLAx on Corda into the Financial Markets Infrastructure,...
DevDay: Integrating HQLAx on Corda into the Financial Markets Infrastructure,...DevDay: Integrating HQLAx on Corda into the Financial Markets Infrastructure,...
DevDay: Integrating HQLAx on Corda into the Financial Markets Infrastructure,...
R3
 
Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618
Arnaud Le Hors
 
Bitmark and Hyperledger Workshop: the Digital Assets and Property
Bitmark and Hyperledger Workshop: the Digital Assets and PropertyBitmark and Hyperledger Workshop: the Digital Assets and Property
Bitmark and Hyperledger Workshop: the Digital Assets and Property
Jollen Chen
 
Corda Developer Bootcamp: Introduction to Corda
Corda Developer Bootcamp: Introduction to CordaCorda Developer Bootcamp: Introduction to Corda
Corda Developer Bootcamp: Introduction to Corda
R3
 
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
Amazon Web Services
 
Modeling Blockchain Applications v1.02
Modeling Blockchain Applications v1.02Modeling Blockchain Applications v1.02
Modeling Blockchain Applications v1.02
Matt Lucas
 
Ibp technical introduction
Ibp technical introductionIbp technical introduction
Ibp technical introduction
LennartF
 
Fibo proof of concept for blockchain applications
Fibo proof of concept for blockchain applicationsFibo proof of concept for blockchain applications
Fibo proof of concept for blockchain applications
Mike Bennett
 
Algorand Smart Contracts
Algorand Smart ContractsAlgorand Smart Contracts
Algorand Smart Contracts
ssusercc3bf81
 
blockchain workshop - hyperledger and oabcs - technical
blockchain workshop - hyperledger and oabcs - technicalblockchain workshop - hyperledger and oabcs - technical
blockchain workshop - hyperledger and oabcs - technical
Juarez Junior
 
Tokenomics
TokenomicsTokenomics
Tokenomics
Gayan Samarakoon
 
Amhora
AmhoraAmhora
Anatomy of a hyperledger application
Anatomy of a hyperledger applicationAnatomy of a hyperledger application
Anatomy of a hyperledger application
Eric Cattoir
 
Blockchain technology-in-fin tech - Anton Sitnikov
Blockchain technology-in-fin tech - Anton SitnikovBlockchain technology-in-fin tech - Anton Sitnikov
Blockchain technology-in-fin tech - Anton Sitnikov
DataFest Tbilisi
 
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
VSee
 
Attacking and Exploiting Ethereum Smart Contracts: Auditing 101
Attacking and Exploiting Ethereum Smart Contracts: Auditing 101Attacking and Exploiting Ethereum Smart Contracts: Auditing 101
Attacking and Exploiting Ethereum Smart Contracts: Auditing 101
Simone Onofri
 
Blockchain in enterprise - Challenges, Considerations and Designs
Blockchain in enterprise - Challenges, Considerations and DesignsBlockchain in enterprise - Challenges, Considerations and Designs
Blockchain in enterprise - Challenges, Considerations and Designs
Michael Chi
 
Making blockchain real for business
Making blockchain real for businessMaking blockchain real for business
Making blockchain real for business
Medma Infomatix (P) Ltd.
 
An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ru
LennartF
 
DEFI Notes 2022 01 15.pptx
DEFI Notes 2022 01 15.pptxDEFI Notes 2022 01 15.pptx
DEFI Notes 2022 01 15.pptx
ssuser00208b
 

Similar to Supporting trade finance with letters of credit on corda (20)

DevDay: Integrating HQLAx on Corda into the Financial Markets Infrastructure,...
DevDay: Integrating HQLAx on Corda into the Financial Markets Infrastructure,...DevDay: Integrating HQLAx on Corda into the Financial Markets Infrastructure,...
DevDay: Integrating HQLAx on Corda into the Financial Markets Infrastructure,...
 
Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618Hyperledger Fabric Application Development 20190618
Hyperledger Fabric Application Development 20190618
 
Bitmark and Hyperledger Workshop: the Digital Assets and Property
Bitmark and Hyperledger Workshop: the Digital Assets and PropertyBitmark and Hyperledger Workshop: the Digital Assets and Property
Bitmark and Hyperledger Workshop: the Digital Assets and Property
 
Corda Developer Bootcamp: Introduction to Corda
Corda Developer Bootcamp: Introduction to CordaCorda Developer Bootcamp: Introduction to Corda
Corda Developer Bootcamp: Introduction to Corda
 
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
 
Modeling Blockchain Applications v1.02
Modeling Blockchain Applications v1.02Modeling Blockchain Applications v1.02
Modeling Blockchain Applications v1.02
 
Ibp technical introduction
Ibp technical introductionIbp technical introduction
Ibp technical introduction
 
Fibo proof of concept for blockchain applications
Fibo proof of concept for blockchain applicationsFibo proof of concept for blockchain applications
Fibo proof of concept for blockchain applications
 
Algorand Smart Contracts
Algorand Smart ContractsAlgorand Smart Contracts
Algorand Smart Contracts
 
blockchain workshop - hyperledger and oabcs - technical
blockchain workshop - hyperledger and oabcs - technicalblockchain workshop - hyperledger and oabcs - technical
blockchain workshop - hyperledger and oabcs - technical
 
Tokenomics
TokenomicsTokenomics
Tokenomics
 
Amhora
AmhoraAmhora
Amhora
 
Anatomy of a hyperledger application
Anatomy of a hyperledger applicationAnatomy of a hyperledger application
Anatomy of a hyperledger application
 
Blockchain technology-in-fin tech - Anton Sitnikov
Blockchain technology-in-fin tech - Anton SitnikovBlockchain technology-in-fin tech - Anton Sitnikov
Blockchain technology-in-fin tech - Anton Sitnikov
 
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
 
Attacking and Exploiting Ethereum Smart Contracts: Auditing 101
Attacking and Exploiting Ethereum Smart Contracts: Auditing 101Attacking and Exploiting Ethereum Smart Contracts: Auditing 101
Attacking and Exploiting Ethereum Smart Contracts: Auditing 101
 
Blockchain in enterprise - Challenges, Considerations and Designs
Blockchain in enterprise - Challenges, Considerations and DesignsBlockchain in enterprise - Challenges, Considerations and Designs
Blockchain in enterprise - Challenges, Considerations and Designs
 
Making blockchain real for business
Making blockchain real for businessMaking blockchain real for business
Making blockchain real for business
 
An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ru
 
DEFI Notes 2022 01 15.pptx
DEFI Notes 2022 01 15.pptxDEFI Notes 2022 01 15.pptx
DEFI Notes 2022 01 15.pptx
 

More from R3

Corda Developer Bootcamp: Tokens
Corda Developer Bootcamp:  TokensCorda Developer Bootcamp:  Tokens
Corda Developer Bootcamp: Tokens
R3
 
Corda Developer Bootcamp: Accounts
Corda Developer Bootcamp: AccountsCorda Developer Bootcamp: Accounts
Corda Developer Bootcamp: Accounts
R3
 
Insurance Round Table
Insurance Round TableInsurance Round Table
Insurance Round Table
R3
 
BizDay: David E. Rutter Welcome Address
BizDay: David E. Rutter Welcome AddressBizDay: David E. Rutter Welcome Address
BizDay: David E. Rutter Welcome Address
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, Infosys
R3
 
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
R3
 
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
R3
 
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
R3
 
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, Chainhaus
R3
 
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
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
R3
 
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
R3
 
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
R3
 
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
R3
 
BizDay: Truck Wallet, Daimler, KI Decentralized
BizDay: Truck Wallet, Daimler, KI DecentralizedBizDay: Truck Wallet, Daimler, KI Decentralized
BizDay: Truck Wallet, Daimler, KI Decentralized
R3
 
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
R3
 
BizDay: Finteum Presentation
BizDay: Finteum PresentationBizDay: Finteum Presentation
BizDay: Finteum Presentation
R3
 
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
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
R3
 

More from R3 (20)

Corda Developer Bootcamp: Tokens
Corda Developer Bootcamp:  TokensCorda Developer Bootcamp:  Tokens
Corda Developer Bootcamp: Tokens
 
Corda Developer Bootcamp: Accounts
Corda Developer Bootcamp: AccountsCorda Developer Bootcamp: Accounts
Corda Developer Bootcamp: Accounts
 
Insurance Round Table
Insurance Round TableInsurance Round Table
Insurance Round Table
 
BizDay: David E. Rutter Welcome Address
BizDay: David E. Rutter Welcome AddressBizDay: David E. Rutter Welcome Address
BizDay: David E. Rutter Welcome Address
 
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
 

Recently uploaded

在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
top1002
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
itech2017
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 

Recently uploaded (20)

在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 

Supporting trade finance with letters of credit on corda

  • 1. 1 1 Supporting Trade Finance with Letters of Credit and Corda
  • 2. Youtube youtube.com/cordablockchain Free Training training.corda.net Public Slack slack.corda.net Documentation docs.corda.net Github Repository github.com/corda Email r3devrelations@r3.com @Cordablockchain, @inside_r3 Hashtags: #Corda, #r3 Our Goals for Today
  • 3. • Brief overview of Corda and Blockchain in Trade Finance • Brief Introduction to Corda • Introduction to Bills of Lading in Trade Finance • Demo of our revamped Letter of Credit CorDapp Our Goals for Today
  • 4. • Payments and Settlement on Ledger • KYC and KYS • Negotiable Title Documents Examples: • Running experiments with TradeShift, GTNexus, BankTrade, and Temenos • Finastra, Intellect, and Infosys are planning to build new products with Corda Themes R3 is focusing on for Trade Finance
  • 5. • Trade Business Networks like Tradeshift, PrimeRevenue, Aronova • Invoice Management Solutions like Taulia, Basware, and Esker • Core Banking Providers like Temenos, Infosys, Oracle, and SilverLake • Other Uses like custody transfer, contract management, and commodities management Themes R3 is focusing on for Trade Finance
  • 6. Trade Finance is somewhat well understood. So let’s define some intuitive requirements: • The ability to monitor digital assets • The ability to accept and manage derivative assets like debt instruments • The ability for sellers to communicate with banks to receive letters of credit • Rock-solid infrastructure and 24/7 availability. Our Scenario: Electronic Bill of Lading
  • 7. • Corda nodes for notary, central banks, product exporters, and importers • webserver and website for customers and bank employees to access • Fun fact: Bolero provides a product for electronic bill of lading as a service with Corda! Software Stack for our Letter of Credit Cordapp * Source: BOLERO
  • 8. Quick Recap of the 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
  • 9. Corda States in a Cordapp • States are the objects we want to represent digitally. • They only exist in the participating nodes of the specific transactions. • For Example: TokenState TokenState implements ContractState PROPERTIES Party issuer Party owner int amount
  • 10. Corda States in a Cordapp • States are the objects we want to represent digitally. • They only exist in the participating nodes of the specific transactions. TokenState implements ContractState PROPERTIES Party issuer Party owner int amount ALICE BOB ED CARL DEMI 1 7 5 9 4 3 2 6 8
  • 11. Existing State Input Desired Output State Output Calculation Encapsulate into Transaction Desired Output State Output Existing State Input Transaction Corda Contracts in a 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 ✅
  • 12. Existing State Input Desired Output State Output Encapsulate into Transaction Desired Output State Output Existing State Input 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 a CorDapp • Ledger update is done through transactions in the flows • Contracts verify the validity of a transaction: FAILURE ❌
  • 13. 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 a CorDapp
  • 14. Corda Contracts in a 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
  • 15. 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 a CorDapp • Flows execute the business logic • Flows consist of two classes (Initiator & Responder)
  • 16. • Buyer creates purchase order • Buyer applies for letter of credit • Buyer's bank accepts application • Seller adds bill of lading and ships • Seller's bank pays seller • Buyer's bank pays seller's bank • Buyer's bank loans cash to buyer • Buyer pays their bank Implementing Our Bill of Lading B. Bank Buyer Applies for letter of credit Buyer’s Bank Pays Seller’s Bank On Credit for Buyer S. Bank Seller Buyer creates purchase order Bank Approves L. O. C. Seller Creates Bill of Lading Seller’s Bank Pays Seller
  • 17. Let's do a demo !
  • 18. Let's look at the code . . .
  • 19. Additional Resources • Source code of the Original Letter of Credit CorDapp : https://github.com/davidawad/LetterOfCreditBackup • Source code of the Original Letter of Credit App Frontend: https://github.com/davidawad/LetterOfCreditWebBackup • Source code of the Revamped Letter of Credit CorDapp: https://github.com/davidawad/letter-of-credit-revamp
  • 21. r3.com | corda.net Thank you for watching! @inside_r3 | @cordablockchain linkedin.com/company/r3cev-llc slack.corda.net training.corda.net

Editor's Notes

  1. https://www.finextra.com/pressarticle/84485/100-italian-banks-go-live-on-spunta-blockchain https://www.ledgerinsights.com/nasdaq-adopts-corda-enterprise-blockchain-for-digital-assets-exchange-software/ https://www.gtreview.com/news/fintech/exclusive-contour-goes-live-making-blockchain-based-trade-finance-a-reality/
  2. Voltron (now contour): https://www.ledgerinsights.com/voltron-trade-finance-blockchain-trial/ NOTE: KYS is know your supplier For Sources on these numbers, check out the presentation in the wiki.
  3. https://www.finextra.com/pressarticle/84485/100-italian-banks-go-live-on-spunta-blockchain https://www.ledgerinsights.com/nasdaq-adopts-corda-enterprise-blockchain-for-digital-assets-exchange-software/ https://www.gtreview.com/news/fintech/exclusive-contour-goes-live-making-blockchain-based-trade-finance-a-reality/ use cases from : https://r3-cev.atlassian.net/wiki/spaces/EE/pages/1466433807/Trade+Finance?preview=/1466433807/2917466139/Digital%20Trade%20on%20Corda%20-%20Q2%202021.pdf
  4. Remember that a letter of credit is a guarantee from a bank to an exporter that a payment will be received on time.
  5. A CorDapp consists of foundational components: State, Contract and Flows. States are the objects in Corda, they can get consumed, updated and stored. Contracts verifies the transaction, If you can see the screenshot at the right side, these lines are actually the codes inside of the Contract files. Lastly, Flows execute the business logic. All the calculation, verification, signings, and data writing will all get executed in flow. Okay, now let’s take look at what we are going to build today for state. (next slide)
  6. We are building a TokenState! They are data that exist only in the participating nodes of the specific transactions. Rather than exist in a central database. It consists of three properties: A Party type issuer, A Party type owner, and an integer type amount. Lets go to IntelliJ…
  7. Let’s look at Contracts now. Just read the text and explain the diagram. (next slide) to show if one of the rule is not followed.
  8. In our Contract code, we are making contracts for an issuance transaction. Remember, Contracts verify the validity of a transaction? Here is what we try to achieve here. And here is set of rules that we are looking to implement: (next slide)
  9. In the TokenContract file, we are looking to implement the verify method with these 7 rules. These are just some simple rules, but in reality, you can make up whatever rules for your specific transactions.
  10. Okay, we are back with the last bit of the coding: Corda flows! Flows execute the business logic, and Flows consist of two classes (Initiator & Responder). Today, we are only going to implement the initiator part, and the responder is already pre-implemented. The diagram you are looking at depicts the simplest flow in a CorDapp: 1 node is trying to propose an update on a single state. We will implement the very similar flow all together. It is just for us, we are creating a new state and send to the counterparty, rather than update an existing state. (walk through the chart.)
  11. A CorDapp consists of foundational components: State, Contract and Flows. States are the objects in Corda, they can get consumed, updated and stored. Contracts verifies the transaction, If you can see the screenshot at the right side, these lines are actually the codes inside of the Contract files. Lastly, Flows execute the business logic. All the calculation, verification, signings, and data writing will all get executed in flow. Okay, now let’s take look at what we are going to build today for state. (next slide)
  12. NOTE: run the demo - http://localhost:10014/web/loc/ - Go to bank node and issue $3,000,000 to the bank of London    - Analog importers creates purchase order from look ma exporters    - Analog importers applies for letter of credit (their issuer bank is bank of London, advisory bank is Shenzhen state bank)    - bank of London accepts loc application (transaction now available to everyone)    - look ma exporters accepts LOC, creates BOL and ships out the goods.    - seller's bank pays seller (you can also view the BoL) 
  13. NOTE: run the demo - Go to bank node and issue $3,000,000 to the bank of London    - Analog importers creates purchase order from look ma exporters    - Analog importers applies for letter of credit (their issuer bank is bank of London, advisory bank is Shenzhen state bank)    - bank of London accepts loc application (transaction now available to everyone)    - look ma exporters accepts LOC, creates BOL and ships out the goods.    - seller's bank pays seller (you can also view the BoL) 
  14. A CorDapp consists of foundational components: State, Contract and Flows. States are the objects in Corda, they can get consumed, updated and stored. Contracts verifies the transaction, If you can see the screenshot at the right side, these lines are actually the codes inside of the Contract files. Lastly, Flows execute the business logic. All the calculation, verification, signings, and data writing will all get executed in flow. Okay, now let’s take look at what we are going to build today for state. (next slide)
  15. A CorDapp consists of foundational components: State, Contract and Flows. States are the objects in Corda, they can get consumed, updated and stored. Contracts verifies the transaction, If you can see the screenshot at the right side, these lines are actually the codes inside of the Contract files. Lastly, Flows execute the business logic. All the calculation, verification, signings, and data writing will all get executed in flow. Okay, now let’s take look at what we are going to build today for state. (next slide)
  16. POLL : professional or to learn! P / L