It is necessary to create and connect a gaming smart contract on SOLIDITY for a game where people place bets on the victory of one team or another, and the losing side gives their deposit to the winning side.
The game will be hosted on a server.
Every 10 minutes, a game will start + 10 minutes for transaction processing.
✅ What the smart contract should do:
- accept bets on either team
- automatically distribute winnings between the sides (fixed bet amounts)
- synchronize with the game server (read who won, who lost, and other details)
- restrict placing bets after the match has started
- if a bet fails due to technical reasons, it is refunded minus network fees
- allow placing bets on multiple matches simultaneously
- create the ability to bet on victory or on reaching a certain number of points in the game by a specific character
- add fixed and floating commissions to the smart contract
- add the ability to buy and sell tokens at a fixed price within the smart contract
- transactions within the smart contract will be conducted in various ERC-20 tokens
⚙️ Additionally:
- connect the smart contract to the game server
- connect the smart contract to the website (so people can place bets from the website instead of directly in the game, and also buy and sell tokens at a fixed price through the website)
🤝 More details can be discussed privately.