Skip to content

block-foundation/solidity-material-passport

GitHub License devContainer


Block Foundation Logo

Materials Passport

Block Foundation Smart Contract Series [Solidity]


Block Foundation Brand

Contents



Report a Bug Request a Feature Ask a Question Make a Suggestion Start a Discussion

Welcome to the Sustainable Materials Passport Project, a pioneering initiative leveraging blockchain technology to promote and streamline sustainable material management practices. Our innovative project is centered around creating a decentralized and transparent system to track the lifecycle of materials, from their origin, through their use, and ultimately to their recycling or disposal.

Introduction

The Sustainable Materials Passport Project presents a forward-thinking solution for numerous stakeholders, including manufacturers, consumers, recyclers, and environmental advocates. Our goal is to enhance accountability, ensure ethical sourcing, and encourage recycling through our material tracking system.

At the core of our project, we utilize Solidity smart contracts to manage and maintain the Material Passport. Each passport contains detailed information about a material, including its origin, manufacturer, recyclability, type, and lifecycle stages.

The robust functionality of our system provides capabilities such as registering a new material, transferring ownership of a material, updating the lifecycle of a material, recycling a material, and even a reward system to incentivize recycling.

The Sustainable Materials Passport Project marks a significant step towards bridging the gap between blockchain technology and sustainable resource management. Through this initiative, we aim to foster a culture of sustainability and circular economy, making the world a better place for future generations.

Features

  • Transparency: Each material is registered on the blockchain, ensuring its history and properties are accessible and immutable.
  • Lifecycle Management: Track and update the lifecycle of each material.
  • Recycling Incentives: A reward system to incentivize recycling of materials.
  • Ownership Management: Transfer ownership of materials and maintain a clear record of each transaction.

Getting Started

To get started with the Sustainable Materials Passport Project:

  1. Clone the repository:

    git clone https://github.com/your_username/SustainableMaterialsPassport.git
  2. Navigate into the project directory:

    cd SustainableMaterialsPassport

Dependencies

  • Solidity: ^0.8.4
  • Truffle: Latest version
  • Ganache: For a personal blockchain for Ethereum development that runs on your desktop.

Usage

  1. Install dependencies:

    npm install
  2. Start Ganache and make sure it's running.

  3. Compile and migrate the contracts:

    truffle compile
    truffle migrate
  4. Start the local development server:

    npm start

Quick Start

Install

npm i

Compile

npm run compile

Contract

Development Resources

Other Repositories

Block Foundation Smart Contract Series

Solidity Teal
Template >>> >>>
Architectural Design >>> >>>
Architecture Competition >>> >>>
Housing Cooporative >>> >>>
Land Registry >>> >>>
Real-Estate Crowdfunding >>> >>>
Rent-to-Own >>> >>>
Self-Owning Building >>> >>>
Smart Home >>> >>>

Colophon

Authors

This is an open-source project by the Block Foundation.

The Block Foundation mission is enabling architects to take back initiative and contribute in solving the mismatch in housing through blockchain technology. Therefore the Block Foundation seeks to unschackle the traditional constraints and construct middle ground between rent and the rigidity of traditional mortgages.

website: www.blockfoundation.io

Development Resources

Contributing

We'd love for you to contribute and to make this project even better than it is today! Please refer to the contribution guidelines for information.

Legal Information

Copyright

Copyright © 2023 Stichting Block Foundation. All Rights Reserved.

License

Except as otherwise noted, the content in this repository is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) License, and code samples are licensed under the Apache 2.0 License.

Also see LICENSE and LICENSE-CODE.

Disclaimer

THIS SOFTWARE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.