Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issuer address when tokenizing supply chain emissions #463

Open
sichen1234 opened this issue Feb 23, 2022 · 0 comments
Open

fix issuer address when tokenizing supply chain emissions #463

sichen1234 opened this issue Feb 23, 2022 · 0 comments

Comments

@sichen1234
Copy link
Contributor

From #436, if you tokenize emissions from supply chain emissions,

in .env
ETH_ISSUER_ACCT=0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC
ETH_ISSUEE_ACCT=0x70997970c51812dc3a010c7d01b50e0d17dc79c8

ups.js output
"issuer": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"issuee": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",

dapp
Issuer 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
Issuee 0x70997970C51812dc3A010C7d01b50e0d17dc79C8

The issuer is 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 which is the account that deployed the contract:

Deploying NetEmissionsTokenNetwork with account: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
NetEmissionsTokenNetwork deployed to: 0x610178dA211FEF7D417bC0e6FeD39F05609AD788
But if you login as 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC (the local emissions auditor) in the dapp and then issue the tokens, then you'll see that the tokens are issued by 0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant