Smart contracts and tests for LiquidLottery — a provably fair, on-chain lottery on Hyperliquid L1 powered by Chainlink VRF and CCIP.
| Contract | Chain | Description |
|---|---|---|
LiquidLotteryV1.sol |
Hyperliquid L1 | Main lottery logic (UUPS upgradeable) |
LotteryMath.sol |
Hyperliquid L1 | Core game math and settlement |
LotteryViews.sol |
Hyperliquid L1 | Views, admin config, claims |
GoldenTicket.sol |
Hyperliquid L1 | Founder NFT (10 max supply) |
LotteryVRFRequester.sol |
Base | Chainlink VRF v2.5 + CCIP bridge |
npm install
npx hardhat testFull documentation available at docs.liquidlottery.app
MIT