r/coolgithubprojects • • 4h ago

Poly39 — open-source on-chain 5-number lottery on Polygon (Chainlink VRF)

https://github.com/poly39-xoio/poly39-xoio-contracts
0 Upvotes

1 comment sorted by

1

u/io_xoio 4h ago

How it works:

  • 3 USDT per ticket (5 numbers from 39), up to 126 tickets per transaction
  • 5/5 = 50% of the pool, 4/5 = 8%, smaller tiers are fixed amounts
  • Draw is settled with Chainlink VRF v2.5; results and claims are written on-chain
  • Contracts are verified and MIT: https://github.com/poly39-xoio/poly39-xoio-contracts
  • The front-end is static and only calls approve + buy; no custody

Live (Polygon): https://poly39.io/ 3 USDT version on Base (USDC): https://lotto3u.com/