Skip to content

greendeeds/green-deeds-android

Repository files navigation

Green Deeds

Green Deeds potential for impact:

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.

This app has been tested on the Celo Alfajores test network.

What does DeFi look like when it's designed for mobile-first?

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.

SNI Hackathon:

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.

GNU License

Server Requirements

Phone Requirements

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.

To Run a Demo

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

Smart contract development

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

Initial boilerplate for Celo aspect of project

truffle unbox critesjosh/celo-dappkit

Sources:

Celo Docs

Running an Android emulator

Expo

Celo Test Wallet

Base Project

About

No description, website, or topics provided.

Resources

License

MIT, GPL-3.0 licenses found

Licenses found

MIT
LICENSE
GPL-3.0
COPYING.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published