How ChainWin Works

A simple guide to participating in our decentralized lottery.

🔗

Connect Your Wallet

To get started, connect your Web3 wallet (like MetaMask or Coinbase Wallet) by clicking the 'Connect Wallet' button in the navigation bar. This allows you to interact with the lottery smart contract on the blockchain.

🎟️

Buy a Ticket

Once your wallet is connected, you can purchase a lottery ticket. The ticket price is set by the smart contract and is displayed on the main page. Clicking the 'BUY TICKETS' button will prompt a transaction in your wallet.

🎲

The Draw

A provably fair and random winner is chosen using Chainlink VRF (Verifiable Random Function). This ensures that the outcome is tamper-proof and unpredictable.

🏆

Claim Your Prize

If you're the lucky winner, the jackpot prize is automatically transferred to your wallet address. The recent winner is always displayed on the main page.