One of the biggest challenge in the world right now is to control the emission of carbon-dioxide (CO2) gas to reduce the greenhouse effect. Vehicles that are used in the transport sector are responsible to increase the level of CO2 in the atmosphere. Restriction can be applied for private vehicle users to limit the usage of CO2 gas in the society. Internet of Things (IoT) devices specially different sensors can be used to collect the usage of CO2 gas from the vehicles of a particular user. Additionally, Mobile edge computing (MEC) server can be helpful to process the collected data. This paper briefly explains the impact of increasing CO2 gas in the environment and propose a secure scheme using recent technologies that can help to reduce the CO2 gas emission rate. Finally, blockchain technology is endorsed to build a secure system to protect it against the attacks (i.e., cyber threats and data integrity) and any kind of third-party interaction.