Skip to content

Hack Canada 2025 Runner-UP Winner. CarbonChain is a Decentralized carbon credit verification on NEAR Protocol. Users submit proof of carbon reduction, verified by third parties, and earn rewards. Uses NEAR smart contracts, and a web interface for interaction.

License

Notifications You must be signed in to change notification settings

sandeepv6/carbonchain

Repository files navigation

Carbon Chain - Hack Canada 2025 Winner

3rd Place for Best Use of NEAR Protocol

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.

Features

  • 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.

Technologies Used

  • 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.

Getting Started

Prerequisites

  • Node.js (>=18)
  • NEAR CLI
  • NEAR Testnet Account

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/carbon-footprint-platform.git
    cd carbon-footprint-platform
  2. Install dependencies:

    npm install
  3. Set up NEAR environment:

    • Install NEAR CLI: npm install -g near-cli
    • Log in to NEAR: near login
  4. Deploy the smart contract:

    • Compile and deploy the contract:
      npm run build
      near deploy --accountId <your-account-id> --wasmFile build/contract.wasm

Running the Application

  1. Start the development server:

    npm run dev
  2. Open your browser:

Usage

  • 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 Protocol

Next.js

Contributors

About

Hack Canada 2025 Runner-UP Winner. CarbonChain is a Decentralized carbon credit verification on NEAR Protocol. Users submit proof of carbon reduction, verified by third parties, and earn rewards. Uses NEAR smart contracts, and a web interface for interaction.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •