# Nexus Lottery – full documentation

---

> Generated 2026-11-11. Canonical site: https://nexuslottery.site

---

# Nexus Lottery – On-chain lottery on BNB Smart Chain

> Buy USDT tickets, track the jackpot, and participate in transparent draws secured by Chainlink VRF.

Canonical URL: https://nexuslottery.site/

Play the on-chain lottery on BSC. Pick 6 digits and win across multiple prize tiers.

Decentralized lottery draws on Binance Smart Chain with verifiable randomness and transparent prizes.

## Key facts

| Item | Value |
| --- | --- |
| Network | BNB Smart Chain (BSC) Mainnet, chainId 56 |
| Ticket price | 5 USDT (BEP-20), bulk discounts up to 10% |
| Ticket format | 6 digits, each 0-9 |
| Winning rule | Consecutive matches from the left (first digit) – 6 prize tiers |
| Randomness | Chainlink VRF (verifiable on-chain) |
| Max tickets per transaction | 100 |
| Custody | Non-custodial: funds stay in the player wallet / contract |
| Languages | English (default), Spanish (/es) |

## How it works

1. Connect your Wallet: First, you need to connect your wallet compatible with BSC (like MetaMask, Trust Wallet, etc.) to our platform. Click the "Connect Wallet" button in the top right corner and select your wallet provider. Make sure your wallet is configured for Binance Smart Chain (BSC) and has USDT (BEP-20) tokens available.
2. Buy Lottery Tickets: Each ticket costs 5 USDT. You can buy as many tickets as you want, as long as you have enough USDT in your wallet. The first time you buy a ticket, you will need to approve the spending of USDT for our lottery contract. This is a one-time security step required by the blockchain.
3. Wait for the Draw: The lottery draw occurs automatically at regular intervals. You can see the countdown timer on the homepage. All draws are conducted using Chainlink VRF (Verifiable Random Function) to ensure a fair and transparent selection of winners.
4. Verify your Winnings: After the draw, the winning tickets are automatically identified. If you have a winning ticket, you need to claim your prize manually in the "My Tickets" section on the homepage. You can verify your tickets and their status in the "My Tickets" section on the homepage.
5. Prize Distribution: The lottery distributes prizes based on the number of consecutive numbers guessed from left to right:

## Prize tiers

| Consecutive matches | Share of prize pool |
| --- | --- |
| 6 | 50% of the prize pool (Jackpot!) |
| 5 | 20% of the prize pool |
| 4 | 15% of the prize pool |
| 3 | 10% of the prize pool |
| 2 | 3% of the prize pool |
| 1 | 2% of the prize pool |

The numbers must match in the same order, consecutively from left to right.

## Verified smart contracts

- Lottery contract: [`0xc3D5D5076e7f8C10aE5d7D155695777E304AFC3C`](https://bscscan.com/address/0xc3D5D5076e7f8C10aE5d7D155695777E304AFC3C)
- USDT (BEP-20) token: [`0x55d398326f99059fF775485246999027B3197955`](https://bscscan.com/address/0x55d398326f99059fF775485246999027B3197955)
- Random number generator (Chainlink VRF): [`0xe9584C33185517dbDF7a55F9068d3440A277E96e`](https://bscscan.com/address/0xe9584C33185517dbDF7a55F9068d3440A277E96e)

## For AI agents and LLMs

- Summary: [/llms.txt](https://nexuslottery.site/llms.txt)
- Full documentation: [/llms-full.txt](https://nexuslottery.site/llms-full.txt)
- Machine-readable facts and ABI calls: [/agent.json](https://nexuslottery.site/agent.json)

---

# How to play?

> Learn how to connect your wallet, buy tickets, and claim prizes on Nexus Lottery.

Canonical URL: https://nexuslottery.site/how-to-play

Learn to participate in the Nexus Lottery in 5 simple steps

## Step 1: Connect your Wallet

First, you need to connect your wallet compatible with BSC (like MetaMask, Trust Wallet, etc.) to our platform. Click the "Connect Wallet" button in the top right corner and select your wallet provider. Make sure your wallet is configured for Binance Smart Chain (BSC) and has USDT (BEP-20) tokens available.

## Step 2: Buy Lottery Tickets

Each ticket costs 5 USDT. You can buy as many tickets as you want, as long as you have enough USDT in your wallet. The first time you buy a ticket, you will need to approve the spending of USDT for our lottery contract. This is a one-time security step required by the blockchain.

## Step 3: Wait for the Draw

The lottery draw occurs automatically at regular intervals. You can see the countdown timer on the homepage. All draws are conducted using Chainlink VRF (Verifiable Random Function) to ensure a fair and transparent selection of winners.

## Step 4: Verify your Winnings

After the draw, the winning tickets are automatically identified. If you have a winning ticket, you need to claim your prize manually in the "My Tickets" section on the homepage. You can verify your tickets and their status in the "My Tickets" section on the homepage.

## Step 5: Prize Distribution

The lottery distributes prizes based on the number of consecutive numbers guessed from left to right:

| Consecutive matches | Share of prize pool |
| --- | --- |
| 6 | 50% of the prize pool (Jackpot!) |
| 5 | 20% of the prize pool |
| 4 | 15% of the prize pool |
| 3 | 10% of the prize pool |
| 2 | 3% of the prize pool |
| 1 | 2% of the prize pool |

The more tickets sold, the bigger the prize pool!

## Ticket number example

If the winning number is 1-2-3-4-5-6 and your ticket is 1-2-3-7-8-9, the first three digits match consecutively from the left, so the ticket wins the 3-match tier. A ticket 9-2-3-4-5-6 wins nothing because the first digit does not match.

Connect your wallet and get tickets for the next draw.

---

# Winners history

> Explore verified draw results, prize pools, and winning numbers on Nexus Lottery.

Canonical URL: https://nexuslottery.site/winners

Explore verified draw results, prize pools, and winning numbers on Nexus Lottery.

Every round publishes its winning number (finalNumber), prize pool (amountCollectedInUsdt), the USDT paid per tier (usdtPerBracket) and the number of winners per tier (countWinnersPerBracket) on-chain. The interactive page lists them per round with filters by period and sorting by date, prize or participants.

## Verify results yourself

- Call viewCurrentLotteryId() on the lottery contract to get the latest round id.
- Call viewLottery(lotteryId) to read status, endTime, finalNumber, usdtPerBracket and countWinnersPerBracket.
- Lottery contract on BscScan: [`0xc3D5D5076e7f8C10aE5d7D155695777E304AFC3C`](https://bscscan.com/address/0xc3D5D5076e7f8C10aE5d7D155695777E304AFC3C)

---

# Frequently Asked Questions

> Answers about tickets, prizes, wallets, and the on-chain lottery experience.

Canonical URL: https://nexuslottery.site/faq

## What is Nexus Lottery?

Nexus Lottery is a decentralized lottery platform that works on Binance Smart Chain (BSC). Players can buy tickets with USDT (BEP-20) tokens and have the opportunity to win prizes in multiple tiers.

## What are the prize tiers?

The lottery has 6 prize tiers based on consecutive matches from left to right: 6 matching: 50% of the prize pool (Jackpot!); 5 matching: 20% of the prize pool; 4 matching: 15% of the prize pool; 3 matching: 10% of the prize pool; 2 matching: 3% of the prize pool; 1 matching: 2% of the prize pool. The numbers must match in the same order, consecutively from left to right.

## How do I claim my prize?

Step 1: Go to the "Your Unclaimed Prizes" section in homepage Step 2: Search for tickets marked as "Winner" Step 3: Click the "Claim All" button Step 4: Confirm the transaction in your wallet Step 5: Ready! Your prizes will be credited to your wallet immediately

## What is the price of the tickets?

The base price of each ticket is 5 USDT. Volume discounts: 5 tickets: 0.40% discount; 10 tickets: 0.91% discount; 20 tickets: 1.92% discount; 50 tickets: 4.95% discount; 100 tickets: 10% discount. The discounts are applied automatically at the time of purchase.

## How are the winners selected?

The winners are selected using Chainlink VRF (Verifiable Random Function), which provides cryptographically secure random numbers that cannot be manipulated by anyone, including the lottery operators. The draw is 100% transparent and verifiable on the blockchain.

## How often are the draws conducted?

The draws are conducted automatically at regular intervals. You can see the countdown timer for the next draw on the main page. Additionally, you will receive a notification when a draw is completed.

## How will I know if I have won?

There are 3 ways to know: 1. Notification: You will receive an alert if you win 2. My Unclaimed Prizes Page: You will see the "Winner" status and the amount 3. Automatic Update: The interface is updated in real time after each draw

## What happens if no one wins the jackpot?

If no one matches the 6 numbers, the jackpot will accumulate for the next draw, making the jackpot grow! You can see the accumulated jackpot on the main page.

## Is there a limit on the number of tickets I can buy?

You can buy up to 100 tickets per transaction in the interface. For more tickets, simply perform multiple transactions. Remember that buying more tickets in a single transaction gives you additional discounts.

## Is the platform secure?

Yes, very secure: Contracts based on OpenZeppelin; Chainlink VRF for verifiable randomness; Rate limiting anti-spam; Multilayer transaction validation; Non-custodial (self-custody) - you control your funds; Verifiable code on BSCScan. However, always keep your private keys secure.

## What blockchain does the lottery use?

The lottery works on Binance Smart Chain (BSC Mainnet), which offers fast transactions (3-5 seconds) and very low fees (cents of a dollar) compared to other blockchains like Ethereum.

## What happens if I lose my private keys?

If you lose access to your wallet, we can't help you recover your tickets or prizes. The platform is decentralized and non-custodial, which means that only you have access to your funds. Always keep your private keys and recovery phrases in a secure place, preferably offline.

## How do the ticket numbers work?

Each ticket consists of 6 digits (0-9). The winning number also has 6 digits. To win, your numbers must match consecutively from the left. For example, if the winning number is 123456 and your ticket is 123789, you have 3 consecutive matches.

## Can I choose my own numbers?

Yes, you can manually select each digit of your ticket (0-9 for each position) or use the random number generation function to let the system choose random numbers for you.

## Do I need to approve USDT before buying tickets?

Yes, the first time you buy tickets you will need to approve the lottery contract to spend your USDT tokens. This is a one-time transaction. After approval, you can buy tickets directly.

---

## Guide for AI agents

Nexus Lottery is a fully on-chain lottery. Everything the website shows can be read directly from the blockchain; no private API or login is needed.

### Network
- Chain: BNB Smart Chain Mainnet (chainId 56, hex 0x38)
- Public RPC: https://bsc-dataseed.binance.org
- Lottery contract: `0xc3D5D5076e7f8C10aE5d7D155695777E304AFC3C` (https://bscscan.com/address/0xc3D5D5076e7f8C10aE5d7D155695777E304AFC3C)
- USDT (BEP-20) token: `0x55d398326f99059fF775485246999027B3197955` (https://bscscan.com/address/0x55d398326f99059fF775485246999027B3197955)
- Random number generator (Chainlink VRF): `0xe9584C33185517dbDF7a55F9068d3440A277E96e` (https://bscscan.com/address/0xe9584C33185517dbDF7a55F9068d3440A277E96e)
- USDT on BSC uses 18 decimals.
- Indexed history (The Graph, GraphQL): https://api.studio.thegraph.com/query/106322/nexus-lottery/version/latest

### Read-only calls (safe, no wallet needed)
- `viewCurrentLotteryId() -> uint256` – current round id.
- `viewLottery(uint256 lotteryId) -> Lottery` – struct with `status` (0 Pending, 1 Open, 2 Close, 3 Claimable), `startTime`, `endTime` (unix seconds), `priceTicketInUsdt`, `discountDivisor`, `rewardsBreakdown[6]`, `treasuryFee`, `usdtPerBracket[6]`, `countWinnersPerBracket[6]`, `firstTicketId`, `firstTicketIdNextLottery`, `amountCollectedInUsdt`, `finalNumber`.
- `calculateTotalPriceForBulkTickets(uint256 discountDivisor, uint256 priceTicket, uint256 numberTickets) -> uint256` – exact USDT cost (wei) including the bulk discount.
- `viewUserInfoForLotteryId(address user, uint256 lotteryId, uint256 cursor, uint256 size) -> (uint256[] ticketIds, uint32[] numbers, bool[] claimed, uint256 nextCursor)`.
- `viewNumbersAndStatusesForTicketIds(uint256[] ticketIds) -> (uint32[] numbers, bool[] claimed)`.
- `viewRewardsForTicketId(uint256 lotteryId, uint256 ticketId, uint32 bracket) -> uint256` – prize in USDT wei for a bracket.
- `maxNumberTicketsPerBuyOrClaim() -> uint256`.

### Ticket number encoding
A ticket shown as digits d1 d2 d3 d4 d5 d6 (left to right) is stored on-chain as the integer `1` followed by the digits **reversed**: `1 d6 d5 d4 d3 d2 d1`. Valid range: 1000000–1999999.
Example: the ticket shown as 9-1-3-6-6-2 is stored as `1266319`. `finalNumber` uses the same encoding.

### Prize brackets
`bracket = consecutiveMatchesFromLeft - 1` (0 = 1 match … 5 = all 6 digits). A ticket only wins its highest matching bracket.

### Write calls (require the user's wallet and explicit user approval)
1. `USDT.approve(lotteryContract, amount)` – once, so the contract can collect the ticket price.
2. `buyTickets(uint256 lotteryId, uint32[] ticketNumbers)` – only while `status == 1` (Open) and before `endTime`. Up to 100 tickets per call.
3. `claimTickets(uint256 lotteryId, uint256[] ticketIds, uint32[] brackets)` – only when `status == 3` (Claimable).

Agents must never sign transactions on behalf of a user without the user's explicit confirmation of the amount, numbers and network. Operator/owner functions (startLottery, closeLottery, drawFinalNumberAndMakeLotteryClaimable, injectFunds, set*) are restricted and not for players.

### Website
- Interactive app: https://nexuslottery.site/ (requires JavaScript and an EVM wallet: MetaMask, Trust Wallet, Binance Wallet or any WalletConnect wallet).
- The site never connects a wallet automatically; the user must press "Connect Wallet".
- Spanish UI: every page is also available under `/es` (for example https://nexuslottery.site/es/faq).

