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

IBM Tech Now: April 8, 2024

< 1 min read - ​Welcome IBM Tech Now, our video web series featuring the latest and greatest news and announcements in the world of technology. Make sure you subscribe to our YouTube channel to be notified every time a new IBM Tech Now video is published. IBM Tech Now: Episode 96 On this episode, we're covering the following topics: IBM Cloud Logs A collaboration with IBM watsonx.ai and Anaconda IBM offerings in the G2 Spring Reports Stay plugged in You can check out the…

The advantages and disadvantages of private cloud 

6 min read - The popularity of private cloud is growing, primarily driven by the need for greater data security. Across industries like education, retail and government, organizations are choosing private cloud settings to conduct business use cases involving workloads with sensitive information and to comply with data privacy and compliance needs. In a report from Technavio (link resides outside ibm.com), the private cloud services market size is estimated to grow at a CAGR of 26.71% between 2023 and 2028, and it is forecast to increase by…

Optimize observability with IBM Cloud Logs to help improve infrastructure and app performance

5 min read - There is a dilemma facing infrastructure and app performance—as workloads generate an expanding amount of observability data, it puts increased pressure on collection tool abilities to process it all. The resulting data stress becomes expensive to manage and makes it harder to obtain actionable insights from the data itself, making it harder to have fast, effective, and cost-efficient performance management. A recent IDC study found that 57% of large enterprises are either collecting too much or too little observability data.…

IBM Newsletters

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