Skip to content

Latest commit

 

History

History
160 lines (100 loc) · 6.07 KB

README.md

File metadata and controls

160 lines (100 loc) · 6.07 KB

🌍 EBF Network of Trust 🌱

First, connect to Linea: https://chainlist.org/?search=linea
Then, see the demo: 🚀 Testnet Demo

🧪 Project Overview 🧪

A discoverable network of trust for registering impact projects and verifying their ecological benefits, built using Verax attestations and the Ecological Benefits Framework.

⚙️ Technology Stack ⚙️

📈 Linea 🔍 Verax 💡 Phosphor 🧩 ERC1155 🌐 IPFS 🖼️ NFT.Storage ⚛️ NextJS 🛠️ Hardhat 🌈 RainbowKit 🏗️ ScaffoldETH2 ✊ Wagmi 🛂 Gitcoin Passport

Current Status: Live on Linea Testnet

image image

Requirements

Before you begin, you need to install the following tools:

Quickstart

To get started with Scaffold-ETH 2, follow the steps below:

  1. Clone this repo & install dependencies
git clone [email protected]:bhargavkakadiya/eth-denver-ebf.git
cd eth-denver-ebf
yarn install
  1. Run a local network in the first terminal:
yarn chain

This command starts a local Ethereum network using Hardhat. The network runs on your local machine and can be used for testing and development. You can customize the network configuration in hardhat.config.ts.

  1. On a second terminal, deploy the test contract:
yarn deploy

This command deploys a test smart contract to the local network. The contract is located in packages/hardhat/contracts and can be modified to suit your needs. The yarn deploy command uses the deploy script located in packages/hardhat/deploy to deploy the contract to the network. You can also customize the deploy script.

  1. On a third terminal, start your NextJS app:
yarn start

Visit your app on: http://localhost:3000. You can tweak the app config in packages/nextjs/scaffold.config.ts.

Run smart contract test with yarn hardhat:test

🌐 The Problem We Solve

The ecological benefits framework offers a standardized way of quantifying and communicating ecological benefits for projects. However, discovering these projects and verifying their benefits remains a challenge.

EBFNT introduces a standard way to connect attestation networks of trust to projects that claim ecological benefits. This makes projects discoverable and their benefits verifiable through an intuitive dashboard, aiding in the evaluation of impact essential for grants programs and funding mechanisms. Each project is registered as an 1155 NFT. Project owners can reward attesters with airdrops. The system maintains a network of trust between attesters and projects. Sybil defence is implemented using gitcoin passport.

💡 Key Features

  • Discoverable Network of Trust: Easily find and connect with ecological projects and trusted contributors.
  • Verifiable Impact: Ecological benefits framework offers standardized impact classifications.
  • Airdrop Rewards to Attesters: Phosphor allows one click airdrops to attester network.
  • Sybil Resistant: Using Gitcoin Passport

🌎 User Flow

Drawing 2024-03-02 04 34 29 excalidraw

🚧 Challenges Overcome

  • Fixed an issue with the initial Verax subgraph not working on Goerli Linea by obtaining a working subgraph URL from the Linea team.
  • Resolved challenges in decoding the attestation payload from the GraphQL API with mentorship and detailed examination of encode and decode examples.

🤝 How to Contribute

We welcome contributions from those passionate about building a sustainable future. If you're interested in contributing, please feel free to get in touch or submit a pull request.

Requirements

Before you begin, you need to install the following tools:

Quickstart

To get started, follow the steps below:

  1. Clone this repo & install dependencies
git clone <>
cd <>
yarn install
  1. Run a local network in the first terminal:
yarn chain

This command starts a local Ethereum network using Hardhat. The network runs on your local machine and can be used for testing and development. You can customize the network configuration in hardhat.config.ts.

  1. On a second terminal, deploy the test contract:
yarn deploy

This command deploys a test smart contract to the local network. The contract is located in packages/hardhat/contracts and can be modified to suit your needs. The yarn deploy command uses the deploy script located in packages/hardhat/deploy to deploy the contract to the network. You can also customize the deploy script.

  1. On a third terminal, start your NextJS app:
yarn start

Visit your app on: http://localhost:3000. You can interact with your smart contract using the Debug Contracts page.

Run smart contract test with yarn hardhat:test

  • Edit your smart contract YourContract.sol in packages/hardhat/contracts
  • Edit your frontend in packages/nextjs/pages
  • Edit your deployment scripts in packages/hardhat/deploy

🔗 Resources

Let's build a sustainable future together! 🌟

🐾 Team Members

  • @bhargavkakadiya
  • @Dharmik79
  • @DarrenZal
  • @LinuxIsCool