The Central African Republic is establishing a legal framework that will allow the use of cryptocurrencies like bitcoin to be used in the economy.