Smart Contract Developer for Betting App

Job ID: 39198198

Budget: $30 – $250 USD

Hey, we need a Rust-based smart contract for our Solana blockchain game to handle the betting system, escrow, and automated payouts securely.

How It Works:
Players deposit SOL before joining a game, and the smart contract holds the funds in escrow until the match ends.
Once the game determines a winner, the contract automatically distributes the funds:
95% to the winner
5% to a predefined platform wallet as a fee
The contract should only allow server-side triggers (via Node.js backend) to process payouts, preventing player-side manipulation.
Security & Integration:
Integration with Phantom Wallet for deposits and withdrawals.
Multi-signature wallets may be used for securing funds before payouts.
The contract must be optimized for gas efficiency and undergo security audits to prevent exploits.
Backend (Node.js) will communicate with the contract to process transactions automatically.
Let me know if you need more details
Related categories: Node.js Rust RUST Programming Solana