If you need to ask if it breaks rules it probably is something that most users would not want to have in a game. Even if it were legal. The rule breaking usually occurs when you lie about things. Like selling data without explicit consent. Or the game not costing what you said it would cost.
I do not even know what exactly you are talking about. Is this some crypto stuff? Are there any such games with that function on Steam or Itch?
If this is about crypto, read here https://itch.io/docs/creators/quality-guidelines#do-not-create-paid-content-to-e...