Learning Rewards Protocol is a tool that reward users with a fungible token called Growth upon completing the reading of articles. While this concept can extend to gaming, courses, and other activities, this submission focuses specifically on rewarding users for reading articles.
The project is a full DApp (decentralized application) and includes the following components:
- DApp: A user interface for reading articles.
- Backend: Manages users, articles, and token distribution.
- Token Creation: I used bulksendtokens.xyz to create the Growth token (an Ethereum ERC20 token) for the protocol.
Let's dive in!
- The user should be connected using a wallet (e.g., MetaMask, Rainbow, Phantom, or any supported wallet).
- The user reads an article, ensuring they spend the required minimum time on it. Once this time elapses, they can claim their rewards.
- To claim rewards, the user must sign a challenge using their wallet to verify ownership of the address.
- An API call is then made to verify the signature and the time spent reading the article.
- After verification, the rewards are distributed. The user can then view and check their tokens on Ethereum, as demonstrated in the demo below.
Demo
Repo
Learning Rewards Protocol
Welcome to the Learning Rewards Protocol repository! This project is a Next.js-based application designed to serve as a blog where users can read about crypto token growth, engage with educational content, and participate in earning rewards.
Features
- Educational Content: A rich collection of blogs focused on cryptocurrency and token growth strategies.
- Token Rewards: Readers can earn rewards in crypto tokens for engaging with and completing specific activities.
- Interactive UI: Powered by Next.js for fast, scalable, and SEO-friendly performance.
- Dynamic Content: Easily update and manage blogs and rewards structure.
Getting Started
Follow these steps to set up and run the project locally.
Prerequisites
Ensure you have the following installed:
Installation
-
Clone the repository:
git clone https://github.com/your-username/Learning-Rewards-Protocol.git
-
Navigate to the project directory:
cd Learning-Rewards-Protocol
-
Install dependencies:
npm install # or yarn install
Environment Variables
Create a .env.local
file in the root directory…
Top comments (4)
Cool idea!
I love the idea to help users read more and more and discover the world of crypto
Great article!
Great comments about Copilot a got thing while using for almost 1year.