SlideShare a Scribd company logo
Triple Entry Accounting
A BlockChain Use Case for Banks
With R3 Corda
Debajani Mohanty
Senior Technical Architect
NIIT Technologies Ltd
Who Am I?
• Foodie, Traveler, Writer
• Sleep-deprived mom of 2 little gals
• Author of “BlockChain One-Stop Guide:
From Concept to Execution” on Amazon
• Senior Architect with NIIT Technologies Ltd
Single Entry Accounting
• Single entry accounting is there since the
beginning of civilization.
• Someone buys and someone sells and one
keeps own accounting details.
• Any mistake in accounts, nobody would blame.
Double Entry Accounting
• Double-entry accounting introduced some 600 years back today is the
worldwide standard for business accounting.
• A and B are doing some transaction with each other and both are keeping
a transaction of the exchange i.e. every transaction records in at least two
accounts—in one as a debit and in the other as a credit.
• Debits increase expense and asset accounts but decrease income and
liability accounts. Conversely, credits increase income and liability
accounts and decrease expense and asset accounts.
• So the transaction at each level should look equal and opposite total
assets remaining the same.
Issues with Double Entry Accounting
• Time consuming, manual and error prone.
• Fraud: People may manipulate over here to
get opportunity as no third party is involved.
• Auditing difficulty: Double entry accounting
records are difficult to audit and costly.
Triple Entry
Accounting
Triple entry
accounting was a
process introduced by
financial cryptography
expert Ian Grigg in
Dec 2005
http://iang.org/papers/triple_entry.html
Transactions go through a
contract in real-time maintained
by a 3rd party agent or entry
which both parties connect to
and agree.
Why to Use BlockChain For
Accounting?
• Cryptographically secure
• Transactions can only be added, not
altered. Hence no manipulation possible.
• Fraud proof. Forces honesty.
• Data is shared. No data duplication.
• Transaction itself is receipt
• IOT & report integration
Solution Frameworks
Bitcoin and Ethereum were not architected to
meet business needs of Finance domain. The
Enterprise Blockchain frameworks that have the
potential to address these issues (but not limited
to) are
– Hyperledger
– Eris
– Ripple
– MultiChain
– R3 Corda
Why R3 Corda?
• By Architecture it is a triple
entry system.
• R3 Corda’s BlockChain inspired
DLT product is crafted for
Finance industry and automate
payment processes.
• R3 was first adopted by Barcley
bank and now supported by
100+ world leader banks and
financial agencies so far.
• R3 Corda is open source and
soon to be integrated to
Hyperledger umbrella.
• Ian Grigg, the inventor of triple
entry accounting is now part of
R3 CEV
Corda Architecture
• Alice issues the instrument, she signs it.
• Bob receives the instrument, agrees with it and he signs it.
• Bob passes the record to the Notary, who signs and then
stores the instrument.
• Bob, Alice can now query the Notary to ascertain whether
the transaction happened. Bob and Alice can also keep a
copy of the notarised instrument themselves.
• Alice and Bob now always have the same data
• As the Notary is a SRL or Shared Ledger, it’s practically
impossible to delete or update the instrument without
counter-party approval.
Transaction Flow
Corda Is..
• Easier to install, easier to use
• Uses existing technologies: Java/Kotlin JVM
languages, H2 SQL database, message queue
• Has excellent documentation & easier to climb
the learning curve
• It guarantees privacy and scalability
• It’s open source
Network
• A Corda network is made up of nodes running
Corda and CorDapps
• The network is permissioned, with access
controlled by a doorman
• Communication between nodes is point-to-
point, instead of relying on global broadcasts
Ledger with No Central Data
• The ledger is subjective from each peer’s
perspective
• Two peers are always guaranteed to see the exact
same version of any on-ledger facts they share
States
• States represent on-ledger facts
• Each node has a vault where it
stores any relevant states to
itself. Data is stored through
ORM mapping to a H2 Java SQL
database which is super-fast and
open-source
• It tracks all the current and
historic states that it is aware of,
and which it considers to be
relevant to itself
Contracts
• A valid transaction must be accepted by the
contract of each of its input and output states
• Contracts are written in a JVM programming
language (e.g. Java or Kotlin)
• Contract execution is deterministic and its
acceptance of a transaction is based on the
transaction’s contents alone
Contract Validity
• Each state points to
a contract
• A contract takes a transaction
as input, and states whether
the transaction is considered
valid based on the contract’s
rules
• A transaction is only valid if
the contract of every input
state and every output
state considers it to be valid
Transactions
• Transactions are proposals to update the
ledger
• A transaction proposal will only be
committed if:
– It doesn’t contain double-spends
– It is contractually valid
– It is signed by the required parties
Notaries
• Notaries prevent “double-spends”
• Notaries may optionally also validate
transactions
• A network can have several notaries, each
running a different consensus algorithm
Time Windows
• If a transaction includes a time-window, it
can only be committed during that window
• The notary is the time stamping authority,
refusing to commit transactions outside of
that window
• Time-windows can have a start and end
time, or be open at either end
DEMO
• Obligations - IOU CorDapp implemented in Java.
Handles the transfer and settlement of obligations
• Retains participant anonymity using confidential
identities (i.e. anonymous public keys)
Let’s run Corda on 4 nodes
i.e. One Controller (hosts the network map service and
a validating notary service) &
Party A (http://localhost:10007/web/example/)
Party B (http://localhost:10010/web/example/)
Party C (http://localhost:10013/web/example/)
Thank You

More Related Content

PDF
Feb 2016, Triple Entry Accounting: Reducing Financial Fraud Using Blockchains
PPTX
Cryptocurrency and India
PPTX
Supporting trade finance with letters of credit on corda
 
PDF
Credit Scoring
PPTX
Crypto-currency Bitcoin In India
PPTX
Wholesale banking
PPTX
FinTech and the Future of Finance
PPT
Retail & wholesale banking done
Feb 2016, Triple Entry Accounting: Reducing Financial Fraud Using Blockchains
Cryptocurrency and India
Supporting trade finance with letters of credit on corda
 
Credit Scoring
Crypto-currency Bitcoin In India
Wholesale banking
FinTech and the Future of Finance
Retail & wholesale banking done

What's hot (20)

PPTX
Vouchers
PDF
Wealth management in crypto
PPTX
Know your customer(kyc) Norms
PPT
Cryptocurrencies: The Mechanics Economic and Finance
PPTX
BCSBI & Banking Ombudsman
PDF
Credit Analysis 101
PPT
Accounting - Chapter 1
PPTX
Banking terms and kinds of cheque
PPTX
Two Tier CBDC Model Architecture
PPTX
Bitcoin School Project
PPTX
Payment gateway/payment service providers and future trends in mobile payment...
PDF
Payment Gateway
PPTX
Credit Monitoring
PPTX
Overview of Data Analytics in Lending Business
PDF
Blockchain sharding
PPT
Credit scoring
PPTX
Understanding blockchain
PPTX
Aml / anti money laundering
PPTX
POTX
Gold Loan Software | Gold Loan Management Software
Vouchers
Wealth management in crypto
Know your customer(kyc) Norms
Cryptocurrencies: The Mechanics Economic and Finance
BCSBI & Banking Ombudsman
Credit Analysis 101
Accounting - Chapter 1
Banking terms and kinds of cheque
Two Tier CBDC Model Architecture
Bitcoin School Project
Payment gateway/payment service providers and future trends in mobile payment...
Payment Gateway
Credit Monitoring
Overview of Data Analytics in Lending Business
Blockchain sharding
Credit scoring
Understanding blockchain
Aml / anti money laundering
Gold Loan Software | Gold Loan Management Software
Ad

Similar to Triple Entry Accounting: A BlockChain Use Case for Banks With R3 Corda (20)

PDF
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
PPTX
Intro To Blockchain For YU Fintech Hackathon 2019
PPTX
emtech blockchain.pptx
PDF
An introduction to blockchain and hyperledger v ru
PDF
Blockchain and BPM - Reflections on Four Years of Research and Applications
PDF
Centigo presents Blockchain Explored (public version)
PDF
Blockchain & Islamic Finance
PPTX
Unbundling Of Financial Services: The Blockchain(s) Revolution
PPTX
Understanding Blockchain
PDF
An Introduction to Blockchain for Finance Professionals
PPTX
Public ripple (payment protocol) for blockchain - Anil Nayak
PPTX
20180714 workshop - Ethereum decentralized application with truffle framework
PPTX
Getting Started with Blockchain Development: The Complete Guide
PDF
Blockchain v 2 (1)
PDF
Aurigraph Distributed Ledger Technology
PDF
Blockchain explained-v2.09
PDF
Making Blockchain Real for Business Explained - ibm
PPT
Introduction To Hyperledger Composer
PDF
Understanding blockchains
PDF
Lecture 8 Hyperledger Fabric 2022f.pdf
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
Intro To Blockchain For YU Fintech Hackathon 2019
emtech blockchain.pptx
An introduction to blockchain and hyperledger v ru
Blockchain and BPM - Reflections on Four Years of Research and Applications
Centigo presents Blockchain Explored (public version)
Blockchain & Islamic Finance
Unbundling Of Financial Services: The Blockchain(s) Revolution
Understanding Blockchain
An Introduction to Blockchain for Finance Professionals
Public ripple (payment protocol) for blockchain - Anil Nayak
20180714 workshop - Ethereum decentralized application with truffle framework
Getting Started with Blockchain Development: The Complete Guide
Blockchain v 2 (1)
Aurigraph Distributed Ledger Technology
Blockchain explained-v2.09
Making Blockchain Real for Business Explained - ibm
Introduction To Hyperledger Composer
Understanding blockchains
Lecture 8 Hyperledger Fabric 2022f.pdf
Ad

Recently uploaded (20)

PDF
cuic standard and advanced reporting.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Approach and Philosophy of On baking technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
A comparative analysis of optical character recognition models for extracting...
cuic standard and advanced reporting.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Programs and apps: productivity, graphics, security and other tools
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Empathic Computing: Creating Shared Understanding
NewMind AI Weekly Chronicles - August'25-Week II
Network Security Unit 5.pdf for BCA BBA.
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Per capita expenditure prediction using model stacking based on satellite ima...
Approach and Philosophy of On baking technology
Spectral efficient network and resource selection model in 5G networks
gpt5_lecture_notes_comprehensive_20250812015547.pdf
MYSQL Presentation for SQL database connectivity
Spectroscopy.pptx food analysis technology
Group 1 Presentation -Planning and Decision Making .pptx
20250228 LYD VKU AI Blended-Learning.pptx
Machine learning based COVID-19 study performance prediction
A comparative analysis of optical character recognition models for extracting...

Triple Entry Accounting: A BlockChain Use Case for Banks With R3 Corda

  • 1. Triple Entry Accounting A BlockChain Use Case for Banks With R3 Corda Debajani Mohanty Senior Technical Architect NIIT Technologies Ltd
  • 2. Who Am I? • Foodie, Traveler, Writer • Sleep-deprived mom of 2 little gals • Author of “BlockChain One-Stop Guide: From Concept to Execution” on Amazon • Senior Architect with NIIT Technologies Ltd
  • 3. Single Entry Accounting • Single entry accounting is there since the beginning of civilization. • Someone buys and someone sells and one keeps own accounting details. • Any mistake in accounts, nobody would blame.
  • 4. Double Entry Accounting • Double-entry accounting introduced some 600 years back today is the worldwide standard for business accounting. • A and B are doing some transaction with each other and both are keeping a transaction of the exchange i.e. every transaction records in at least two accounts—in one as a debit and in the other as a credit. • Debits increase expense and asset accounts but decrease income and liability accounts. Conversely, credits increase income and liability accounts and decrease expense and asset accounts. • So the transaction at each level should look equal and opposite total assets remaining the same.
  • 5. Issues with Double Entry Accounting • Time consuming, manual and error prone. • Fraud: People may manipulate over here to get opportunity as no third party is involved. • Auditing difficulty: Double entry accounting records are difficult to audit and costly.
  • 6. Triple Entry Accounting Triple entry accounting was a process introduced by financial cryptography expert Ian Grigg in Dec 2005 http://iang.org/papers/triple_entry.html Transactions go through a contract in real-time maintained by a 3rd party agent or entry which both parties connect to and agree.
  • 7. Why to Use BlockChain For Accounting? • Cryptographically secure • Transactions can only be added, not altered. Hence no manipulation possible. • Fraud proof. Forces honesty. • Data is shared. No data duplication. • Transaction itself is receipt • IOT & report integration
  • 8. Solution Frameworks Bitcoin and Ethereum were not architected to meet business needs of Finance domain. The Enterprise Blockchain frameworks that have the potential to address these issues (but not limited to) are – Hyperledger – Eris – Ripple – MultiChain – R3 Corda
  • 9. Why R3 Corda? • By Architecture it is a triple entry system. • R3 Corda’s BlockChain inspired DLT product is crafted for Finance industry and automate payment processes. • R3 was first adopted by Barcley bank and now supported by 100+ world leader banks and financial agencies so far. • R3 Corda is open source and soon to be integrated to Hyperledger umbrella. • Ian Grigg, the inventor of triple entry accounting is now part of R3 CEV
  • 10. Corda Architecture • Alice issues the instrument, she signs it. • Bob receives the instrument, agrees with it and he signs it. • Bob passes the record to the Notary, who signs and then stores the instrument. • Bob, Alice can now query the Notary to ascertain whether the transaction happened. Bob and Alice can also keep a copy of the notarised instrument themselves. • Alice and Bob now always have the same data • As the Notary is a SRL or Shared Ledger, it’s practically impossible to delete or update the instrument without counter-party approval.
  • 12. Corda Is.. • Easier to install, easier to use • Uses existing technologies: Java/Kotlin JVM languages, H2 SQL database, message queue • Has excellent documentation & easier to climb the learning curve • It guarantees privacy and scalability • It’s open source
  • 13. Network • A Corda network is made up of nodes running Corda and CorDapps • The network is permissioned, with access controlled by a doorman • Communication between nodes is point-to- point, instead of relying on global broadcasts
  • 14. Ledger with No Central Data • The ledger is subjective from each peer’s perspective • Two peers are always guaranteed to see the exact same version of any on-ledger facts they share
  • 15. States • States represent on-ledger facts • Each node has a vault where it stores any relevant states to itself. Data is stored through ORM mapping to a H2 Java SQL database which is super-fast and open-source • It tracks all the current and historic states that it is aware of, and which it considers to be relevant to itself
  • 16. Contracts • A valid transaction must be accepted by the contract of each of its input and output states • Contracts are written in a JVM programming language (e.g. Java or Kotlin) • Contract execution is deterministic and its acceptance of a transaction is based on the transaction’s contents alone
  • 17. Contract Validity • Each state points to a contract • A contract takes a transaction as input, and states whether the transaction is considered valid based on the contract’s rules • A transaction is only valid if the contract of every input state and every output state considers it to be valid
  • 18. Transactions • Transactions are proposals to update the ledger • A transaction proposal will only be committed if: – It doesn’t contain double-spends – It is contractually valid – It is signed by the required parties
  • 19. Notaries • Notaries prevent “double-spends” • Notaries may optionally also validate transactions • A network can have several notaries, each running a different consensus algorithm
  • 20. Time Windows • If a transaction includes a time-window, it can only be committed during that window • The notary is the time stamping authority, refusing to commit transactions outside of that window • Time-windows can have a start and end time, or be open at either end
  • 21. DEMO • Obligations - IOU CorDapp implemented in Java. Handles the transfer and settlement of obligations • Retains participant anonymity using confidential identities (i.e. anonymous public keys) Let’s run Corda on 4 nodes i.e. One Controller (hosts the network map service and a validating notary service) & Party A (http://localhost:10007/web/example/) Party B (http://localhost:10010/web/example/) Party C (http://localhost:10013/web/example/)