If Bitcoin and cryptocurrency are considered as Illegal in your country, it is dangerous to do mining for either bitcoins or altcoins. Legal status can be universal Illegal or only partial illegal in one country. You must check legality status of Bitcoin, cryptocurrency and blokchain industry in your nation, and see whether there are branches, activities that are allowed as legal while other activities like payment, trades are not allowed and considered as Illegal.
Checking basic with following sites, and do more research on your national websites and resources for confirming legality status of Mining branch industry in your homeland.
https://complyadvantage.com/insights/cryptocurrency-regulations-around-world/https://newhedge.io/terminal/bitcoin/legality-mapChecking this is very important, especially for those of us who are struggling in the crypto world. Because if we don't really read in detail all the rules about crypto in our country, we could get into trouble because of our ignorance. Because in my country, cryptocurrencies and bitcoin are legalized, but only as commodity assets. So people in the country where I live are allowed to invest in crypto and trade it on crypto exchanges.
But one thing that is not allowed in the country where I live regarding the use of this cryptocurrency is making it a means of payment.
In addition, anyone who does not use rupiah in payment transactions or other financial transactions is subject to a maximum imprisonment of 1 year and a maximum fine of IDR 200 million.
Source: https://www.hukumonline.com/klinik/a/legalitas-bitcoin-menurut-hukum-indonesia-lt5a1e13e9c9fc4/So with this, I personally must avoid dealing with payment transactions using crypto in my country. Because if the finds out that you are using a currency other than the legal currency for payment, you will definitely be sanctioned. But even so, I am personally very grateful that in my country cryptocurrencies such as bitcoin are allowed to be used as investment assets. Because if you look at other countries that strictly prohibit bitcoin and other cryptocurrencies, I feel like if I were in that country, I would definitely be very confused.
So the conclusion is very clear that reading the rules about crypto in the country where we live is indeed an obligation that we should not just avoid. Because it is for our own good too.