user255: I'd like to get the CurrencySymbol of a PlutusV2 MintingPolicy. There's a function defined in Plutus.Script.Utils.Scripts with the following signature:
scriptCurrencySymbol :: Versioned MintingPolicy -> CurrencySymbol
But I have no idea how get the Versioned MintingPolicy of a MintingPolicy

user1071: You can use Plutus.Script.Utils.V2.Scripts.scriptCurrencySymbol

255: <p>I'd like to get the <code>CurrencySymbol</code> of a <code>PlutusV2</code> <code>MintingPolicy</code>. There's a function defined in <code>Plutus.Script.Utils.Scripts</code> with the following signature:</p>
<p><code>scriptCurrencySymbol :: Versioned MintingPolicy -&gt; CurrencySymbol</code></p>
<p>But I have no idea how get the <code>Versioned MintingPolicy</code> of a <code>MintingPolicy</code></p>
 1071: <p>You can use <code>Plutus.Script.Utils.V2.Scripts.scriptCurrencySymbol</code></p>
