i have built an in game User interface around Cardano-wallet. now im looking for a way to let the player sign in using his wallet .
how can i approach it using cardano-wallet? is there a way to let the player sign some data using his private key , then on the server side i decode it using his public key ?
( one of the solutions i tried is to let the player send 1 ADA from his wallet to a server provided address , and i monitor the transaction to verify ... but bad approach obviously ..)