Skip to content

Treegens/Front-end

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Treegens DApp - Frontend

Welcome to Treegens DApp, a platform for Proof of Plant where tree planters can learn, plant trees, record their growth, and get rewarded with $MGRO tokens. Verifiers play a crucial role in ensuring the integrity of the data and are rewarded through the Treegens DAO. This README provides an overview of the frontend aspect of the Treegens DApp.

Table of Contents

  1. Introduction
  2. Features
  3. Installation
  4. Usage
  5. Contributing
  6. License

Introduction

Treegens DApp aims to incentivize tree planting and environmental stewardship by providing a platform where users can learn about planting techniques, document their tree planting activities, and earn rewards in the form of $MGRO tokens.

Features

  • Learn: Access educational resources and tutorials on tree planting techniques.
  • Plant: Record tree planting activities, including location, species planted, and date.
  • Record: Upload videos or images of planted trees to document their growth over time.
  • Reward: Earn $MGRO tokens for each verified tree planting activity.
  • Verification: Verifiers stake TGN tokens to verify the authenticity of tree planting data.
  • Incentives: 5% of minted $MGRO tokens go to validators as a reward for their verification efforts.

Installation

  1. Clone the repository:

bash git clone https://github.com/treegens/frontend.git

  1. Navigate to the project directory:

bash cd frontend

  1. Install dependencies:

bash npm install

  1. Start the development server:

bash npm start

  1. Access the Treegens DApp in your web browser at http://localhost:3000.

Usage

  1. Sign up or log in to your Treegens DApp account.
  2. Explore educational resources to learn about tree planting techniques.
  3. Plant trees in designated locations and record planting activities.
  4. Capture videos or images of planted trees to document their growth.
  5. Submit planting data and media for verification.
  6. Earn $MGRO tokens for each verified tree planting activity.

Contributing

We welcome contributions from the community to improve the Treegens DApp. If you'd like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix: git checkout -b feature-name.
  3. Make your changes and commit them: git commit -m "Description of changes".
  4. Push to your branch: git push origin feature-name.
  5. Submit a pull request with a detailed description of your changes.

Figma Wireframes

Wireframes of the front-end, which is currently in development, can be found here:

  1. From planter's view
  2. From validator's view

For more information about Treegens DApp, visit our website or contact us @thetreegens on Telegram. Thank you for contributing to a greener future! 🌳💚