This project is a blockchain-based platform built on the NEAR protocol, designed to incentivize carbon footprint reduction initiatives. It allows users to submit their carbon reduction efforts, which are then verified by staff. Upon verification, users are rewarded with fungible tokens that represent their contribution to reducing carbon emissions.
- User Dashboard: Submit and track carbon reduction initiatives.
- Staff Dashboard: Review and verify submitted initiatives.
- Token Minting: Mint tokens based on verified carbon reduction.
- NEP-141 Compliance: Implements NEAR's fungible token standard for token management.
- Next.js: Frontend framework for building the user interface.
- NEAR Protocol: Blockchain platform for deploying smart contracts.
- NEP-141: Standard for fungible tokens on NEAR.
- React: JavaScript library for building user interface.
- TypeScript: Superset of JavaScript for type safety.
- Node.js (>=18)
- NEAR CLI
- NEAR Testnet Account
-
Clone the repository:
git clone https://github.com/yourusername/carbon-footprint-platform.git cd carbon-footprint-platform -
Install dependencies:
npm install
-
Set up NEAR environment:
- Install NEAR CLI:
npm install -g near-cli - Log in to NEAR:
near login
- Install NEAR CLI:
-
Deploy the smart contract:
- Compile and deploy the contract:
npm run build near deploy --accountId <your-account-id> --wasmFile build/contract.wasm
- Compile and deploy the contract:
-
Start the development server:
npm run dev
-
Open your browser:
- Visit http://localhost:3000 to view the application.
- User Dashboard: Upload documents detailing carbon reduction initiatives. Track the status of submissions and view token balance.
- Staff Dashboard: Review pending initiatives and verify them to mint tokens for users.
- NEAR Documentation - Learn about NEAR's blockchain platform.
- NEP-141 Standard - Understand the fungible token standard on NEAR.
- Next.js Documentation - Learn about Next.js features and API.
- Learn Next.js - Interactive Next.js tutorial.