Legal Aspects of Blockchain Technology