Fatwa on digital currencies:
"Some scholars believe that dealing with digital currencies such as Bitcoin is permissible according to Sharia if they meet the legal conditions, such as being an approved and legally acceptable means of exchange, and being free of prohibited transactions such as usury and gambling. However, it is advisable to stay away from them if they are unstable or lack transparency, due to the risks and harms they entail that may lead to significant losses."
Always consult a reliable Sharia authority before making a decision to deal with digital currencies.