Skip to content

Gud Guess ($GG) is the first-of-its-kind Uniswap V3 TWAP-supported lottery style jackpot game that uses both skill and luck to win a weekly ETH jackpot.

Notifications You must be signed in to change notification settings

moontography/gud-guess

Repository files navigation

Gud Guess (GG)

https://gudguess.com

Compile

$ npx hardhat compile

Deploy

If your contract requires extra constructor arguments, you'll have to specify them in deploy options.

$ CONTRACT_NAME=GudGuess npx hardhat run --network goerli scripts/deploy.js
$ CONTRACT_NAME=TwapUtils npx hardhat run --network goerli scripts/deploy.js
$ CONTRACT_NAME=GudGuessTickets npx hardhat run --network goerli scripts/deploy.js
$ CONTRACT_NAME=WinnersCircle npx hardhat run --network goerli scripts/deploy.js
$ # setTwapUtils()
$ # setTickets()
$ # setWinnersCircle()
$ # lpCreatePool(3000, priceX96)
$ # lpCreatePool(10000, priceX96)
$ # lpCreatePosition(3000, 50)
$ # lpCreatePosition(10000, 100)
$ # launch()

Verify

$ npx hardhat verify CONTRACT_ADDRESS --network goerli

Flatten

You generally should not need to do this simply to verify in today's compiler version (0.8.x), but should you ever want to:

$ npx hardhat flatten {contract file location} > output.sol

About

Gud Guess ($GG) is the first-of-its-kind Uniswap V3 TWAP-supported lottery style jackpot game that uses both skill and luck to win a weekly ETH jackpot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published