October 5, 2020 By Joshua Goldbard 3 min read

A new crypto payment system cuts transaction times from minutes to seconds.

When Bitcoin was announced in 2008, I was incredulous. The concept of a decentralized, anonymous accounting system running on a shared public ledger (or blockchain) with no middleman was intriguing. Bitcoin does, in fact, work quite well as a system of account, but what I really wanted was a payment system. Bitcoin transactions take anywhere from 10 minutes up to an hour to finalize and consume enormous amounts of energy, which means paying for a cup of coffee is pretty hard to imagine.

A little over two years ago, when I was considering the problem of mobile payments, my thoughts again sprang towards cryptocurrency. To make something people could actually use to pay for a cup of coffee, all I could think was: “That sounds hard.”

About 12 hours later, with a lot of help from a very smart friend, I’d drafted the initial design for MobileCoin. The goal of MobileCoin was to make a payment system for the place people live and work today—mobile messaging apps. Solving for that use case meant it had to meet the extremely stringent standards of mobile applications. MobileCoin had to be exceptionally fast, privacy-protecting, and energy-efficient, all while providing a world class mobile-first user experience.

A security-rich environment in the IBM Cloud

Due to mobile device constraints for memory, computation, and network access, it was necessary to host the application remotely, or in the cloud. You simply can’t hold the entire ledger on a mobile phone.

For this application, security is essential. Users would need to be able to access the ledger remotely in a trustworthy fashion. This led us to choose a piece of technology called a secure enclave. Enclaves provide users with some strong safety guarantees for accessing the ledger on a system they don’t control.

Choosing to implement the Intel Software Guard Extensions (SGX) secure enclave, we selected IBM’s service for accessing confidential computing on demand: IBM Cloud Data Shield. This solution provides both the security and the cloud environment we needed; we consider it a crucial component of MobileCoin’s solution.

Our network users have keys on their phones that never leave their devices. They use those keys to construct and send transactions over a secure channel to the enclave. The enclave verifies the sender’s signature, then federates the transaction to all enclaves in the network for further verification before writing it to disk. The enclave doesn’t reveal the transaction amount or the identities of the sender or receiver, providing an unprecedented level of privacy.

Teaming up to take on technology challenges

The IBM team played an integral role in implementing the IBM Cloud Data Shield solution and getting SGX up and running. SGX is radically different from other systems. It’s a highly restrictive environment regarding memory and performance, and it lacks much of the tooling that comes ready-made with regular CPUs.

Due to these limitations, we initially spent a lot of time working with IBM Cloud Data Shield engineers to make it function. We chose to write our application in Rust to guarantee safety and speed. SGX is bleeding edge, meaning it doesn’t have much support in standard Rust, so we had to implement our system from scratch to ensure we could trust it. As such, we were very grateful to have the IBM team working alongside us.

Calling all testers

Our efforts paid off with the launch of a test network for MobileCoin on April 9, 2020. We’ve since gained thousands of users globally — exclusively via word of mouth — with excellent results to date.

Transactions complete in less than five seconds (as opposed to upward of 10 minutes for a Bitcoin transaction). We’ve had zero failed transactions, and energy consumption is negligible.

Based on our successful collaboration to overcome the many obstacles we initially faced, we’re thrilled with the level of support we continue to receive from IBM. We expect to continue using IBM Cloud Data Shield.

Learn more

Was this article helpful?
YesNo

More from Cloud

Top 6 innovations from the IBM – AWS GenAI Hackathon

5 min read - Generative AI innovations can transform industries. Eight client teams collaborated with IBM® and AWS this spring to develop generative AI prototypes to address real-world business challenges in the public sector, financial services, energy, healthcare and other industries. Over the course of several weeks, cross-functional teams comprising client teams, IBM and AWS representatives worked to design, develop and iterate on prototypes that push the boundaries of what's possible with generative AI. IBM used design thinking and user-centric approach to guide the…

IBM + AWS: Transforming Software Development Lifecycle (SDLC) with generative AI

7 min read - Generative AI is not only changing the way applications are built, but the way they are envisioned, designed, tested, documented, and deployed. It’s also revolutionizing the software development lifecycle (SDLC). IBM and AWS are infusing Amazon Bedrock generative AI capabilities into the IBM® SDLC solution to drive increased efficiency, speed, quality and value in every application lifecycle consistently and at scale. The evolution of the SDLC landscape The software development lifecycle has undergone several silent revolutions in recent decades. The…

How digital solutions increase efficiency in warehouse management

3 min read - In the evolving landscape of modern business, the significance of robust operational and maintenance systems cannot be overstated. Efficient warehouse management helps businesses to operate seamlessly, ensure precision and drive productivity to new heights. In our increasingly digital world, bar coding stands out as a cornerstone technology, revolutionizing warehouses by enabling meticulous data tracking and streamlined workflows. With this knowledge, A3J Group is focused on using IBM® Maximo® Application Suite and the Red Hat® Marketplace to help bring inventory solutions…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters