Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oluwatobi-beebittech/ecotoken

:recycle: :seedling: EcoToken smart contract for EcoCycle application
https://github.com/oluwatobi-beebittech/ecotoken

climate-change cop27 ethersjs hardhat polygon recycling smart-contracts solidity

Last synced: about 1 month ago
JSON representation

:recycle: :seedling: EcoToken smart contract for EcoCycle application

Awesome Lists containing this project

README

        

![EcoCycle Banner](https://res.cloudinary.com/dfybu7w8o/image/upload/v1670102878/ecocycle_banner_728X90_zc2ftp.png)
# :recycle: :seedling: EcoToken (ECO)

EcoToken is a token used to reward participants in the EcoCycle network who recycle and engage in other eco-activities aimed at addressing climate change in Africa.

## :hammer_and_wrench: Built with
- Solidity version 0.8.17
- Typescript

## :control_knobs: Contract Details
- Token Name: EcoToken (ECO)
- Initial Supply: 20,000,000
- Decimals: 2
- Contract Deployed Address: 0x300aca0433775D4848675D8876c9c604BC0887F0
- Contract Verified at: https://mumbai.polygonscan.com/address/0x300aca0433775D4848675D8876c9c604BC0887F0#code

## :gem: EcoCycle Application Repositories
- [**EcoCycle Frontend**](https://github.com/Oluwatobi-beebittech/EcoCycle#readme) https://github.com/Oluwatobi-beebittech/EcoCycle#readme
- [**EcoCycle Backend**](https://github.com/Oluwatobi-beebittech/EcoCycle-Backend#readme) https://github.com/Oluwatobi-beebittech/EcoCycle-Backend#readme
- [**EcoCycle Smart Contract (EcoToken)**](https://github.com/Oluwatobi-beebittech/EcoToken#readme) https://github.com/Oluwatobi-beebittech/EcoToken#readme

## Getting Started
1. Clone repo using `git clone https://github.com/Oluwatobi-beebittech/EcoToken.git`.
2. Ensure [Node Version Manager(NVM)](https://github.com/nvm-sh/nvm) is installed. The version of node used is 16.15.0.
3. Run `nvm use` to use node version 16.15.0.
4. Install all the application's packages using `npm install`.
5. To compile the contract, run `npx harhat compile`.
6. Create a `.env` file and insert the appropriate values for each environment variable.
```
PRIVATE_KEY=[private key of wallet. For example Metamask]
API_URL=[api URL of an app created on a blockchain provider. For example Alchemy]
POLYGON_SCAN_API_KEY=[API key of an app created on polygon scan]
```