Resolution is a Solana-based dApp that helps you commit to your goals by putting your money where your mouth is. Stake SOL on your resolutions and earn rewards for achieving them!
-
Create a Resolution
- Set a resolution with a specific goal and timeframe
- Stake SOL tokens as commitment
- Choose 3 unique approvers who will verify your achievement
- Your stake is automatically delegated to a Solana validator
-
Earn While You Achieve
- Your staked SOL earns staking rewards during the resolution period
- Stay motivated knowing your money is on the line
-
Complete Your Resolution
- Get approval from your chosen verifiers
- Need at least all 3 approvers to confirm completion
-
Outcome
- Success: Receive back your initial stake + all staking rewards
- Failure: Get back only your initial stake, rewards are burned 🔥
- Trustless Verification: Requires 3 independent approvers
- Productive Staking: Earn validator rewards while committed
- Time-Locked: Funds are locked until resolution end date
- Incentive Alignment: Burn mechanism for incomplete resolutions
The smart contract includes the following main functions:
initialize_resolution: Create a new resolution with stake and approversapprove_resolution: Approvers can verify completiondeactivate_resolution_stake: Deactivate staking when resolution endsclose_resolution: Claim funds based on resolution outcome
This project is licensed under the MIT License - see the LICENSE file for details.