Skip to content

Commit

Permalink
Small copy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurangtorvekar committed May 7, 2021
1 parent 98f587d commit e4a12bf
Show file tree
Hide file tree
Showing 4 changed files with 596 additions and 711 deletions.
41 changes: 0 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,3 @@
This is a project by team O.N.C.E. (Operation Nifty Carbon Emissions)! The team is comprised of experienced software engineers from RSK and Indorse!

## Project Scope

In every serious conversation about blockchains, in particular NFTs, there are always detractors who talk about how harmful the NFTs are for the environment. One of the rebuttals to this argument is the renewable energy sources used by miners across the world. Still, we do not have the actual numbers to prove our point and show how “green” the NFTs are. In this project, we assess the actual environmental impact of the NFTs by going drilled down all the way to the transaction level. Several projects showcase the environmental impact of a blockchain network as a whole. This project attempts to go further, by segregating the NFT transactions independently.

We have used a sample Smart Contract for an NFT on the Ethereum blockchain and look at various types of transactions such as “deploy”, “mint”, and “transfer”. Each transaction will have a different gas cost associated with that, hence varying carbon emission impact. We also consider other factors like the energy mix used for mining these transactions and try to make it palatable and easy to understand by comparing these values against trees felled or miles travelled in a typical car.

### Website
https://blockchain-carbon-cost-visualizer.vercel.app/

### Light paper
XXX

### Technology used

- Frontend - ReactJS
- Backend - NodeJS + web3.js
- Smart Contract - Solidity

### Project Structure

- We have created 2 repos for this project. This is the repo for the frontend of the SPA (Single Page App)
- This repo is the main visualization of the project where we compare the different NFT transactions and showcase how much energy they consume as compared to cutting down trees or driving around in a car!
- The backend can be found in [this repo](https://github.com/vijaykrishnavanshi/once-hackathon-api)
- This is the repo where we have APIs that feed data to the React visualization
- This repo also connects to a script that calculates the estimated energy consumption and the carbon costs associated with the various transactions

### Team

1. Project Lead - Brendan Graetz, RSK
2. Gaurang Torvekar, Indorse
3. Vijay Krishnavanshi, Indorse
4. Utkarsh Gupta, Indorse

### License

This project is released under the [Apache 2 license](https://www.apache.org/licenses/LICENSE-2.0)

---

## Installation Instructions

## Summary
Expand Down
60 changes: 28 additions & 32 deletions components/disclaimer.js
Original file line number Diff line number Diff line change
@@ -1,36 +1,32 @@
import React, { Component } from 'react'
import { Segment, Header } from 'semantic-ui-react';

import React, { Component } from "react";
import { Segment, Header } from "semantic-ui-react";

class WhatsThisSection extends Component {
render() {
return (
<Segment
style={{ width: '700px', height: '250px', color: 'black' }}
>
<Header
style={{
marginTop: '10px',
fontSize: '30px'
}}
as='h2'
>
Disclaimer
</Header>
<p style={{
fontSize: '16px',
marginLeft: '50px',
marginRight: '50px'
}}>
While we have tried to use our best judgement and the most reliable sources of information available,
the values shown on this website are still approximations! We are attempting to show the relative carbon
emissions from various comparable transactions for one Smart Contract,
and these values may vary based on the individual implementations of other contracts.
We assume no liability for the accuracy of these values whatsoever.
</p>
</Segment>
)
}
render() {
return (
<Segment style={{ width: "700px", height: "250px", color: "black" }}>
<Header
style={{
marginTop: "10px",
fontSize: "30px",
}}
as="h2"
>
Disclaimer
</Header>
<p
style={{
fontSize: "16px",
marginLeft: "50px",
marginRight: "50px",
}}
>
While we have used our best judgement and the most reliable sources of information available, the values shown on this website are still approximations! Our intent is to show the relative carbon emissions from various comparable transactions for selected Smart Contracts, and these values
may vary for other Smart Contracts. We assume no liability for the accuracy of these values whatsoever.
</p>
</Segment>
);
}
}

export default WhatsThisSection
export default WhatsThisSection;
72 changes: 38 additions & 34 deletions components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,50 +2,54 @@
The Footer file that will remain constant.
*/

import React, { Component } from 'react';
import { Menu, Header } from 'semantic-ui-react';
import React, { Component } from "react";
import { Menu, Header } from "semantic-ui-react";

// import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
// import { faCopyright } from '@fortawesome/free-solid-svg-icons';

class Footer extends Component {
render() {
return (
<Menu
text
style={{
position: 'fixed', bottom: '0', width: '100%', borderRadius: '0', textAlign: 'center',
justifyContent: 'center',
boxShadow: '0 0 50px 0 rgba(76,147,230,0.1)',
fontSize: '16px',
zIndex: '1',
backgroundColor: 'white',
marginBottom: '0px',
height: '60px'
}}
// inverted
>
<Menu.Item>
<Header
style={{
fontSize: '16px',
lineHeight: '20px',
marginLeft: '80px'
}}
>
{/* <FontAwesomeIcon
render() {
return (
<Menu
text
style={{
position: "fixed",
bottom: "0",
width: "100%",
borderRadius: "0",
textAlign: "center",
justifyContent: "center",
boxShadow: "0 0 50px 0 rgba(76,147,230,0.1)",
fontSize: "16px",
zIndex: "1",
backgroundColor: "white",
marginBottom: "0px",
height: "60px",
}}
// inverted
>
<Menu.Item>
<Header
style={{
fontSize: "16px",
lineHeight: "20px",
marginLeft: "80px",
}}
>
{/* <FontAwesomeIcon
style={{
height: '14px'
}}
icon={faCopyright}
/>
{' '} */}
Copyright Reserved by O.N.C.E project team. This software and code is released under the GPL v3 license.
</Header>
</Menu.Item>
</Menu>
)
}
&copy; Reserved by O.N.C.E project team. This software and code is released under the GPL v3 license.
</Header>
</Menu.Item>
</Menu>
);
}
}

export default Footer
export default Footer;
Loading

0 comments on commit e4a12bf

Please sign in to comment.