project screenshot 1
project screenshot 2
project screenshot 3

Green Wallet

An eco-friendly wallet that automatically offsets your carbon footprint in a subscription model.

Green Wallet

Created At

ETHGlobal Lisbon

Winner of

trophy

🤝 Polygon — 🥇 Best Public Good with Account Abstraction

trophy

🏰 Optimism — Deploy on Mainnet

Project Description

This project was created out of the idea to create a wrapper around wallets that automatically retires carbon credits to account for the emissions of transactions. 

Of course we don't want to offset every transaction with a transaction, so we decided to offset in batches (after 500 tx - number has to be calculated more in detail, see Offsetra). Carbon Offsetting on-chain is still a hussle, as there are different procedures, different standards and even though on-chain carbon credits are way more liquid on-chain than off-chain, you can only get them on certain chains and only a few exchanges.

In the case of the wallet, the user should not have to bother with that. When creating the wallet they can decide on a price tier regarding the quality of the carbon credits to offset. This can be changed later if the proposal is accepted. 

Everybody loves to be environmentally friendly, but as soon as it gets too complicated, they drop out as long as there is no value. That's why we created Green Wallet.

Poaps, Leaderboards and implementation in social apps is in the future as this is always a great markting tool while raising awareness at the same time.

How it's Made

The base of our project was Safe (Gnosis). The carbon offsetting was done by using Toucan's infrastructure.

The goal was to add two different modules integrated with the "Safe{Core} Protocol " to the Safe, based on if the Safe is on Celo & Polygon, in which case, the module would just check if the 500 transactions have been reached and if they did, would send a defined amount of tokens to our OffsetContract that would then offset the tokens. In our case, as it is a contract that always does the same, doing a swap (from ERC20 to carbon token) for every offset, does not seem very sustainable, so we added an automation to the contract in which case it would automatically swap deposited ERC20 tokens for carbon tokens, when the carbon tokens reach a certain low.

We are also providing a gasless experience to incentivice the user to use our wallet.

If the Safe was created on another chain, there will be a BridgeModule that will send a message to the OffsetHelper on Celo or Polygon using Hyperlane or an existing Safe Bridge Module. Bridging will be possible from Optimism, GnosisChain, and also Linear and PolygonzkEVM once they are implemented.

The frontend of our project leveraged Node.js, JavaScript, and TypeScript to develop the core functionalities off our application.To enhance the user interface and ensure flexibility and scalability, we employed and Bootstrap Tailwind.

The core of the blockchain foundation is based on Gnosis Safe, The Graph, GraphQL, Gelato and the Toucan SDK.

background image mobile

Join the mailing list

Get the latest news and updates