An open Challenge Arena where discpline is rewarded
Put money on the line, prove your success, and earn rewards β all trustless, transparent, and on-chain.
- Descipline is a decentralized platform that turns self-discipline into real rewards.
- Users can create or join time-based or usage-based challenges, staking funds before a deadline.
- Winners β verified via merkle proof verification β reclaim their stake and share forfeited funds from those who didnβt succeed.
- Attestation - backed by Solana Attestation Service
Key features:
- Trustless Escrow: All funds locked in Solana smart contracts.
- Transparent Verification: Proofs of success via Solana Attestation Service.
- Open Arena: Anyone can create or join challenges.
- Fair Rewards: Stake from non-completers distributed to winners.
High-level flow:
- Create Challenge
- Initiator sets challenge details (goal, stake amount, deadline).
- Contract stores challenge data on-chain.
- Backend integrates with Solana Attestation Service to set credential & schema storage.
- Join Challenge
- Challenger deposits SPL tokens before deadline.
- If staking SOL, frontend auto-wraps to wSOL.
- Attestation & Winner Resolution
- At challenge end, attestor signs attestation.
- Backend indexes winners, stores results in DB, uploads to Arweave.
- Merkle root of winner list stored on-chain for verification.
- Claim Rewards
- Winners submit Merkle proof to claim stake + share of forfeits.
- frontend repository
descipline-frontend/ βββ public/ βββ src/ βββ .gitignore βββ README.md βββ babel.config.js βββ jsconfig.json βββ package-lock.json βββ package.json βββ vue.config.js - smart contracts repository
-
struct
descipline-smart-contracts/ βββ programs/ # smart contract(s) β βββ descipline/ β βββ src/ β βββ Cargo.toml β βββ Anchor.toml β βββ scripts/ # Helper scripts βββ tests/ # Integration tests βββ README.md -
run
yarn manual:build anchor deploy yarn codama-idl yarn test
-



