Legal aspects of crypto investments