A provably-fair, Viking-themed elimination raffle powered by Vyper 0.4.3 & Chainlink VRF 2.5.
NodeJackPot is a high-stakes elimination engine where players compete for a multi-tiered prize pool. The protocol utilizes Quadratic Pricing to ensure a democratic battlefield, preventing whale domination while maintaining a premium, "Cyber-Nordic" user experience.
- Quadratic Entry: Cost scales with the square of tickets owned:
T² × Base. - VRF Eliminations: Provably-fair random selection powered by Chainlink.
- Tiered Loot: 70/20/10 split between the final 3 survivors.
- Immutable Trust: Built with security-first Vyper and pull-payment vesting.
| Component | Specification |
|---|---|
| Base Price | 0.001 ETH |
| Max Capacity | 1,000 Vikings |
| Min Entrants | 10 Vikings |
| Elimination Interval | 2 Hours |
| Vesting Delay | 24 Hours |
| State Machine | 6-Phase Lifecycle |
| Randomness | Chainlink VRF 2.5 |
| Development | Moccasin Framework |
NodeJackPot/
├── contracts/ # Vyper 0.4.3 Smart Contracts
├── frontend/ # Next.js 15 + Wagmi + Framer Motion
├── script/ # Python Deployment & Management Scripts
├── tests/ # Stateful Fuzzing & Unit Test Suites
├── ARCHITECTURE.md # Deep dive into protocol mechanics
└── moccasin.toml # Environment & Tooling configuration
NodeJackPot maintains 100% Branch Coverage using a multi-layered testing strategy.
- Unit: 45+ tests validating entry math and state transitions.
- Integration: End-to-end flow from entry to final payout.
- Stateful Fuzzer: 6,000+ operations via Hypothesis to verify invariants.
# Run full test suite
mox test --coverageThe protocol is currently in "Community Alpha" phase. Formal audits are pending.
| Audit ID | Auditor | Status | Report |
|---|---|---|---|
KHM-01 |
Internal (KhomDev) | ✅ PASSED | View Summary |
KHM-02 |
Community Peer Review | ⏳ PENDING | -- |
- Pull-Payment Vault: Eliminates reentrancy vectors on prize distribution.
- 24H Vesting: Protects against flash-loan and front-running manipulations.
- Round-ID Isolation: Prevents legacy state from interfering with fresh rounds.
- Coordinator Guard: Only authorized VRF nodes can fulfill randomness.
- Install Dependencies:
uv sync cd frontend && npm install
- Compile & Test:
mox compile mox test - Local Development:
# Start local node anvil # Run frontend cd frontend && npm run dev
Built with ⚔️ by KhomDev
Disclaimer: This is experimental software. Use at your own risk.
Built with 🐍 by KhomDev