BTC
$108,127.91
+
0.67%
ETH
$2,454.05
+
1.06%
USDT
$1.0002
-
0.00%
XRP
$2.1913
-
0.15%
BNB
$650.00
+
0.54%
SOL
$151.15
+
2.70%
USDC
$0.9998
+
0.01%
TRX
$0.2751
-
0.52%
DOGE
$0.1639
+
1.00%
ADA
$0.5627
+
0.61%
HYPE
$38.68
+
4.92%
WBT
$47.36
+
1.55%
BCH
$493.19
-
0.44%
SUI
$2.8211
+
3.76%
LINK
$13.39
+
2.20%
LEO
$9.1260
+
0.72%
AVAX
$18.03
+
1.93%
XLM
$0.2387
+
0.34%
TON
$2.8759
+
1.55%
SHIB
$0.0₄1160
+
1.65%
Logo
  • News
  • Cryptocurrencies
  • Data
  • Indices
  • Research
  • Events
  • Sponsored
  • Sign In
  • Sign Up
Markets
Share this article
X iconX (Twitter)LinkedInFacebookEmail

How Barclays Used R3's Tech to Build a Smart Contracts Prototype

CoinDesk goes inside Barclays' latest distributed ledger trial, showcasing how it is digitizing smart contract templates on R3's new ledger Corda.

By Pete Rizzo
Updated Sep 11, 2021, 12:14 p.m. Published Apr 26, 2016, 8:27 p.m.
Screen Shot 2016-04-26 at 11.44.53 PM
barclays
barclays

UK banking giant Barclays took another step toward positioning itself at the forefront of innovators in the blockchain sector last week with the news it had become the first to trial Corda, a new distributed ledger platform from partner R3CEV.

STORY CONTINUES BELOW
Don't miss another story.Subscribe to the Crypto Daybook Americas Newsletter today. See all newsletters
By signing up, you will receive emails about CoinDesk products and you agree to our terms of use and privacy policy.

The prototype, demoed at the Barclays Accelerator in London last week, follows a particularly active period for Barclays, which earlier this month revealed it would provide banking services to blockchain payments startup Circle, and earlier this year, participated in a test of a private version of the Ethereum blockchain with 11 R3 member banks.

In interview, Dr Lee Braine of the Investment Bank CTO Office at Barclays, spoke to what it described as a broader need for leadership from the banking industry should the industry want blockchain technology to “reach maturity”.

Braine said that Barclays aims to devote time and expertise to the ecosystem, specifically to areas where banks have more experience than innovators. In particular, he cited Barclays and its drive to create smart contracts templates, as an example of this ongoing work.

Braine told CoinDesk:

"What we’ve been doing in the last year, working with other banks through consortium and directly with startups, has been providing feedback around tech… In this case, we have subject matter expertise around legal documentation around the bank. Startups may not have that, so we thought by showcasing this, we’d look to encourage other banks to move into this space."

To Braine, step one for the proof-of-concept was to determine how blockchain-based smart contracts could be connected to real-world legal contracts. This possibility, he said, could enable the simplification of legal documentation, while mutualizing costs.

Screen Shot 2016-04-26 at 2.39.21 PM
Screen Shot 2016-04-26 at 2.39.21 PM

Braine said that Barclays approached the challenge by devoting a full team to its incubator program for the project, during which these employees liaised heavily with internal legal teams working on derivatives.

"We’ve taken in their preferences in order to build the interface," Braine said. "The lifecycle, the workflow ... these aspects were driven by the legal document automation team."

But Barclays is not alone in identifying this area as one where blockchain and distributed ledger tech could play a role. Industry startup CommonAccord, incubated in the BNP Paribas accelerator, has also set its sights on codifying and automating legal contracts.

Further, the efforts come amid a broader push from banking consortium R3 to reimagine blockchain-based processes as working for digital contracts, rather than digital assets.

The demo

In this repositioning, Barclays envisions the International Swaps and Derivatives Association (ISDA), a global trade association for over-the-counter (OTC) derivatives, as serving as a central repository for standardized, smart contract-enabled documents for use by traditional financial firms.

In an example provided to CoinDesk, Barclays illustrated how these newly created templates could be used to translate three lines of text into code executable on a distributed ledger.

Screen Shot 2016-04-26 at 2.47.57 PM
Screen Shot 2016-04-26 at 2.47.57 PM

Braine further manipulated fields in the documents to showcase how party names could be added to the agreements, with the contracts then being attached to trades.

"Counterparties then review the trades. There it appears, they select it, they select the trade and affirm it. The smart contract is now set to a distributed ledger," he said.

Screen Shot 2016-04-26 at 2.54.28 PM
Screen Shot 2016-04-26 at 2.54.28 PM

In this envisioning, smart contract templates would be provided for banks to download and to use, Braine explained, with hashes of legal agreements, not the documents themselves, stored on the Corda distributed ledger.

"Currently each bank stores its own instance [of contracts]," Braine said. "Therefore, if you want to look for, what are the governing documents, each bank would need to look to its own stores. There’s an opportunity to have a centralized store, as well as a replicated copy, but each of the parties to agreement would see the same set of legal documents."

Even though banks involved would operate their own nodes on the ledger, he continued, hashes of changes would point back to the same originating document.

"You can imagine there would be benefits in some degree of centralization around agreements. You can imagine a party upgrading their versions as they go through maturity, then a counterparty would add information or come back with comments," he said.

Choosing Corda

As for its choice of technology, Braine said that the test could have been replicated on other systems, and that the Ethereum blockchain was one such platform considered.

However, he said R3’s Corda platform was just maturing as it was seeking to roll out the initiative, and that an example interest rate swap had already been implemented on the platform, making it an ideal choice.

“There was a natural fit between the ISDA and what was implemented,” he said.

As for the test, Braine said it was “purely a prototype” being simulated with multiple “abstract” nodes.

“The interest rate swap was just a simulated product running on the nodes. There were indeed multiple nodes, they were communicating, but it was just a substantiation,” he said.

Interest rate swaps, Braine said, were an attractive test vehicle due to the fact that they are “one of the simpler” derivatives products. Yet, he noted that they had more complex features, such as a schedule that could be updated over time, which would allow Barclays to show the range of functionalities the technology could allow.

R3’s technology, he continued, is also unique in that, unlike existing blockchain or distributed ledger technologies, Corda could allow multiple financial firms and regulators to access a common blockchain-based data store, but with an expanded set of permissions that would respect business processes.

"Data is not replicating to every node. Only those entitled to see it. Business logic is controlled by parameters for the templates," he said.

Braine showcased a demo whereby nodes were shown communicating with different classes of notes on the network, including regulators, rates services providers and time-stamping services.

Screen Shot 2016-04-26 at 2.56.34 PM
Screen Shot 2016-04-26 at 2.56.34 PM

Next steps

Still, Braine said that Barclays is seeking to build on the successful prototype.

For one, it aims to hold a ‘Smart Contracts Template’ summit in June with other industry stakeholders. Further, Braine said Barclays is going to continue to develop its code by improving the interface, its data repositories and exploring the use cases in more depth.

"We’ve looked at interest rate swaps and I think we’ll look at at least two more in the coming three months, and then we’ll look to start prioritizing those," Braine said.

Braine said while the path ahead for the project is still uncertain, he was optimistic that the “next iteration” of the prototype would be in place by summer, at which point another demo of the technology could be made.

Braine, however, was cognizant of the challenges ahead, stating that the most challenging will come down to the “core infrastructure” around data stores for the transactions.

“For our demonstration, we went with the most standardized agreements,” he said, adding that other agreements will be more complicated, but that they will not be possible without the necessary groundwork.

Brain concluded:

"You can imagine in the fullness of time, the scope could go beyond financial products, and for this idea, templates need to be expanded beyond that."

See a full overview of the demo below:

Smart Contract Templates (1)

Image credit: T photography / Shutterstock.com

BarclaysBankingR3CordaFeatures
Pete Rizzo

Pete Rizzo was CoinDesk's editor-in-chief until September 2019. Prior to joining CoinDesk in 2013, he was an editor at payments news source PYMNTS.com.

Picture of CoinDesk author Pete Rizzo
Latest Crypto News
Assets

Price Chip Testing

Jun 27, 2025
Article image

Digital Asset, Builder of Privacy-Focused Blockchain Canton, Raises $135M

Jun 24, 2025
Article image

Bankrupt Crypto Exchange FTX Slams Three Arrows Capital’s $1.51B Claim: “3AC Is Owed Nothing”

Jun 23, 2025
Article image

Ethereum Surges 4% on Massive Volume as Institutional Interest Grows

Jun 23, 2025
FastNews (CoinDesk)

[Test test ] translation without price widget

Jun 20, 2025
FastNews (CoinDesk)

[Test-C31-6047, FastNews] JPMorgan To Allow Clients To Buy Bitcoin, Says Jamie Dimon

Jun 20, 2025
Top Stories
Assets

Price Chip Testing

Jun 27, 2025
JPMorgan Chase CEO Jamie Dimon (Photo by Kevin Dietsch/Getty Images)

JPMorgan To Allow Clients To Buy Bitcoin, Says Jamie Dimon

May 19, 2025
Ethereum co-founder Vitalik Buterin (CoinDesk Archives)

Ethereum's Vitalik Buterin Proposes Design to Make Running Nodes Easier

May 19, 2025
A barman shakes a cocktail shaker with an array of drinks bottles behind him.

Crypto Daybook Americas: Bitcoin Whiplash Shakes Market as U.S. Yield Spike Threatens Bull Run

May 19, 2025
Mike Novogratz, Galaxy founder and CEO, speaks at Consensus 2024 (CoinDesk/Shutterstock/Suzanne Cordiero)

The Bull Case for Galaxy Digital Is AI Data Centers Not Bitcoin Mining, Research Firm Says

May 19, 2025
Tokyo, Japan (Jaison Lin/Unsplash)

Metaplanet Buys Another 1,004 Bitcoin, Lifts Holdings to Over $800M Worth of BTC

May 19, 2025

Only 1 article remaining this month.

Sign up for free

About

  • About Us
  • Masthead
  • Careers
  • CoinDesk News
  • Crypto API Documentation

Contact

  • Contact Us
  • Accessibility
  • Advertise
  • Sitemap
  • System Status
DISCLOSURE & POLICES
CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. CoinDesk has adopted a set of principles aimed at ensuring the integrity, editorial independence and freedom from bias of its publications. CoinDesk is part of the Bullish group, which owns and invests in digital asset businesses and digital assets. CoinDesk employees, including journalists, may receive Bullish group equity-based compensation. Bullish was incubated by technology investor Block.one.
EthicsPrivacyTerms of UseCookie SettingsDo Not Sell My Info

© 2025 CoinDesk, Inc.
X icon
Sign Up
  • News
    Back to menu
    News
    • Markets
    • Finance
    • Tech
    • Policy
    • Focus
  • Cryptocurrencies
    Back to menu
    Cryptocurrencies
    • Data
      Back to menu
      Data
      • Trade Data
      • Derivatives
      • Order Book Data
      • On-Chain Data
      • API
      • Research & Insights
      • Data Catalogue
      • AI & Machine Learning
    • Indices
      Back to menu
      Indices
      • Multi-Asset Indices
      • Reference Rates
      • Strategies and Services
      • API
      • Insights & Announcements
      • Documentation & Governance
    • Research
      Back to menu
      Research
      • Events
        Back to menu
        Events
        • CoinDesk: Policy & Regulation
        • Consensus Hong Kong
        • Consensus Miami
      • Sponsored
        Back to menu
        Sponsored
        • Thought Leadership
        • Press Releases
        • CoinW
        • MEXC
        • Phemex
        • Advertise
      • Videos
        Back to menu
        Videos
        • CoinDesk Daily
        • Shorts
        • Editor's Picks
      • Podcasts
        Back to menu
        Podcasts
        • CoinDesk Podcast Network
        • Markets Daily
        • Gen C
        • Unchained with Laura Shin
        • The Mining Pod
      • Newsletters
        Back to menu
        Newsletters
        • The Node
        • Crypto Daybook Americas
        • State of Crypto
        • Crypto Long & Short
        • Crypto for Advisors
      • Webinars
        Back to menu
        Webinars
        Select Language
        English enEspañol esFilipino filFrançais frItaliano itPortuguês pt-brРусский ruУкраїнська ukDeutsch deNederlands nl