Open 4-1-3-X opened 3 years ago
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
This issue now has a funding of 5000.0 sUSD (5000.0 USD @ $1.0/sUSD) attached to it.
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work has been started.
These users each claimed they can complete the work by an hour from now. Please review their action plans below:
1) lazycoder1 has started work.
I will create the lottery app using chainlink VRF which will provide verifiable randomness. 2) sekmet has started work.
A Lottery dApp where participants can buy lottery tickets with $sUSD using Chainlink VRF (Verifiable Random Function) to allow provably-fair and verifiable source of true randomness. 3) sicarius97 has started work.
Developing an Ethereum Smart Contract that runs a lottery system. This contract would accept sUSD, mint an NFT lottery ticket, and allow use of the unique lottery ticket to claim a prize from the smart contract within a certain time period 4) metodi96 has started work.
A Lottery dApp which achieves true randomization in the winner announcement using the VRFConsumerBase smart contract by Chainlink. The contract will accept sUSD. 5) sarasioux has started work.
Will try Chainlink for randomness. Curious about the lottery "reset" feature. I can do it on cron but I don't want to force centralization. I can do it on "ticket purchase" but that increases gas fees for the user who purchases the first ticket of a new lottery. Considering giving them a bonus of "two tickets" to make up for it. Will debate those choices and probably make them configurable. I also think you should hold a fee back for "lottery administration" costs and change prizes to 50,35,10,5 where 5 goes to the lottery admin! 6) alyakimenko has started work.
A decentralized application that allows you to play a lottery, operating with a non-fungible tokens. 7) gvladika has started work.
Lottery where users pay with their sUSD to buy tickets represented as NFTs. In each round 3 winning tickets are picked and holders of those tickets can claim the prize. 8) sgoia has started work.
Lottery dApp, participants buy lottery tickets with $sUSD using Chainlink VRF for randomness. 9) skarchon has started work.
Submission
Learn more on the Gitcoin Issue Details page.
Can you elaborate more on the prize draws? Should this be a function that can be called only by the address of the lottery house? And that the requirement is that the lottery is not active anymore (6 hours have passed) and that it has not distributed the prizes yet? Also, should each minting of a ticket transfer a specific amount of sUSD (like 1 sUSD per ticket). And if the amount is arbitrary, what's the catch? Minting one NFT for 2 sUSD against one for 1 sUSD still means that both have equal chances to win based on the description, right?
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work for 5000.0 sUSD (5000.00 USD @ $1.0/sUSD) has been submitted by:
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work for 5000.0 sUSD (5000.00 USD @ $1.0/sUSD) has been submitted by:
@4-1-3-x please take a look at the submitted work:
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
The funding of 500.0 SNX (3460.00 USD @ $7.59/SNX) attached to this issue has been approved & issued to @skarchon.
Synthetix Lottery
Prize Bounty
$5,000 paid in SNX.
Challenge Description
For this Hackathon we require a Lottery dApp, where participants can buy lottery tickets with $sUSD. Each ticket is an NFT, that is minted on purchase. The value of the sUSD used to mint the NFT is added to the Lottery smart contract pool. Prize draws will occur on a regular basis. For the purpose of the Demo this period can be shortened to once every 6 hours. But for the final, live version it has to be set for once a week.
The allocated prize money (per payout) will be split between 3 randomly selected participants:
Requirements:
Technical Requirements
ERC721 contracts should conform to https://docs.openzeppelin.com/contracts/4.x/erc721
Synthetix
Submission Requirements
Judging Criteria
Submissions will be judged and the winner selected by the Synthetix grantsDAO.
Winner Announcement Date
Review of submissions will commence when received. Final judgement will be delivered at the end of the hackathon.