Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/oluwatobi-beebittech/ecotoken
- Owner: Oluwatobi-beebittech
- Created: 2022-11-27T19:17:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-03T22:05:52.000Z (about 2 years ago)
- Last Synced: 2024-01-29T15:19:45.810Z (11 months ago)
- Topics: climate-change, cop27, ethersjs, hardhat, polygon, recycling, smart-contracts, solidity
- Language: TypeScript
- Homepage: https://eco-cycle.vercel.app
- Size: 169 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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]
```