A bill that made bitcoin legal tender alongside the Central African franc and legalised the use of cryptocurrencies has been unanimously adopted