Basically looking for a smart contract where user1/wallet1 and user2/wallet2 deposit tokens into a smart contract and then an external oracle decides the result and then the winning wallet can withdraw the tokens deposited by both parties.
Something like this must already exist… This can be used for predictions market or PVP games.
There must be a project that has already done that/an existing framework - smart contract. Could anybody send me in the right direction? Thanks in advance!