mlabs-haskell / seabug-contracts

3 stars 1 forks source link

Add back `mintPolicy` #13

Closed samuelWilliams99 closed 2 years ago

samuelWilliams99 commented 2 years ago

The mintPolicy field is currently ignored, and not present in the NFTs we have minted via BPI. This task is across several repos - to fix the minting process to include this field, and fix the metadata to not ignore it. Blocked until debugging of frontend is complete.

ryukzak commented 2 years ago

Metadata:

{
"727": {
    "<policy_id>": {
        "mintPolicy": <string>,
        "collectionNftCS": <string>,
        "lockingScript": <string>,
        "authorPkh": <string>
        "authorShare": <string>,
        "marketplaceScript": <string>,
        "marketplaceShare": <string>,
        "collectionNftTN": <string>,
        "ownerPkh": <string>,
        "ownerPrice": <string>,
} }
}

where:

Should mintPolicy be: 1) a hash of unapplied minting script 2) human-readable string like described here: https://github.com/mlabs-haskell/seabug/pull/17/files?

Option one is here: https://github.com/mlabs-haskell/plutus-use-cases/pull/363

samuelWilliams99 commented 2 years ago

@Guilherme775

KindaSloth commented 2 years ago

This issue has already been resolved in these PRs/Commits:

PR Commit and Commit