Many users might handshake at the same time, selecting the same output for their transaction. This will create double spends, failed transactions, and unhappy users.
Deliverable
Given that all outputs have enough tokens to spend, select and use a random one for the transaction. This requires also to make multiple outputs available to the contract address before the start of the game.
Scope
Many users might handshake at the same time, selecting the same output for their transaction. This will create double spends, failed transactions, and unhappy users.
Deliverable
Given that all outputs have enough tokens to spend, select and use a random one for the transaction. This requires also to make multiple outputs available to the contract address before the start of the game.