mlabs-haskell / seabug-contracts

3 stars 1 forks source link

Parameterized minting policies #3

Closed nrutledge closed 2 years ago

nrutledge commented 2 years ago

Currently, the Seabug contract is using a hardcoded minting policy. This makes it impossible to purchase NFTs for any collection aside from the one that corresponds to the particular minting policy. Instead, we should be parameterizing and generating the minting policy for whichever collection is being purchased.

Related to this applyArguments PR: https://github.com/Plutonomicon/cardano-transaction-lib/pull/190

This will entail adjustments to the on-chain code, Seabug CTL logic, as well as reminting of NFTs.