Coinffeine Brings Bitcoin to Mobile Operators

Photo: Phil Campbell, CC BY 2.0, (Not changes made)

Mobile payments are experiencing tremendous growth. The use of bitcoins has beeen limited so far, but services like Coinffeine can help make it much easier for users.


The mobile phone can be used as a means of payment, and operators have been trying make that happen for over 10 years.

There are countries with a failing economy where having a bank account is too expensive and inefficient, but nevertheless everyone has a mobile phone. In these countries, telephone operators have become part of the financial industry, enabling efficient payment systems that allow the transfer of mobile phone balance, known as Airtime, from person to person.

In Kenya it has become normal to pay for a coffee with Airtime using your mobile phone. This Airtime is later changed to local currency by the owner of the coffee shop. The most popular service that makes this possible is called M-Pesa and is provided by the operator Safaricom. It has over 15 million users and over 80,000 distributors in Kenya.

In developed countries like Spain electronic payments are much more efficient and the use of Airtime for this purpose is meaningless. Nevertheless, there are still some operators that allow you to send phone balance from person to person, like the popular service “Passme balance” from Telefónica Movistar.

Although it makes no sense to use phone balance to pay for a coffee in most developed countries, it can make sense for other unexplored purposes, such as the sale of digital goods.

Photo: Ken Banks,  CC BY 2.0, (Not changes made)
Photo: Ken Banks, CC BY 2.0 (Not changes made)

Movistar Payments is an example of this service, allowing the purchase of digital goods with phone balance.

In Spain, the law does not allow operators to sell physical products such as cinema tickets with phone balance, but they are allowed to sell digital goods such as applications, games or even bitcoins. In fact, one of the first operators understanding the potential of the new market of digital goods is the operator T-Mobile in Poland, already offering their customers to buy bitcoins with phone balance.

But even if the sale of bitcoins in exchange for phone balance can be done in an easy way and potentially reach a large number of customers, there are several problems that would make it very difficult to offer this service.

First, if an operator wants to sell bitcoins charging the bill to the client´s phone balance, it must handle and dispose of bitcoins, and this is a problem. To maintain large deposits of cryptocurrencies is expensive, risky and it looks like it will undergo a regulation process similar to the famous New York Bitlicense, which raises the operating costs of the services with Bitcoin to the extent that it is not profitable in some cases. And to buy them on demand from a third party does not solve this problem neither.


Secondly, the latest report of the ECB on digital currency defines Bitcoin as a digital asset that can be used as money. In Spain this is exactly how Bitcoin fits into the regulation. When operators were banned to sell physical goods in exchange for phone balance, it was because it exists a need to provide certain guarantees, requesting and fulfilling a financial license. In the case of Spanish operators that decide to sell bitcoins in exchange for phone balance, it is likely that they will meet such restrictions in the future, which again would close the door of opportunity of selling this types of goods with phone balance.

Finally, and despite the fact that it already exists solutions such as Movistar Payments allowing micro purchases of digital goods such as games and apps, regulation is especially hard with operators such as Telefónica and do not allow their customers to spend more than €100 per month in this service.

Despite these problems, it is still very interesting for a telecom operator to become the main gateway to the new market of digital currencies and digital goods. And there are solutions, such as the one created by the Spanish startup Coinffeine: a P2P protocol that can be a way to explore this market.

Using the technology that Coinffeine has created, an operator that offers a similar service to the earlier mentioned “Passme balance” and that has an API, could become the largest gateway to the market of digital currencies and digital assets..

Coinffeine is an application similar to BitTorrent, which is using the money in your bank or payment processor such as PayPal, to make payments to other users automatically in exchange of bitcoins. The bitcoins are transferred from person to person, without the need to go through the banks. In this model, banks are used simply as means of payment.

coinffeine logo

What is really interesting about Coinffeine´s P2P model is that it turns the services offered by a service provider into contracts between individuals, a legal framework with many advantages for the exchange of digital goods and reducing most operative costs.

Instead of competing with banks and payment processors, Coinffeine offers them a privileged position to explore the new market of digital assets. A good proof of the interest banks have in the model that Coinffeine offers, is that a large Spanish bank already is among its partners: namely Bankinter.

The model created by Coinffeine allows banks and payment processors´ customers to buy bitcoins with their account balance, and it could work in the same way with phone operators. In this case they can enable a service that allows paying with Airtime from person to person.

Airtime is certainly a perfect means of electronic payment to purchase digital goods like Bitcoin between people or to make micro purchases, even in countries like Spain. Movistar Payments is a good example of that. But in countries like Kenya, combining Airtime and digital currencies could play an even more important role.

In Kenya, over 15 million M-Pesa clients have an inexpensive electronic means of payment in retails. But they still do not have a cheap means of payment to purchase global digital services via the Internet as an account in Spotify or Skype balance, and this is where digital currencies like Bitcoin play a key role.

Bitcoin is already accepted as payment in companies like Microsoft or Dell, and it is being made accessible to many others like Skype Credit through third party services. Bitcoin is the perfect means of electronic payment to pay and to offer digital services on the Internet in countries where Airtime is successfully used to pay in the streets.

In a country where there are more mobile phones than people, the use of Airtime as means of payment for digital goods makes sense, and it can make the telecom operators to be a key player in the new market of digital currencies.


Text originally published in Spanish at Telefónica’s Think Big blog.

Written by Alberto Gómez Toribio, CEO of Coinffeine.

Coinffeine Brings Bitcoin to Mobile Operators

Coinffeine brings Bitcoin to the Mobile World Congress

Photo: 4YFN

Coinfeine is in Barcelona these days. The Catalan capital is host to the Mobile World Congress (MWC) and the startup event 4 Years From Now (4YFN), and we have been invited to be part of the ICEX stand in the event.

Without a doubt it is a great opportunity to attract new attention for our distributed Bitcoin exchange in front of a national and international audience that visits the capital of mobile phones these days. Coinffiene is proud to be one of the few Spanish Bitcoin companies that participates, and we have got attention for the possible union between banks and Bitcoin that our protocol makes possible. When it was made public that the large Spanish bank Bankinter is our partner, nobody will be surprised that we are working for other Spanish banks to do similar agreements.

We started off the fair last Monday with a workshop about Bitcoin in the 4YFN program. Together with Jorge Ordovás, from Foro de Economía Digital and José Ramón Morales, from Garrigues, our CEO Alberto carried out a workshop called “Bitcoin, the next (r)evolution”. The workshop wanted to transmit a simple message: Bitcoin exists because we need a something similar to cash on the Internet. The interest for the workshop exceeded our expectations and it was one of the 9 that was fully booked before the fair started. After a small game with paper wallets and a talk about new payment systems like the VISA card rechargeable with bitcoins from Xapo, we used the occasion to explain and show how Coinffeine works. And once again, we could confirm it did not disappoint.

4YFN WorkshopDuring the rest of the first day our stand was full of activity. Being a reference for Bitcoin startups in Spain, we received visits from all kind of people that kept us busy practically all the time. Most of our visitors wanted to meet the team behind one of the most talked startups these days. And the second day we had the same experience.

We are enthusiastic about this event. Being invited to other international events like the Silicon Valley Forum in San Francisco or CoinSummit in London, the Mobile World Congress is the first Spanish-based large event we have attended. It will not be the last.

So if you happen to be in Barcelona come and visit our stand! Get to know how Coinffeine works and how our business plan includes banks in the Bitcoin ecosystem. We are thrilled to share our experiences.


Coinffeine brings Bitcoin to the Mobile World Congress

Contracts between individuals

Lego pair
Photo: Brian Neudorff, CC BY 2.0 (Not changes made)

A decentralized system is one in which the control or the essential parts of the system are transferred to the peripheral cores. In this way, the whole system does not depend on single points of failure to operate.

This concept is not new. Already in 2002 the paper of Petar Maymounkov and David Mazières, which would create the protocol for P2P file sharing Kademlia, explained what technical problems were solved and why it makes sense on the Internet. However, it was not until 2009 that they began to explore the mechanisms of consensus and incentives applied to decentralized systems to replace the trusted authorities. This work resulted, among other things, in the technology we know as Blockchain.

Decentralization is a concept that has become fashionable and has solved many technical problems, but few understand the business problems it also solves. Some of the Bitcoin ecosystem startups have created admirable technologies, but that do not solve problems that anyone are willing to pay for. Others are aimed at too small markets where it is difficult to create solid business models, specially if they are based on volume. Being aware of this Coinffeine, with its technology and business model, has chosen a different path.

Coinffeine has created a protocol for exchanging currencies and bitcoins between people in a secure way, using payment processors to manage payments. In the future we also intend to allow exchanges between other digital assets: next generation financial products. We understand that this is the most natural way to exchange digital assets for money, an opinion shared by regulators and experts that we have been in contact with. In this way, instead of creating a new scenario that needs to be regulated, we reuse the existing infrastructure, creating synergies with financial players on the road.

By using Coinffeine, one of the benefits is that the assets traded are always under your control. You do not need to grant us their custody at any point in the process. This means that you never have to worry about news that an Exchange has been hacked or robbed. By doing an exchange with Coinffeine, you will simply never run that risk.

Another big benefit of our technology is that it is not necessary to provide personal information. Think in Coinffeine as a tool such as BitTorrent. You download it, install it and use it. Everything keeps between you and your partner. In this regard, it is noteworthy that the payment processor you use cannot relate payments between users with operations made outside the platform.

Finally, the P2P model allows reducing operating costs of the company: since it does not withstand deposits, it is presumably not considered an MSB.

Coinffeine manages to combine the resolution of various business problems through their protocol. These problems have been solved as a consequence of what the Coinffeine protocol offers: to convert the services traditionally offered by a service provider into contracts between individuals.

In following articles I will explain the tax advantages, the operational advantages and the reduction of costs by involving contracts between individuals and also the problems that Coinffeine solves in traditional banking.

Contracts between individuals

Coinffeine attracts interest in Wall Street

Wall Street
Photo: Mike Czumak, CC BY-SA 2.0 (Image crop)

We are now back from New York, and our journey has been full of interesting encounters in which we could re-confirm the great interest Coinffeine awakes in the USA. During these days we were also pleased to see the interest from NY venture capital to know more about our protocol.

In a way it is not a surprise. Even if Coinffeine was born as a market to buy and sell bitcoins in a distributed way, its potential to become the first decentralized market for financial products has also attracted interest on Wall Street.

During the first days of our stay, Alberto attended the market accelerator program organized by VentureOutNY. There we had the opportunity to participate in an attractive Investor Round Robin with the leading venture capital funds of the city. In addition, we attempted to get the most out of the inspiring work sessions and workshops we were attending. We got to learn a lot about the reality of this enchanting city, essential stepping-stone in the world of Fintech.

After these first intense days, we made our own schedule. The up front work to organize meetings that we did not want to miss was very useful, but once there we had to rearrange our schedule to accommodate many more.

As we like to do whenever we travel to a new city, we prioritized meetings with the local Bitcoin community. We were able to meet almost the entire Bitcoin industry based in New York, which is something that serves as inspiration, learning and always motivates new synergies.

Being in the Big Apple as a Bitcoin start-up, the BitLicense is an inevitable and recurring theme. Coinffeine were interested in getting first-hand knowledge of the entire process and therefore we organized meetings with the regulators. We hope that by properly understanding the vision of the regulators in NY, it will allow us to move forward with political parties and experts on the regulation of Bitcoin in Spain.

Back in Madrid, we bring all this learning, stimulating encounters and valuable contacts. Most importantly, however, we are more eager than ever that Coinffeine continues this path. A path that we are building step by step.

Definitely, it has been a new breath of inspiration that will motivate us to continue programming.

Coinffeine attracts interest in Wall Street

Understanding Coinffeine’s protocol (II)

Photo: W_Minshull , CC BY 2.0 (Not changes made)

In our first post we saw how useful game theory is for analyzing strategic situations, and in this second post of our series Understanding Coinffeine’s protocol we will return to game theory.

Mutual assured destruction

The next concept that interests us is mutual assured destruction, a concept closely related to the years of the Cold War. To get some atmosphere going, we can think of the cult film classic: Dr. Strangelove or: How I Learned to Stop Worrying and Love the Bomb where Peter Sellers plays a scientist who is actually a parody of our friend Von Neumann (or if you prefer film in color, watch WarGames).

Dr. Strangelove or: How I Learned to Stop Worrying and Love the Bomb

In this game, which is the Cold War, we have two rational players, USA and the USSR, both with a high regard for their own survival. At that time nuclear power was already developed, and had sadly been used as a closing ceremony of the Second World War. Both powers had entered into an arms race which, if continued, could have ended with humanity on several occasions.

For years it seemed that nuclear war was about to happen anytime, but it never did. The answer to this is the fact that both players had the ability to respond to a nuclear attack, even if it was a last resort and losses would be dramatic on both sides. The advantage of being the first to attack was insignificant compared to the losses it would cause. And it justified the cost of always having intercontinental missiles ready, and nuclear submarines or planes circling the Arctic to be able to respond to an attack.

Table mutually assured destruction

Nash Equilibrium

If we take stock of the possible outcomes in a table, we can see that the best answer to not attack is not attack, and in the event that the other player attacks it is indifferent what we do. Unlike the prisoner’s dilemma it is not enough to find the dominant solutions. In this case, we need the next best thing, a Nash equilibrium (and yes, there is a film about it).

These equilibrium situations occur when each player can not improve his situation by changing his strategy if the other player persists. In the game we have presented as an example, we find two equilibriums: (Not attack, Not attack) and (Attack, Attack).

A Nash equilibrium is a stable situation by definition and, therefore, in real life are often end up giving or aspire to these kind of results. However, not all equilibriums does necessarily happen. Given the consequences in this game, we get a happy ending (Not attack, Not attack), as happened for example during the Cuban Missile Crisis.

The only winning move is not to play

The lesson we can draw from this game is that you do not need a trusted third party if we have a mechanism that makes you lose more than you could win when the path of collaboration is left behind. This principle is very important to design a decentralized exchange protocol as Coinffeine, and to avoid aberrations such as “preventive wars”.

The game of “chicken”

The next ingredient we need to get familiar with is the concept of strategic moves. We will illustrate it with the game of “chicken” (Yes, you are right! Rebel Without a Cause is a representation of this game).

Rebel Without a Cause

The term “chicken” is a metaphor in which two sides are locked in an escalating situation, where none have nothing to gain and where only pride prevents them from pulling out. It is represented as a race in which two vehicles deliberately are driving on a collision course. The first to swerve is a coward ( or a “chicken”) he loses pride and the other wins. If both swerve no one loses anything, whereas if both continue they will crash and die.

Table game of the chicken

A quick glance at the table makes us realize that it does not exist a dominant strategy. If one of the drivers swerves, the best strategy for the other driver is to continue. However, if one of the drivers does not swerve, the best strategy for the other driver would be to swerve. As in the prisoner’s dilemma, this type of situations are common in the real world.

A strategic move is to modify the game to change the outcome and to change the balance. This would happen if driver 1 rips off the steering wheel, and throws it out of the window so the other driver realizes that his choices have been reduced dramatically.

Table strategic move - game of the chicken

As a result we have a new game where there is a dominant strategy for driver 2: Swerve is the only option, as death (-∞) awaits him if he continues.

We can say that by restricting the options, “rip off the steering wheel”, we make the threat of staying on the collision course even more credible, and it changes the rules of the game. The strategic moves are terribly useful, because we can use it to design games where collaboration is the dominant path. However, I do not recommend you to do this at home… you could see the steering wheel of the other driver go out of the window as well…

In the next post we will present the Coinffeine protocol as a game, applying all these concepts.




Understanding Coinffeine’s protocol (II)

Understanding Coinffeine’s protocol (I)

Photo: Brian Alano CC BY 2.0, (Not changes made)

Coinffeine is a company, a desktop application and, most importantly, a protocol that allows decentralized exchange of bitcoins. This is the first of a series of posts in which we will explain the basics of Coinffeine’s protocol.

Let’s start with the following scenario, by the way very cinematic, in which two people who do not trust each other want to trade. This scenario implies a risk, because if the first person surrenders his briefcase before the other person gives him the goods, he runs the risk of being left with nothing and vice versa.

Trust without a third party

This situation is analogous to what we have in an exchange of bitcoins in Coinffeine: briefcase → FIAT goods → bitcoin. It does not exist trust between the parties, because there is not a third party that both trust. The parties have been matched without knowing who is their counterpart.

This situation seems unresolvable in principle, except for the fact that we can rely on two powerful tools: The first is that we are talking about rational agents, that is, looking for their own benefit, and the second is that we assume the presence of bitcoin. To solve the first we can use game theory to analyse the problem, and thanks to the second we have mechanisms such as multisig, allowing us to use the funds in new and creative ways.

Game theory

In this post we will focus on the first tool – game theory – which is a discipline midway between mathematics and economics, and applicable to situations in which rational agents make decisions in a well-defined scenario.

Although there are reminiscences of the kind of reasoning that is done in game theory in many ancient texts such as The Art of War by Sun Tzu or in the work of Charles Darwin, one can say that this concept appears in 1944 with John von Neumann and Oskar Morgenstern’s book entitled Theory of Games and Economic Behavior. Von Neumann is an old acquaintance of computer engineers because he is, along with the great Alan Turing, one of the fathers of computing.

Game theory fits well with the era in which it was formalized, and during the Cold War it seems like military terminology leaked and was adopted as the jargon of this field. The “games” can be seen as war scenarios, and the term “strategies” is frequent… The Cold War was actually brought to an end through mutual assured destruction. This is another game theory concept, which we will discuss in greater detail in the next post.

The Prisoner’s Dilemma

A good starting point to get into game theory is the prisoner’s dilemma. It is probably the best known game, and it will serve to identify the elements in the games before we can analyse them and draw conclusions. The game is set in a police station, where we have two members of a criminal gang arrested and imprisoned. Each prisoner is in solitary confinement with no means of speaking to or exchanging messages with the other. The rational actors will be, in this case, the two prisoners.

The next thing to consider in any game is the available actions of each actor. In this case, both prisoners face a difficult decision: the police are pushing them to collaborate with justice and testify (or defect, D), but they can as well keep strong and silent (and collaborate, C, with the other prisoner). The police admit they don’t have enough evidence to convict any of the prisoners on the principal charge, and plan to sentence both to a year in prison on a lesser charge. Each prisoner is given an opportunity to freedom: testifying that the other committed the crime for which he will be sentenced ten years in prison. However both prisoners have a problem. If both of them decide to collaborate with justice they will both go to jail, but only for five years each. These sentences are possible incentives or costs of this game, and is the third element to look for when characterizing a game.

We can set all the options on a table. The rows represent the possible actions of one player and the columns of the possible actions of the other player. In the cells we place the appropriate incentives to each of the scenarios. The result is known as a normal-form game, and in the specific case of the prisoner’s dilemma it looks like this:

The players actions and incentives in the prisoner’s dilemma

Prisoners Dilemma

Dominant strategy

Now we have enough elements to analyse this game. For our example, we can apply a simple concept called dominant strategy. In other cases you have to use other solution concepts that are more complicated. Strategic dominance are those moves that are the best answer to anything the other player does, and by definition, will be the preferred strategy by the player.

To analyse the dominant strategies of the blue prisoner, we have to look at the most convenient depending on the actions of the orange prisoner:
– If the orange prisoner decides to cooperate (C), and the blue prisoner does so as well (C) both will get only one year in prison. But if the orange defects (D) he will be set free, so in this case the blue prisoner should choose D.

– If the orange prisoner decides to defect (D), the blue prisoner will prefer to do the same and spend five years in jail rather than the 10 years he would get to cooperate (C) and be betrayed.

Regardless of what the other player does, the best response for both players is to defect. This is because the game and table are symmetrical and it is said that there is an equilibrium in (D, D). This game and its solution are very interesting because it helps us to understand why it may be wise to be rational and not cooperate in certain situations, although you could gain from it.

Games in everyday situations

There are many situations around us that can be expressed through games with incentives that have different values, but with the same relationships among them and with the same practical result. This helps us understand why it is rational not get informed before voting (rational ignorance), or why it is so hard to take care of the environment (tragedy of the commons), among other situations.

Let us go back to our cinematic scenario and the exchange of bitcoins in Coinffeine. It is clear that there are rational players, who can take a number of actions and that we can conceive this situation as a game. However, we still do not have all the pieces. We have to design the possible actions so that instead of no collaboration, as in the prisoner’s dilemma, both players choose to collaborate as the only option. In order to achieve this we need to understand the concepts of mutually assured destruction and throwing away the steering wheel. But, that is the topic for the next post.

If you want to go deeper into game theory:

– Game Theory:

– Good introductory book:

– Introductory course in Coursera:

Understanding Coinffeine’s protocol (I)

Coinffeine opens 2015 in New York

New York
Photo: Roman Iakoubtchik,CC BY-SA 2.0, (Not changes made)

We begin 2015 crossing the Atlantic Ocean again. This time Coinffeine‘s destination is New York, where we will participate in a market accelerator program organized by VentureOutNY.

From January 10th and for the next ten days, our CEO Alberto will be in the Big Apple, a city that serves as an important stepping stone in the world of Fintech. The timing for this trip could not be better for Coinffeine. We are working to close the investments of our Serie A, and Manhattan may just be the perfect place to attract interest from new investors. It is a great opportunity to show the potential of Coinffeine´s protocol as a framework for traditional banking and the future that Bitcoin brings to the world of finance and financial institutions.

On our recent trip to San Francisco we learnt, among many other things, how to move in the US market. Coinffeine will use all the experiences from our last trip to increase our network in the US and seek to extend our funding.

The VentureOutNY program will present us to acceleration programs and venture investors in the city, as well as the training required to meet the specific market characteristics of New York through workshops and networking.

New York is known as the city that never sleeps, and it seems like Alberto have to conform to that. It will be a trip with a busy schedule of meetings with investors, banks and Bitcoin ecosystem companies. We also hope to have meetings with the local Bitcoin community in order to deepen their reality, share experiences and create synergies.

Again, we are proud to participate in this programme. It is surely an incredible experience for a Spanish Bitcoin startup. We hope the Big Apple is where Coinffeine gets the momentum to break into the American market.

Coinffeine opens 2015 in New York