-
Notifications
You must be signed in to change notification settings - Fork 2
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
Refactoring DID minting #434
Conversation
@mrsmkl , could you review the OpenGSN test? It seems to rely transactions fine for the DIDRegistry but there is a problem with the NFT minting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cannot figure out how to mint an erc-721 token if it's not minted whyen registering or enabling the nft (except transfer condition w/ mint).
If possible, there shouldn't be overloaded method names, they just cause problems on JS side...
The intention is to protect the contract in such a way only an operator (i.e TransferCondition or the contract owner can mint) |
The case I was wondering was if the owner of the DID isn't the owner of the contract, but would want to mint it without TransferCondition ... |
ERC-1155 can represent a multi-token where different DIDs (from different owners) are minted under the same contract (because of that in the I think for ERC-721 that shouldn't be a normal case. For ERC-721 a user typically will require to deploy/clone a contract that keeps the different tokenIds representing the "mints" from different users for the same asset (DID). In our ERC-1155 implemention the |
Description
This PR implements:
Is this PR related with an open issue?
Related to Issue #
Types of changes
Checklist:
Funny gif