Post
Topic
Board Announcements (Altcoins)
Re: [ANN][XCP] Counterparty - Pioneering Peer-to-Peer Finance - Official Thread
by
prophetx
on 06/12/2014, 01:13:20 UTC
20 XCP bounty to build the ethereum smart contract logic for a powerball lottery on the blockchain using XCP

if someone can write the logic on the lottory using whatever is compatible with what Adam has ported to mimic the powerball lottery.

  • include a section for the instantiator of the contract (lottery) to take a fee
    it should be able to handle creating multiple "tickets"
    it should distribute the winning based on how many numbers people get X of Y numbers (similar to how state lottos work)
    it should allow people to trade send tickets italics are edits
    it should allow users to redeem tickets
    it should set limits for when tickets can be redeemed
    if no one gets all the numbers the contract should roll over for another time period
    the initiator should be able to choose how many number fields, time block period, and his pay out, and possibly the distribution logic (if you want to get fancy).
    it should be open source on github
    one of the XCP dev's need to look at it and say that the code is good (or a known, respected Ethereum dev)

if you like this idea feel free to commit to matching my bounty amount or committing to give some XCP as well (or whatever crypto you want to use)

 Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin Grin

here is a sample lotto script

https://github.com/dennismckinnon/Ethereum-Contracts/blob/master/Dennys%20Lotto/Lottery.lsp

I know this is not a very detailed spec so please ask questions.

see

http://www.lotto.cn/powerball-lottery.asp