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
Before you begin, you need to install the following tools:
- Node (>= v18.17)
- Yarn (v1 or v2+)
- Git
To get started with Scaffold-ETH 2, follow the steps below:
- Clone this repo & install dependencies
git clone [email protected]:bhargavkakadiya/eth-denver-ebf.git
cd eth-denver-ebf
yarn install
- 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
.
- 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.
- 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 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.
- 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
- 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.
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.
Before you begin, you need to install the following tools:
- Node (>= v18.17)
- Yarn (v1 or v2+)
- Git
To get started, follow the steps below:
- Clone this repo & install dependencies
git clone <>
cd <>
yarn install
- 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
.
- 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.
- 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
inpackages/hardhat/contracts
- Edit your frontend in
packages/nextjs/pages
- Edit your deployment scripts in
packages/hardhat/deploy
- Phosphor Documentation for Airdrops: https://docs.phosphor.xyz/introduction
- Deployed Contract: View on Lineascan
- Ecological Benefits Framework: https://www.canyouchangethefuture.org/
Let's build a sustainable future together! 🌟
- @bhargavkakadiya
- @Dharmik79
- @DarrenZal
- @LinuxIsCool