Skip to main content
added 34 characters in body
Source Link
Fermat
  • 1.9k
  • 4
  • 20

Currently Value is parametrized by a currency symbol and, a tokenname and the amount of tokens of this type(1). Here the currency symbol is not arbitrary, it is the hash of the minting policy script. This script determines under which conditions the tokens under this policy can be minted or burned.

To answer your question, it depends. If you want tokens with the same Tokenname and different policies, then yes. But if you want one token with currency symbol x and tokenname y that you can mint via multiple minting policies that both hash to x, then no.

Perhaps you could specify what you want to do with the token? If you just want two condition that both can mint/burn you could always combine two minting policies to get one policy.

Currently Value is parametrized by a currency symbol and a tokenname (1). Here the currency symbol is not arbitrary, it is the hash of the minting policy script. This script determines under which conditions the tokens under this policy can be minted or burned.

To answer your question, it depends. If you want tokens with the same Tokenname and different policies, then yes. But if you want one token with currency symbol x and tokenname y that you can mint via multiple minting policies that both hash to x, then no.

Perhaps you could specify what you want to do with the token? If you just want two condition that both can mint/burn you could always combine two minting policies to get one policy.

Currently Value is parametrized by a currency symbol, a tokenname and the amount of tokens of this type(1). Here the currency symbol is not arbitrary, it is the hash of the minting policy script. This script determines under which conditions the tokens under this policy can be minted or burned.

To answer your question, it depends. If you want tokens with the same Tokenname and different policies, then yes. But if you want one token with currency symbol x and tokenname y that you can mint via multiple minting policies that both hash to x, then no.

Perhaps you could specify what you want to do with the token? If you just want two condition that both can mint/burn you could always combine two minting policies to get one policy.

Source Link
Fermat
  • 1.9k
  • 4
  • 20

Currently Value is parametrized by a currency symbol and a tokenname (1). Here the currency symbol is not arbitrary, it is the hash of the minting policy script. This script determines under which conditions the tokens under this policy can be minted or burned.

To answer your question, it depends. If you want tokens with the same Tokenname and different policies, then yes. But if you want one token with currency symbol x and tokenname y that you can mint via multiple minting policies that both hash to x, then no.

Perhaps you could specify what you want to do with the token? If you just want two condition that both can mint/burn you could always combine two minting policies to get one policy.