Donald Trump has revealed he is “not a fan” of bitcoin or Facebook’s Libra in his first public comments on cryptocurrency.

In a series of tweets, the US president said bitcoin enabled illegal activity and was ”not money”.

However, his comments were welcomed by senior figures within the cryptocurrency industry and even appeared to boost its market value.

It is not clear what prompted Mr Trump’s remarks, though they came hours after the White House hosted a Social Media Summit to discuss alleged left-wing bias of platforms like Facebook.

“I am not a fan of bitcoin and other cryptocurrencies, which are not money, and whose value is highly volatile and based on thin air,” Mr Trump tweeted.

Bitcoin's volatile history in pictures Show all 8 1 /8 Bitcoin's volatile history in pictures Bitcoin's volatile history in pictures Satoshi Nakamoto creates the first bitcoin block in 2009 On 3 January, 2009, the genesis block of bitcoin appeared. It came less than a year after the pseudonymous creator Satoshi Nakamoto detailed the cryptocurrency in a paper titled 'Bitcoin: A peer-to-Peer Electronic Cash System' Reuters Bitcoin's volatile history in pictures Bitcoin is used as a currency for the first time On 22 May, 2010, the first ever real-world bitcoin transaction took place. Lazlo Hanyecz bought two pizzas for 10,000 bitcoins – the equivalent of $90 million at today's prices Lazlo Hanyecz Bitcoin's volatile history in pictures Silk Road opens for business Bitcoin soon gained notoriety for its use on the dark web. The Silk Road marketplace, established in 2011, was the first of hundreds of sites to offer illegal drugs and services in exchange for bitcoin Bitcoin's volatile history in pictures The first bitcoin ATM appears On 29 October, 2013, the first ever bitcoin ATM was installed in a coffee shop in Vancouver, Canada. The machine allowed people to exchange bitcoins for cash REUTERS/Dimitris Michalakis Bitcoin's volatile history in pictures The fall of MtGox The world's biggest bitcoin exchange, MtGox, filed for bankruptcy in February 2014 after losing almost 750,000 of its customers bitcoins. At the time, this was around 7 per cent of all bitcoins and the market inevitably crashed Getty Images Bitcoin's volatile history in pictures Would the real Satoshi Nakamoto please stand up In 2015, Australian police raided the home of Craig Wright after the entrepreneur claimed he was Satoshi Nakamoto. He later rescinded the claim Getty Images Bitcoin's volatile history in pictures Bitcoin's big split On 1 August, 2017, an unresolvable dispute within the bitcoin community saw the network split. The fork of bitcoin's underlying blockchain technology spawned a new cryptocurrency: Bitcoin cash REUTERS Bitcoin's volatile history in pictures Bitcoin's price sky rockets Towards the end of 2017, the price of bitcoin surged to almost $20,000. This represented a 1,300 per cent increase from its price at the start of the year Reuters

He added: “Unregulated crypto assets can facilitate unlawful behaviour, including drug trade and other illegal activity. Similarly, Facebook Libra’s ‘virtual currency’ will have little standing or dependability.”

Mr Trump said if Facebook and other companies “want to become a bank”, they must become subject to national and international banking regulations.

He signed off his Twitter rant with typically nationalistic rhetoric, stating: “We have only one real currency in the USA, and it is stronger than ever, both dependable and reliable. It is by far the most dominant currency anywhere in the world, and it will always stay that way. It is called the United States Dollar!”

Trump’s comments appeared to have no negative impact on the cryptocurrency market, with bitcoin actually gaining 1 per cent in value since the tweets were posted.

This represents remarkable stability for the cryptocurrency, which has seen extreme price volatility over the last few weeks and heavy losses in the last couple of days.

“The irony is that in tweeting about bitcoin, Trump has just given it the single best piece of publicity it has ever had,” Nicholas Gregory, founder of the blockchain firm CommerceBlock, told The Independent.

“I wouldn’t be surprised to see bitcoin rally on the back of it. The cryptocurrency industry will be rubbing its hands with glee.”

Brian Armstrong, the CEO of popular bitcoin exchange Coinbase, said Mr Trump’s tweets were an “achievement” for bitcoin.

“I dreamt about a sitting US president needing to respond to growing cryptocurrency usage years ago,” he wrote.

“’First they ignore you, then they laugh at you, then they fight you, then you win’, We just need to make it step 3 y’all.”

“This is a major mistake on your part and shows a complete lack of vision,” tweeted far right commentator Mike Cernovich.

Others pointed out that leaving behind the Gold Standard and measures like quantitative easing mean traditional currencies like the US dollar can also be created “out of thin air”.