Ripple Labs Unveils Proposal for New Smart Contract System

The company's proposed system could reinvigorate the movement to build smart contract mechanisms.

AccessTimeIconJul 21, 2014 at 9:30 p.m. UTC
Updated Apr 10, 2024 at 3:09 a.m. UTC
10 Years of Decentralizing the Future
May 29-31, 2024 - Austin, TexasThe biggest and most established global hub for everything crypto, blockchain and Web3.Register Now

San Francisco-based Ripple Labs, a startup focused on building payment and digital asset networks, has unveiled a comprehensive plan for the development of a new smart contract system.

Called Codius, the proposed system will be programming language agnostic and work with existing monetary and contractual systems.

There are a few cryptographic projects currently seeking to build smart contract solutions, but Codius is perhaps the framework that many in the cryptocurrency space have been seeking to leverage to build asset structures.

Stefan Thomas, chief technology officer at Ripple Labs, told CoinDesk that programmable contracts in digital form will be ubiquitous someday - and that the company wants to be a steward for this technology.

Thomas said:

"[Smart] contract logic decides who should receive the money. It can query any internet server to do so, including crypto networks, web services, etc. Based on the decision, the contract hosts will allow a transaction sending the money to that recipient to succeed."

Smart oracles

As detailed in a blog post and whitepaper on GitHub, the Ripple Labs plan for Codius is ambitious, building off of researcher Nick Szabo's early work in programmable methods of contract law.

It relies on the use of what is known as an oracle, which is an instance that can sign a cryptographic key pair if or when a condition is met, hence the concept of a "smart" contract that can execute itself when it has proper inputs.

"Oracles sign things and the signatures trigger actions in the distributed networks," Thomas explained.

The Codius project calls these "smart oracles", in the sense that they will be able to operate on an untrusted codebase. This means that there will be open access to this project for most developers since it will not require the use of a specific programming language.

Thomas explained:

"Compared to conventional oracles [such as for bitcoin], smart oracles don't require you to learn how to write code for the deterministic environments. You can write regular JavaScript, or any other language that somebody has ported to Codius and treat bitcoin as if it was your database."

Smart oracles handle the sandboxing, identification and even hosting of these digital assets. Furthermore, the system will be able to integrate with a number of different systems of value: bitcoin, Ripple's XRP or even fiat money.

The smart contract economy

Ripple Labs believes an entire industry will be built around smart digital assets - just like what is happening in the cryptocurrency realm. One of the earliest business ventures to coincide with the creation of smart contracts might be hosting platforms for the technology.

"You run somebody's code and they pay you for it. I could see hosting companies starting to add contracts offerings," said Thomas. "Hosting VMs [virtual machines] is a very similar business model."

The bitcoin mining sector might find value in getting into the smart contract business as well.


Generating new coins is profitable in bitcoin right now, but this may not be the case in the future for some mining operations. In addition to earning revenue for confirming transactions, miners may find that hosting smart contracts is another lucrative venture down the road.

Said Thomas:

"Essentially miners are performing a validation function for the network in exchange for a reward, again a very similar concept as running a Codius host and being paid for running contracts."

Legal ramifications

The use of smart contracts could solve not only the antiquated problems of using paper for legal purposes, it could also make legal systems around the globe more efficient.

Greg Kidd is Ripple Labs' chief risk operator, who worked at Promontory Financial Group prior to joining the company. He told CoinDesk:

"We see smart contracts as a layer between the contracting parties and the legal system. Right now, if anything goes wrong with a contract, you have to go to the legal system, which is extremely slow and expensive."

Companies spend billions of dollars every year on various legal costs. Smart contracts might not be a solution for any sort of disputed situation. But Kidd, who also previously worked with the Board of Governors at the Federal Reserve, thinks that the technology has promise to improve the broader legal system.


"If you can write smart contracts that handle 50% of the possible ways that a given contract can go wrong, you can save 50% of the expected legal fees from entering the contract," he said.

Development continues

There are already a few different cryptographic smart contract projects in various stages of development, with perhaps the most notable being Vitalik Buterin's still unreleased Ethereum.

Colored coins, which act as a token on top of bitcoin, are also still in development. That effort has seen little industry traction so far, but a company called Coinprism is still trying to advocate its use.

"I'm waiting for an actual implementation. We are very excited about the opportunities arising out of smart contracts and other block chain technologies, but it's early days," said Fabio Federici, whose startup Coinalytics analyzes block chain data for its clients.

Nevertheless, the Codius white paper and its proposed use of Google's Native Client to execute a small and relatively secure base of code is novel. The applications Ripple Labs envisions for the Codius project are numerous. The list include tools that cover voting, escrow, derivatives, auctions, property and the equities markets.

In essence, smart contracts have the capability of innovating lawful agreements in the same way cryptocurrenies are changing existing concepts of money and value exchange.

Kidd added:

"We're interested in making antiquated systems such as payments and legal vastly more efficient and democratic using distributed technology. Codius improves and opens access to the process of creating and executing legal agreements, so lawyers, judges, etc. can focus their energies on more complex cases."

To learn more about Ripple labs, its architecture and its role in digital currency ecosystem, read our most recent report on the company here.

Technology and human image via Shutterstock


Please note that our privacy policy, terms of use, cookies, and do not sell my personal information has been updated.

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. In November 2023, CoinDesk was acquired by the Bullish group, owner of Bullish, a regulated, digital assets exchange. The Bullish group is majority-owned by; both companies have interests in a variety of blockchain and digital asset businesses and significant holdings of digital assets, including bitcoin. CoinDesk operates as an independent subsidiary with an editorial committee to protect journalistic independence. CoinDesk employees, including journalists, may receive options in the Bullish group as part of their compensation.

Learn more about Consensus 2024, CoinDesk's longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to to register and buy your pass now.