I think BitCoin was legal at creation; commoditizing data with protocol rules violates no laws — anymore than inventing the container, which automated much of what stevedores did, was.

More on this here:
https://equitydiamonds.medium.com/commodity-barter-is-legal-so-is-bitcoin-f9cc00f81a93?sk=b644109210508c820aabc588eefefd40

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store