Show HN: ETHShot – an Ethereum test‑net "take‑your‑shot" jackpot game
I’ve been tinkering with ultra‑simple blockchain games and built ETHShot.io, a tiny dApp where each “shot” at a jackpot costs 0.0005 test‑ETH and has a 1 % chance to win the whole pot. It’s live only on the Sepolia/Goerli testnets, so no real ETH is involved.
How it works
- Connect a testnet wallet (MetaMask, Rabby, etc.).
- Each transaction (“shot”) sends 0.0005 test‑ETH to the contract.
- On every shot there’s exactly a 1 % chance the contract pays the entire pot to the sender.
- Non‑winning shots add to the pot minus a small maintenance fee. 0 Contract is under 80 lines of Solidity; front‑end is plain Svelte. Source code: https://github.com/profullstack/ethshot-web.
I’m looking for feedback on
- Usability and onboarding (is the flow obvious?).
- Contract design, gas savings, and any attack surface you spot.
- Whether the 1 % odds feel right or should be dynamic.
Quick start
- Grab a little test‑ETH from any Sepolia faucet.
- Visit https://ethshot.io and take a shot.
- If you win, you’ll see the transaction immediately; if not, you’ll see the pot grow.
- Bug reports and ideas welcome here or as GitHub issues.
Thanks for taking a look.
— Anthony (cranberryturkey)
No comments yet