Grant Application - Carbon.fyi Safe App

Project name

Carbon.FYI Safe App

Team members

Alex, Brendan, Drew, Damien

What project are you building

An emissions calculator that enables users to see the CO2 impact created by transactions made with a Gnosis Safe, and optionally allow these emissions to be offset with various payment options.

Why did you decide to build it

Climate change is the issue of our generation. Climate action requires awareness raising through carbon impact assessments. Awareness raising should ideally be followed by action to mitigate or compensate for carbon impacts.

Carbon.fyi and its documentation has been a useful tool in building climate awareness and starting the conversation across Ethereum, NFTs and blockchains more generally. Building the Carbon.fyi Safe App can help continue to spread awareness, and create more conversation on climate issues, e.g. iterations on blockchain carbon accounting methodologies, ideas on constructive & creative ways to have positive carbon impact!

How long will it take

8 days

How much funding are you requesting

$7,500

How did you hear about this grant

We initially spoke to Beth and Lukas about Carbon.fyi and Offsetra, and then found the grants when researching on how to get the resource on board to build the App.

Safe App description

Carbon.fyi calculates top-level CO2 emissions from the Ethereum network, converts it to an aggregated emissions factor for the network based on mining geographies and grid-level emissions factors, and then allocates emissions to network users based on the gas utilised per transaction. Hence, an indicative emissions factor per unit of gas is found.

We envisage the core functionality of the Safe calculate CO2 emissions from NFTs, ERC-20 transfers and contract interactions.

By connecting the Safe App directly to Offsetra’s Gnosis Safe, an offset functionality can also be delivered at different levels of complexity.

The emissions factor utilised in carbon.fyi is defined and ready to be integrated with new products. So, the next steps are deploying this as a Gnosis Safe App; this grant will enable the team to bring on the resource to build it by early summer.

Features

This will be a port and enhancement of our existing app which is hand-built with Next.js and React.js, written in TypeScript, and leverages our open source Ethereum emissions calculator library available on Github (Also TypeScript)

Design will mirror what is already visible on carbon.fyi. Work will mostly go towards making this isomorphic next.js web app function as a single-page web app which can be hosted on IPFS in order to meet the SafeApp requirements for approval. Additional work will go towards interfacing with the Safes themselves similar to our Metamask integration.

Individual / Team description

Brendan - software engineer, will lead, with support from the team

Timeline, Milestones and Deliverables

MVP: Read-only - 6 days.

  • Build a single-page-app that would receive the Safe Address via the Safe Apps SDK and calculate the associated CO2 emissions
  • CO2 Emissions are split up by categories (NFT transfers, ERC-20 transfers, Contract interactions, etc.)
  • Built to the requirements for official SafeApp approval

V2: Checkout - 2 days.

  • Offset the calculated amount via a manual cryptocurrency transfer to Offsetra (via CoinGate web interface)
  • Ability to chose which Offset project to support
    • Cerro de Hula Wind Project
    • Agrocortex REDD Project
    • Bull Run Forest Carbon Project

Maintenance - ongoing

  • The Safe App will be updated with latest available data for Ethereum’s carbon impact (i.e. energy consumption, updated emissions factor, block fullness), as well as available carbon credits and pricing.

Others

Given that it will essentially be reading Safe Apps for their carbon impact, based on gas usage by using open source data on Etherscan, it is considered safe and low risk.

Once the Safe App V2 is launched, we intend to develop further iterations, such as Proof of Action certificates that are non-transferrable NFTs issued to wallets that purchase carbon credits. This is outside the skillset of the team right now, but we will scope this out as develop the Safe App MVP.

This is really neat project, but $7,500 seems high how quick and easy it is to turn your app into Safe App these days. It shouldn’t be more than an afternoon’s work.

Something I would be really interested in (although it might be a little gas inefficient) would be to use a transaction guard to offset the carbon from each transaction the safe makes. What are your thoughts, @Richard?

I tend to agree that the MVP that is estimated for 6 days should come down, to convert the existing https://carbon.fyi/ to use the safe apps sdk.

Regarding the transaction guard: The transaction guard can only perform additional checks, it cannot perform additional actions (unless it is a module at the same time … not sure if I would recommend this).

1 Like

Oh cool, thanks for the clarification.

After thinking about this more, it seems that this is probably something that is best solved on the UI level. Essentially, the UI should just tack on a transaction to cover carbon offset to the end of every other transaction.

@lukas_gnosis this is the kind of thing where it would be useful to be able to extend the core UI.

Thank you for the feedback everyone. The overestimation of time and effort is partly on me being cautious (as someone not particularly technically proficient).

After catching up with the team this week, we would like to modify the ask down – not sure if ok to retroactively change the grant request though??

We’d resubmit at $3,000 for the delivery of the above.

Yeah, feel free to make edits to the grant request and we can review it again from there.

[EDITED/UPDATED GRANT APPLICATION]

Project name

Carbon.FYI Safe App

Team members

Alex, Brendan, Drew, Damien

What project are you building

An emissions calculator that enables users to see the CO2 impact created by transactions made with a Gnosis Safe, and optionally allow these emissions to be offset with various payment options.

Why did you decide to build it

Climate change is the issue of our generation. Climate action requires awareness raising through carbon impact assessments. Awareness raising should ideally be followed by action to mitigate or compensate for carbon impacts.

Carbon.fyi and its documentation has been a useful tool in building climate awareness and starting the conversation across Ethereum, NFTs and blockchains more generally. Building the Carbon.fyi Safe App can help continue to spread awareness, and create more conversation on climate issues, e.g. iterations on blockchain carbon accounting methodologies, ideas on constructive & creative ways to have positive carbon impact!

How long will it take

5.5 days

How much funding are you requesting

$3,000

How did you hear about this grant

We initially spoke to Beth and Lukas about Carbon.fyi and Offsetra, and then found the grants when researching on how to get the resource on board to build the App.

Safe App description

Carbon.fyi calculates top-level CO2 emissions from the Ethereum network, converts it to an aggregated emissions factor for the network based on mining geographies and grid-level emissions factors, and then allocates emissions to network users based on the gas utilised per transaction. Hence, an indicative emissions factor per unit of gas is found.

We envisage the core functionality of the Safe calculate CO2 emissions from NFTs, ERC-20 transfers and contract interactions.

By connecting the Safe App directly to Offsetra’s Gnosis Safe, an offset functionality can also be delivered at different levels of complexity.

The emissions factor utilised in carbon.fyi is defined and ready to be integrated with new products. So, the next steps are deploying this as a Gnosis Safe App; this grant will enable the team to bring on the resource to build it by early summer.

Features

This will be a port and enhancement of our existing app which is hand-built with Next.js and React.js, written in TypeScript, and leverages our open source Ethereum emissions calculator library available on Github (Also TypeScript)

Design will mirror what is already visible on carbon.fyi. Work will mostly go towards making this isomorphic next.js web app function as a single-page web app which can be hosted on IPFS in order to meet the SafeApp requirements for approval. Additional work will go towards interfacing with the Safes themselves similar to our Metamask integration.

Individual / Team description

Brendan - software engineer, will lead, with support from the team

Timeline, Milestones and Deliverables

MVP: Read-only - 6 days.

  • Build a single-page-app that would receive the Safe Address via the Safe Apps SDK and calculate the associated CO2 emissions
  • CO2 Emissions are split up by categories (NFT transfers, ERC-20 transfers, Contract interactions, etc.)
  • Built to the requirements for official SafeApp approval

V2: Checkout - 2 days.

  • Offset the calculated amount via a manual cryptocurrency transfer to Offsetra (via CoinGate web interface)
  • Ability to chose which Offset project to support
    • Cerro de Hula Wind Project
    • Agrocortex REDD Project
    • Bull Run Forest Carbon Project

Maintenance - ongoing

  • The Safe App will be updated with latest available data for Ethereum’s carbon impact (i.e. energy consumption, updated emissions factor, block fullness), as well as available carbon credits and pricing.

Others

Given that it will essentially be reading Safe Apps for their carbon impact, based on gas usage by using open source data on Etherscan, it is considered safe and low risk.

Once the Safe App V2 is launched, we intend to develop further iterations, such as Proof of Action certificates that are non-transferrable NFTs issued to wallets that purchase carbon credits. This is outside the skillset of the team right now, but we will scope this out as we develop the Safe App MVP.

1 Like