hyperledger-labs / blockchain-carbon-accounting

This project implements blockchain applications for climate action and accounting, including emissions calculations, carbon trading, and validation of climate claims. It is part of the Linux Foundation's Hyperledger Climate Action and Accounting SIG.
https://wiki.hyperledger.org/display/CASIG/Carbon+Accounting+and+Certification+WG
Apache License 2.0
189 stars 102 forks source link

should "industry" role be given by contract owner? #503

Open sichen1234 opened 2 years ago

sichen1234 commented 2 years ago

@brioux I think the "industry" role should be given by the contract owner, like emissions auditor and offsets dealer. Otherwise if anybody could claim to be an "industry" member the system could get chaotic. What do you think?

sichen1234 commented 2 years ago

Hi @brioux What do you think of this change?

brioux commented 2 years ago

@sichen1234 I have updated the role assignment for industry in the recently added CarbonTracker branch.

There are two industry roles: admin assigned industry dealer, and self or peer assigned industry. Both roles have the same function, they can receive and trade emission tokens and emission certificates (C-NFT) composed of carbon tracker NETs issued by auditors, they can not issue tokens. If needed we can allow admin to disable the self/peer registration of the industry role.

FYI in the branch auditors can now issue both retired emission certificates and transferable (audited) carbon tracker tokens to facilitate supply chain emission tracking. I activated this rather than creating a new auditor role specifically for supply chain tracking.

sichen1234 commented 2 years ago

Do you see the Industry role as someone who could issue carbon tracker NFT's and attach products?

In that case could it be any producer who wants to break down their emissions audit to products?

What is the difference between industry and industry dealer then? Do we need the industry dealer?


Si Chen Open Source Strategies, Inc.

Why aren't we decarbonizing when it's profitable? How can we fix it? See our Blog https://www.opensourcestrategies.com/2022/04/13/using-the-blockchain-for-supply-chain-decarbonization-with-emissions-transfers/ and White Paper https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4082449

On Fri, May 13, 2022 at 6:56 AM Bertrand Rioux @.***> wrote:

@sichen1234 https://github.com/sichen1234 I have updated the role assignment for industry in the recently added CarbonTracker branch https://github.com/hyperledger-labs/blockchain-carbon-accounting/tree/CarbonTracker .

There are two industry roles: admin assigned industry dealer, and self or peer assigned industry. Both roles have the same function, they can receive and trade emission tokens and emission certificates (C-NFT) composed of carbon tracker NETs issued by auditors, they can not issue tokens. If needed we can allow admin to disable the self/peer registration of the industry role.

FYI in the branch auditors can now issue both retired emission certificates and transferable (audited) carbon tracker tokens to facilitate supply chain emission tracking. I activated this rather than creating a new auditor role specifically for supply chain tracking.

— Reply to this email directly, view it on GitHub https://github.com/hyperledger-labs/blockchain-carbon-accounting/issues/503#issuecomment-1126084776, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANAS4J47ZRP7WOMWVTQQ7LVJZNSJANCNFSM5RL3D7BA . You are receiving this because you were mentioned.Message ID: <hyperledger-labs/blockchain-carbon-accounting/issues/503/1126084776@ github.com>

sichen1234 commented 2 years ago

Based on https://wiki.hyperledger.org/display/CASIG/2022-05-23+Peer+Programming+Call,

  1. Having the Industry role allows the user to issue product emissions certificates
  2. The Industry role should be given by the contract owner
  3. The Industry dealer role will be removed.
brioux commented 2 years ago
  1. TO-DO
  2. is now configured for both the contract owner (admin) and assigned auditor. This allows auditor to register industry that emission certificates are assigned. The industry will submits product certificates assigned to CarbonTracker (emission certificate) before it is approved by the auditor.
  3. Done
sichen1234 commented 2 years ago

I still see the Industry Dealer role in the UI:

Screen Shot 2022-06-20 at 1 35 44 PM

Should we remove it?

sichen1234 commented 1 year ago

Hi @brioux Just wanted to check on this again. There is a button for "Register as Industry" under My Roles.

Who should be able to be registered as Industry? Should this be done only by the contract owner?

brioux commented 1 year ago

@sichen1234 CarbonTrackers will only be assigned to registered Industry roles. Since they are issued by auditors, this role is authorized to register them See the registerIndustry contract function.

Is the add role options showing up in other cases?

sichen1234 commented 1 year ago

Yes it is. You can try it on emissions-test.opentaps.org You can register just with an email address, and then you'll see it there.

Si Chen Open Source Strategies, Inc.

Why open source and blockchain for carbon accounting? Video https://www.youtube.com/watch?v=eNM7V8vQCg4 and Blog Post https://www.opensourcestrategies.com/2022/06/01/why-open-source-carbon-accounting/

On Mon, Sep 5, 2022 at 1:48 PM Bertrand Rioux @.***> wrote:

@sichen1234 https://github.com/sichen1234 CarbonTrackers will only be assigned to registered Industry roles. Since they are issued by auditors, this role is authorized to register them See the registerIndustry contract function.

Is the add role options showing up in other cases?

— Reply to this email directly, view it on GitHub https://github.com/hyperledger-labs/blockchain-carbon-accounting/issues/503#issuecomment-1237450185, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANAS4KZCJH6L32Z6EBWIYTV4ZMDNANCNFSM5RL3D7BA . You are receiving this because you were mentioned.Message ID: <hyperledger-labs/blockchain-carbon-accounting/issues/503/1237450185@ github.com>