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.
- Solidity version 0.8.17
- Typescript
- 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
- EcoCycle Frontend https://github.com/Oluwatobi-beebittech/EcoCycle#readme
- EcoCycle Backend https://github.com/Oluwatobi-beebittech/EcoCycle-Backend#readme
- EcoCycle Smart Contract (EcoToken) https://github.com/Oluwatobi-beebittech/EcoToken#readme
- Clone repo using
git clone https://github.com/Oluwatobi-beebittech/EcoToken.git
. - Ensure Node Version Manager(NVM) is installed. The version of node used is 16.15.0.
- Run
nvm use
to use node version 16.15.0. - Install all the application's packages using
npm install
. - To compile the contract, run
npx harhat compile
. - 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]