In most of the countries it is legal I guess. Amount of 3-4k is ok. You don't even pay a capital gains tax for that amount. Here is an interesting discussion on Reddit that I found. I advise you to read it, it could help to understand things in crypto better.