Green Deeds hopes to revolutionize how we think about food waste and plastics by creating an efficient decentralized recycling of resources.
We hope to minimize the need for raw materials by keeping existing assets in the production cycle.
Investors or any business that uses recyclable materials like compost or empty bottles can donate to the Green Deeds funds. Those funds then go to businesses or individuals who have done a greed deed by recycling or composting.
Our demo shows a proof of concept for an end user wishing to recycle 3 bottles and redeem their rewards for celo dollars. Those dollars can then be exchanged for celo gold using Ubeswap.
-
View our full presentation.
-
View P.O.C. application demo.
This app has been tested on the Celo Alfajores test network.
Mobile first decentralized finance makes the blockchain more user friendly. This makes it easier to incentivize users to utilize a blockchain ledger. Green Deeds hopes to take advantage of the ease of mobile-first to help incentivize businesses and individuals to recycle and recycle correctly.
This question is also answered in our full presentation, found here.
Please see the compost-user-flow branch for the SNI hack compost walkthrough.
A detailed process of how we would turn food waste into compost and rewards please see our GreenNFT submission here.
- Node.js >=14.16.0
- Yarn package manager >=1.22.4
- Expo 4.3.5
- Truffle (only needed for smart contract development)
You will need the Expo app installed on your development mobile device or emulator (iOS or Android).
You will also need the Celo Wallet on your mobile device (or emulator) to sign transactions.
The project smart contracts and configuration are in the root directory. The React Native front end is in the /client
directory.
To run the app from expo, first install dependencies.
yarn # install depenedncies
cd client # move into the client directory
yarn # install front end dependencies
Then start expo.
cd client # move into the client directory
expo start # run a demo in expo
The box is configured to deploy Solidity smart contracts to the Alfajores test network. You will need test network funds to deploy your own contract.
To create a new account for development, in the project root run
yarn account
The new account address will be printed in the console. This script will generate a private key for you and store it in /.secret
. If you need to print the account info again, run yarn account
again. It will not create a new account, it will read the saved private key and print the corresponding account address.
Truffle will read this private key for contract deployments.
Copy your account address and paste it in to the Alfajores faucet to fund your account.
You can migrate contracts to the alfajores test network with
truffle migrate --network alfajores
truffle unbox critesjosh/celo-dappkit