Skip to content

bdev07/green-deeds-celo

Repository files navigation

Green Deeds Celo Hackathon Submission:

Link to our full presentation.

Link to our application demo.

Celo development experience.

This app has been tested on the 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.

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 question is also answered in our full presentation, found here.

Green Deeds

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

Green Deeds is a mobile application which offers you a way to turn your recyclables and food waste into gold (Celo and cUSD)!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published