Investing Question: Is participating in a proof of stake network halal?

Hi,

I have a question… is earning crypto while sleeping on binance with flexible terms halal or haram. And what about staking coins locking them for a period of time and earning APY?