Legalising digital assets