What is NLP?

NLP (NEP5 Lottery Platform) can integrate other NEP-5 as prize pools and allow people to create their own lottery games and sell tickets.

Create games

Users can create their own lottery games by following steps:

Set a winning prize with CNEO, CGAS or FTX Set each ticket price Set ticket amount how many you want to sell Start selling the tickets

Rules:

You cannot cancel the game.

You will receive ticket sales at the end after tickets have been sold out and drawing has been done.

You are responsible for your game.

Ticket Purchase

Players can participate in a game in one click. NLP smart contract will automatically transfer its ticket price from player’s account to NLP smart contract.

Rules:

Ticket is not refundable.

By purchasing the tickets, you guarantee that you are 18 years of age and/or you have reached the minimum age for legally participating in the lottery in your country of residence.

Drawing

After tickets are sold out, “Buy ticket” button becomes “Draw” button. Two parties can draw.

Game owner

Players who had participated in the game

Blockchain will choose a winner using its random nonce. It cannot be manipulated and predicted in any way.

Code:

currentHeight = GetHeight()

currentHeader = GetHeader(currentHeight)

nonce = GetConsensusData(currentHeader)

winner = ((nonce * GetTime()) % total_entries) + 1

Distribution of Funds

Users should withdraw their funds from NLP smart contract in My balances page.