https://github.com/EtherDoggos/EtherDoggosContractsHi guys, I've written a fairly complicated set of contracts to manage my dapp etherdoggos. Basic mechanics are pretty similar to cryptokitties but this particular contract is more ambitious. It lays out a system whereby people can sign up their doggos to race in various types of queues. They can also make p2p bets on the outcome of the races.
Read more about it in the github readme or try it out on rinkeby at:
https://etherdoggos.com/racing.htmlPlease give me some feedback as I am fairly new to the ethereum community and programming in solidity was quite challenging. I would love to hear some thoughts on how it turned out. If there is community interest, I plan on cleaning up and releasing the rest of the contracts involved, albeit they are a lot less interesting.
Comments
That ONE_ETH var is not necessary, since you can just say "1 ether" and it gets interpreted as 1000000000000000000