Case Study: Good Dollar / GoodCollective MVP
A case study by dOrg around the development of the front-end, back-end and web3 integrations for the GoodDollar/GoodCollective MVP — a platform for paying frontline climate stewards for their verified climate action.
Category:
DeFi-Public Goods
Roles:
Frontend
Backend
Web3 integrations
Project:
Abstract
GoodCollective is a series of smart contracts and a dApp built atop the GoodDollar protocol. Its objective is twofold:
1) to channel donations (targeted distribution of Universal Basic Income), using crypto, to individuals who fit specific criteria.
2) to tie those payment to specific people and activities (e.g. those verifiably completing climate-positive activities) to transparently report on detailed payment flow to frontline communities.
The platform is designed to maximize the value paid to local individuals on the ground, making the most impact while reducing intermediaries and costs of both payment deployment and climate impact measurement.
For the initial pilot and primary payment pool, Silvi has served as a climate action verification partner, and the infrastructure is designed to work with a variety of similar partners. GoodCollective was made possible by a grant from Climate Collective and in-kind technical and product design support by GoodDollar. dOrg teamed up to develop a dApp interface to display activity on the underlying GoodCollective contracts.
The solution design and payment mechanisms were provided by GoodDollar, a mission-driven protocol and cryptocurrency known for successfully onboarding hard-to-reach communities to crypto wallets. GoodDollar's decentralized payment infrastructure enables direct Universal Basic Income payments to individuals.
GoodDollar requested our support for the front-end, back-end and web3 integrations coding of the GoodDollar / GoodCollective MVP. We used the designs, user flows, and wireframes provided by GoodDollar / GoodCollective to facilitate this MVP development.
Background
GoodDollar is a permissionless protocol built with the goal of reducing wealth inequality and providing economic empowerment to all individuals. The protocol creates a sustainable digital currency, known as GoodDollar tokens (G$), that can be distributed to users worldwide.
The protocol operates on the principles of Universal Basic Income (UBI), where a fixed amount of G$ is distributed to users on a regular basis. One of the key features of the GoodDollar protocol is its use of smart contracts to automate the distribution of G$ tokens. This ensures transparency and efficiency in the distribution process, eliminating the need for intermediaries and reducing transaction costs.
We developed a mobile-first MVP React Native web app and Subgraph database to integrate GoodDollar’s GoodCollective smart contracts.
Focus Areas
To get this milestone-based project rolling, we divided it into three main milestones: back-end development, front-end development, and web3 integrations.
For the back-end development, we focused on creating a database with specific attributes like the project name, image, description, and links to the website, Twitter, Instagram, and Smart Contract on Celo Explorer. We also designed the database schema to include entities such as Project, User, Donation, and Transaction, each with detailed attributes necessary to the utility of the platform.
These entities are interconnected, allowing any user to track interactions, financial transactions, and project updates in real-time. Our subgraph organizes on-chain data for quicker queries in the GoodCollective app. The GoodCollective app updates the GoodCollective smart contracts through transactions. The subgraph can be queried by any user. Explore the full Subgraph schema for all technical details.
Moving on to front-end development and web3 integrations, we built mobile-first though made accommodations for how specific elements rendered on a desktop browser and we integrated smart contracts developed by GoodDollar with both the front-end and back-end of the dApp. Improvements and enhancements have been made since dOrg’s involvement, executed by the GoodDollar team.
The dApp was deployed on Celo but works on any chain, however, the transactions can only happen on Celo.
The stack to develop the MVP was:
React Native
Subgraphs
TypeScript
AssemblyScript
WAGMI
GoodDollar and GoodCollective smart contracts systems
Team
We provided a dedicated Tech Lead, Front-End, Back-End & Web3 Integrations Developers and a Project Manager.
Conclusion
GoodCollective has evolved from an MVP into a fully functional pilot and stands as a testament to our joint efforts, providing a platform for targeted distribution of segmented UBI. This can encompass a range of different initiatives such as Conservation Basic Income, where individuals receive fair compensation for their valuable climate-positive services, as well as initiatives to support socioeconomic collectives like Women’s UBI or Emergency Crisis Collectives such as Natural Disaster UBI or Refugee UBI, among other potential applications.
Ultimately, GoodCollective is committed to empowering individuals and communities by providing direct digital payments to those who need it the most.
Press Coverage
GoodDollar Launches Red Tent — First Segmented Basic Income Pilot for Women
December 12, 2024, Medium, by GoodDollarHQ
October, 31, 2024, Medium, by GoodDollarHQ
GoodCollective — Using diverse dMRV solutions for Conservation Basic Income
September, 16, 2024, Medium, by GoodDollarHQAnnouncing GoodCollective: a platform to provide direct payments for climate impact initiatives
July 24, 2023, Medium, by GoodDollarHQ