The Smart Contract
The Challenge Rooms are managed by a Smart contract, which is in charge of the coins of the Homies before, during and after each game until the winner collects his prize.
The way it works is:
Players sign up for a Challenge Room and the contract checks that they have enough $HomieCoins in their wallets to cover the entry fee. If they do not have enough money, they will not be able to enter.
Once the room is full, the contract will claim each player's money and hold it for the duration of the game.
When the winner is defined, the contract will keep their prize and give it to them when they claim it.
IMPORTANT! It is up to the players to claim their prizes.
In order to minimize the cost of gas, we will create a collection office within the HomieVerse where the prizes will be accumulated and each player will be able to claim all the $HomieCoins he/she has won at once.
Last updated