Tag Archives: bitcoin

Cryptocurrencies – What is Bitcoin?


For those that are digitally alert, no day passes without you hearing about Bitcoin, Onecoin, Litecoin, Ethereum, Ripple among others. This is a follow up article on an earlier one I wrote introducing blockchain and cryptocurrencies. It is helpful to first understand blockchain before diving into the world of cryptocurrencies.

What is a cryptocurrency? This is a digital currency that uses cryptography for security.

Digitally, cryptography involves creating written or generated software codes that allow information to be kept secret. It converts data into a form that is unreadable for an unauthorised user, thereby enabling it to be transmitted without fear of an unintended recipient understanding it hence enhancing its integrity.

What is a currency:

  • A Medium of exchange – It is a more efficient way of exchanging products and services as opposed to barter trade.

  • A Store of value – A mechanism by which wealth can be saved and retrieved in the future with some predictability e.g gold, silver, reserve currencies, stocks, bonds etc.

  • A Unit of account – A standard measurement of the value of goods, services, assets and other economic activities e.g. the value of a soda versus ten passion fruits.

A journey through history shows that we have traversed from barter trade all the way to the current paper money as depicted in this image.currency_years

Digital money has been making its mark over the past few decades. As opposed to cryptocurrency, digital money is defined as any means of payment that exists purely in electronic form. Mobile Money would be an ideal candidate in this regard. The reason it can’t be called cryptocurrency is the absence of cryptography.

Cryptocurrencies can be characterised by some or all of the following attributes;

  1. Entirely virtual currency created by computer code.

  2. Rely on the use of cryptography to effect highly secure transactions as well as the creation of new units of the currency.

  3. Rely on a publicly available ledger to keep a record of transactions undertaken.

  4. Use a wallet (defined later) to facilitate transactions.

  5. They are highly decentralised in nature of operation as a result of most of them depending on the blockchain technology (this was covered in the previous article).

  6. Due to the dependence on blockchain by most cryptocurrencies, transactions aren’t easily reversed once approved.

  7. User identities are protected. The public ledger maintained never bears any detail that can uniquely identify a user.

Traditional monetary systems entail Governments issuing money which is then controlled by a Central bank eventually getting to the users through the commercial banks. This implies that there is heavy control by the issuing authority of the currency.

Enter cryptocurrencies, unlike the traditional monetary systems, they are fully decentralised with no central government control. Think about it as community generated currency though this time in a digital format. Money is what it is because people agree to it as a medium of exchange. Hence, any community of people that come together and agree to create their own currency and trade in it can validly create a currency.

Enter Bitcoin

Bitcoin is a cryptocurrency that uses decentralised technology for secure payments and storing money that doesn’t require banks or people’s names. BC_Logo_

It was the first cryptocurrency to be formed in 2009 and has since gone on to be the most widely used or preferred. It has no government backing, no delays when sending money as well as minimal transaction fees if any (due to the elimination of the numerous third parties).

Some terminologies to be familiar with before we proceed are:

  • BTC: A common unit used to describe one bitcoin, just like one US Dollar.

  • Bit: There are 1,000,000 bits per bitcoin, 1 bit = 0.000001 BTC.

  • Bitcoin Wallet: This is where you store your bitcoins. It is a program that manages your bitcoin addresses and allows you to transact. In otherwords, it is a collection of addresses and the keys that unlock the funds within.

  • Bitcoin Address: Is also regarded as the public key, it is like an email address. You issue this to anyone you expect to receive payment from. Always advisable to create a new one for each transaction. You are at liberty to have as many as possible.

  • Private key: Every public key has a private key associated with it. It is a secret piece of data that proves your right to spend bitcoins from your wallet. Kind of like a password.

  • Bitcoin Client: Is the software application or web service managing your wallet and addresses. It connects a user to the Bitcoin network.

Ownership of bitcoins is established through digital keys and signatures. The keys are generated locally using the Bitcoin Client then stored in a bitcoin wallet. These keys then allow the user to sign transactions thereby providing proof of ownership of the traded bitcoins.

Be very careful who generates your private keys and where they are stored. Read more on Bitcoin security !!!!!

bitcoin-work-1

Types of Bitcoin Clients

  1. Full Client: This is a client that stores the entire history of bitcoin transactions, manages the user’s wallets and can initiate transactions directly on the Bitcoin network. It never communicates the private keys and stores them locally.

  2. Web Client: Is accessed through a web browser (kind of like Gmail) and stores the user’s wallet on a wallet owned by a third party server. It relies entirely on third party servers.

  3. Lightweight Client: It stores the user’s wallet but relies on third party owned servers for access to bitcoin transactions and the network. Just like a full client, it stores the private keys locally.

  4. Mobile Client: Largely used on smart phones, it can operate as a full client, lightweight client or web client. Some mobile clients can be synchronised with a web or desktop client, providing a multi-platform wallet across multiple devices, with a common source of funds.

We noted earlier that the “Keys” are very crucial towards the security of your bitcoins. How you store them is determined a lot by your choice of Bitcoin wallet and client.

Local Storage – If you have a good computer and take steps to avoid intrusion or exposure, this option is fine. However, if your computer is hacked into, crashes and you have no backups, or you forget your passwords, then most likely your private keys and bitcoins will be lost forever. You trade off convenience for security in this case.

Remote Storage Reliance is on a third party. If their security is compromised or they act maliciously, your bitcoins are lost forever. Third party exchanges are more likely targets for intruders, when compromised, you are likely to lose your bitcoins for good. The biggest offer here is exchanging security for convenience.

Feel like getting started with Bitcoin? Get more details here.

Bitcoin’s value is increasing in leaps and bounds by the day, the cryptocurrency is gaining lot of credibility in mainstream financial circles. From Europe to Asia and the Americas, restaurants and various businesses are embracing bitcoins as a form of payment. By October 2016, there were 1,587 Bitcoin ATMs worldwide. Virgin Galactic, a Space Tourism company accepts bitcoin payments from customers. The University of Nicosia in Cyprus was the first ever such institution to accept school fees payments in bitcoins.

Over the past one year i.e. November 2016 to November 2017, the price of a bitcoin has early increased tenfold. From US$ 706 on the 14th of November 2016 to US$ 6,863 as of the 15th of November 2017.

bitcoin_1year

Bitcoin price growth over a one year period

If you want to familiarise yourself more with cryptocurrency trading, set up an account. I used Coinbase to set up mine and it gives me rates in Uganda Shillings equivalent for Bitcoin, Ethereum and Litecoin. All these are different cryptocurrencies one can trade in. The snapshot below shows that within a span of one month, the price of one bitcoin currently at UGX 25,069,624 increased by 22% reflecting a net gain of UGX 4,540,169.

Screen Shot 2017-11-15 at 10.25.17

A typical Coinbase account

You may be scared by the cost of a bitcoin being at UGX 25 Million. That shouldn’t bother you so much. You don’t have to buy an entire bitcoin to trade. Remember as earlier noted, a bitcoin is divisible into 1 million bits. This literally means that at the going rate, 1 bit costs UGX 25. So, with UGX 100,000 you could literally buy 4000 bits which is the equivalent of 0.004 bitcoins (BTC).

[Begin Update]

After getting feedback from readers about Coinbase not supporting operations in Uganda, I did some further research and came across SpectroCoin . According to the website, they have support for cryptocurrency trading in Uganda complete with Mobile Money integration allowing you to purchase as low as UGX 500/. This is not an endorsement of their service but like any other venture, I advise you to tread very carefully to avoid making mistakes.

[End Update]

The world is entering a phase of cryptocurrencies, much as there might be a lot of doubt cast upon this trend, the reality is that it’s a matter of time before they too gain credibility just like any other innovations that were derided in the past. Should you be considering them as a form of investment? That is another question that shall be addressed separately.

I hope this has been helpful. Feel free to ask questions in the comments section.

James Wire is a Small Business and Technology Consultant based in Kampala, Uganda

Follow @wirejames on Twitter.

Email lunghabo [at] gmail [dot] com

Other Articles:

Simplifying Blockchain and cryptocurrencies for a Ugandan

Other Sources:

  1. http://www.ironlotuspt.com/images/content/bitcoin-work-1.jpg

  2. https://coinlist.me/wp-content/uploads/2016/12/how-does-bitcoin-work.jpg

  3. http://www.pulselive.ug/bi/finance/finance-bitcoin-just-hit-an-all-time-high-heres-how-you-buy-and-sell-it-id7457611.html

  4. University of Nicosia, Msc in Digital Currency notes.

Simplifying Blockchain and CryptoCurrencies for a Ugandan


The Merriam-Webster dictionary defines money as; Something generally accepted as a medium of exchange, measure of value, or a means of payment.

We’ve grown up knowing that money is largely paper and comes in the form of notes. That is why it’s a lot easier for one to identify the US Dollar and differentiate it from the Euro or Uganda Shilling. Over the years, advances in technology have changed the way we do what we do, or even perceive things. There was a time when it was perfectly ok to write a letter through the Post Office to a friend and wait for a month to get a response yet today, we achieve the same feat within seconds or minutes through the use of email and various social media tools.

As the buzz of CryptoCurrencies takes shape globally, many do not understand what they really are and that is the purpose of this and more articles to come on this matter.

The definition of money already highlighted earlier clearly gives room for the evolution of different types of currencies as long as they meet the key deliverables in the definition. In this digital age, money is taking on various digital forms and in Uganda, one of the latest innovations in this regard is the digital money we call Mobile Money which is an electronic wallet service that lets users store, send and receive money.

A CryptoCurrency is a digital currency that uses cryptography for security thus making it difficult to counterfeit. In otherwords, when you look at that paper money that you’re very much accustomed to, you’ll notice various security features embedded in it to prevent the counterfeiting of the notes. With cryptocurrencies, because the money is not physical in nature, it uses electronic security approaches to prevent the possibility of counterfeits.

Cryptography converts data into a format that is unreadable for any unauthorised user, allowing it to be transmitted without anyone converting it back into a readable format until the intended recipient receives it. You can look at cryptography as an effort to conceal something by a sender with the aim of enabling the right recipient to be able to access it. Simply put, you write a letter, put it in an envelope and seal it. The hope is that the envelope will be opened by the addressee only. That envelope concealing the letter is what we would call cryptography in its most basic form.

Before we deal with Cryptocurrencies, there is a whole underlying framework of operation that gave rise to them which we have to first understand. It is called Blockchain.

What is Blockchain?

In our daily operations, we’ve gotten accustomed to relying on intermediaries in most of our transactions. Below are some of the examples of our dependence on intermediaries;

  • bank_transaction

    Current transaction process

    Payments. When paying someone or getting paid by an employer or customer, banks and various financial institutions are an unavoidable intermediary. Your customer instructs their bank to send money to your bank before you can get access to it on your account.

  • Land Dealings. When you want to buy or sell land, there is a process that involves going to the Lands Registry office primarily to verify the authenticity of ownership and eventually to transfer the land to the new owner. The Lands office is the intermediary here.

  • Identity. Proof of one’s identity is linked to a database of Government records. In Uganda’s case, it’s held by the National Identification and Registration Authority (NIRA). NIRA becomes the intermediary for any inquiry regarding your identity.

  • Asset Ownership. When you purchase a car, its registration and ownership information is handled by an agency and in Uganda it’s the Uganda Revenue Authority (URA). They issue you the log book as proof of ownership. They are the intermediary in this case.

These and many more cases show how we have been brought up to rely on some intermediaries in most of what we do. These intermediaries are not necessarily a bad idea because they were the only alternative that was envisioned as a way of enhancing trust in transactions. We have been made to believe that banks are safe and can be trusted to keep our money safely and make payments on our behalf. We have been made to believe that the Land registry can be trusted to keep a true account of our land title deeds, same applies to NIRA with our identity records.

If you live in Uganda, I am sure you know quite abit about the mess in our Lands Registry. Land titles are changed at will by crooks who connive with internal staff. The level of corruption in that Lands office is so gross that many have had their land titles transferred without their knowledge. All this because the database is only accessed and manned by a privileged few by virtue of their employment in that office. The rest of us just have to believe that these privileged few are doing their job the right way.

Now to the banks, while we have this confidence in banks to keep our money safely, there have been cases in the past of banks falsely reporting clients’ accounts. Some have been rumored to use customer accounts to launder money. A common story is said about a recently failed Ugandan bank that had a double accounting system in place. It had the official one that showed the true account status of its customers and a second unofficial one that mapped onto the official one and was used to launder money by falsely crediting it on the numerous customer accounts. One day, the official accounting system was overridden by the unofficial one and all of a sudden, customers who hardly kept money on their accounts found them credited with millions of shillings. It was a bonanza as many of these customers withdrew the money before the bank reversed the error. Interestingly, the bank kept mum about it.

bank_transaction_charge

The overhead imposed by intermediary charges

The two cases above show why we might most likely be living in a mirage putting trust in intermediaries that we cannot prove are as trustworthy as they claim to be. These intermediaries also add an extra layer of cost onto our transactions. If you attempt to pay someone in South Africa from Uganda, chances are you’ll be charged at least UGX 50,000/= (USD 13) in transaction costs. When you go to the Lands registry to carry out a search on a title, there is a cost attached.

Do we really need to have these intermediaries? Why is it that you can send an email or WhatsApp message directly to your intended recipient at no extra cost but not do the same with financial payments or car ownership transfer?

Enter Blockchain, its purpose is primarily to remove the numerous intermediaries in our transactions and encourage direct peer to peer interaction basing on public trust.

Going back to our example of the Land Registry and how it is plagued with thuggery, the waning trust by the general public can be won under the following circumstances that blockchain facilitates;

Imagine a community of people say in Uganda, we own, purchase and sell land. Just imagine that the database that holds records for these land title deeds is a public one which we can get access to anytime we feel like using various technologies like phone apps, computer programs among others.

Step 1: If James wants to transfer land title ownership to Musa, he makes a request on his phone using an App to carry out that transaction.

Step 2: This request is then broadcast to all other users of a similar land registration app or software which we shall call nodes. The purpose of this broadcast is to seek validation from those nodes as to whether James’ transaction should be considered valid or not. This is aimed at ruling out a double transaction (maybe James had previously transferred the land title to Echweru).

Step 3: All nodes then crosscheck their records based on the local copy of the public database they have access to. If they find no problem with the transaction, they go ahead to flag it as clean hence validating it as authentic.

Step 4: Once the transaction is considered authentic, it’s then recorded in the public database and the title deed gets transferred to Musa. At this point, James cannot turn around and reverse the transaction because any change has to go through a peer reviewed system hence greatly reducing the possibility of fake or multiple transactions.

So, how would this approach be different and why is it necessary in solving our problems with the Lands registry?

Consider that the current status is our reliance on a central database hidden away at the Lands Registry accessed by a privileged few. If someone makes a change to it, we have no way of preventing such occurences. When the server crashes or is hacked and information deleted, we are at a loss to reconstruct it painfully, time lost not withstanding. A systems administrator could easily tamper with the server records at will (we have seen this happen at universities where marks for students are changed within the server).

In the blockchain approach, you do not have a central database but rather each node (computer or phone using the software concerned) acts as a store of the database. Any change to the database requires peer approval of all nodes that are active. Once a change has been approved, the database is updated and re-broadcast to all nodes in order to ensure that there is uniformity. A record of any change is kept for posterity. Do you now realise how hard the thugs will find it to make unscrupulous changes to our land title deeds?

In summary, Blockchain is a database of all transactions happening in a network. Using our outgoing example, the network in this case would be composed of land owners and dealers.

Issues to note about Blockchain;

  • The database is not owned by a single party but is basically a public one (however, technically, there can be private blockchain implementations too e.g within a bank)

  • The database is distributed, not stored on a single centralised computer in a particular organisation or by an individual. It’s instead stored on many nodes all over the entire network, they could be phones or computers.

  • It is constantly synchronised in order to keep transactions uptodate and secured using cryptography.

  • For any successful record to be made, blockchain requires that the nodes on the network all approve any transaction that is initiated.

  • Transaction validation is followed by recording of the details in a public ledger for the general public to see. No middleman is required.

  • This peer reviewed approach reduces system abuse and increases trust.

I hope you have an idea of what Blockchain is. This technology can be used to manage crypto currencies, contracts, asset management and many other things. In the next article, we shall talk about Cryptocurrencies like Bitcoin and Ethereum. Have you got any questions so far?

James Wire is a Small Business and Technology consultant based in Kampala, Uganda.

Follow @wirejames on Twitter

Email lunghabo [at] gmail.com