Legal framework for crypto assets