POA is a Solana-based platform that enables Proof of Interaction and rewards real-world attention. Built with the Anchor framework, it introduces a novel approach to token distribution, incentivizing genuine user engagement and attention.
POA rewards users for their attention and interaction with content or real-world activities. The platform utilizes a unique mechanism where users earn tokens by demonstrating proof of their attention or interaction. This system incorporates features such as cooldown periods, dynamic reward structures, and fee collection for platform sustainability and liquidity provisioning.
- Proof of Interaction: Users earn tokens by providing evidence of their interaction or attention to content or activities.
- Real-World Attention Rewards: The system is designed to incentivize and validate genuine attention in various contexts.
- Dynamic Reward Structure: Reward rates can adjust based on factors like interaction frequency and total participation.
- Fee Management: SOL fees from interactions are collected in a fee vault for platform use or liquidity provision.
- Cooldown Mechanism: Implements a cooldown period between reward claims to ensure fair distribution and prevent system abuse.
- TokenPoolAcc: Manages the configuration for the attention reward system.
- ProofAcc: Tracks the state of each user's attention proofs and rewards.
- FeeVault: Holds collected SOL fees from platform operations.
- token_pool_init: Initializes the attention reward system with configurable parameters.
- attention_init: Sets up a new user account for tracking attention proofs and rewards.
- attention_proof: Processes a proof of attention and distributes rewards accordingly.
- Node.js v18.18.0+
- Rust v1.77.2+
- Anchor CLI 0.30.1+
- Solana CLI 1.18.17+
-
Clone the repository: git clone cd
-
Install dependencies: npm install
-
Start the web app: npm run dev
- Sync program ID:
npm run anchor keys sync - Build program:
npm run anchor:build - Start local test validator:
npm run anchor:localnet - Run tests:
npm run anchor:test - Deploy to devnet:
npm run anchor deploy --provider.cluster devnet
- Start development server:
npm run dev - Build for production:
npm run build
Contributions are welcome! Please feel free to submit a Pull Request.
If you've used this contract or found the code useful feel free to drop me a bit of SOL at ERxPNh9x8eJZb3esccWVPRGbMNt9YccyEwej7sz2sSGJ
The reward pool at attn.lol reached a total payout value of 16.23217028 SOL. Here is the list of winners with $CLICK amounts and their corresponding SOL payouts:
- AusX..PRGq - 3900.35536 $CLICK (5.02 SOL)
- 6oKV..LCAg - 2471.65834 $CLICK (3.18 SOL)
- CvQ2..ntqm - 1194 $CLICK (1.54 SOL)
- D6Si..FtUG - 1060 $CLICK (1.36 SOL)
- 9tH6..WfpW - 900.47398 $CLICK (1.16 SOL)
- GPm4..HWEo - 890.45439 $CLICK (1.15 SOL)
- J3km..8qSu - 787.02081 $CLICK (1.01 SOL)
- 7bN7..gHWg - 604.43988 $CLICK (0.78 SOL)
- 5Gyi..bNQT - 600 $CLICK (0.77 SOL)
- Gf7V..eWnA - 529 $CLICK (0.68 SOL)
All payouts were completed from signrMdZBa1kLBMSi3Bwv4c6xT6GuThtwW4sVNJKSRv on the 15 Dec 24.
This project is licensed under the MIT License.