Closed ahaxu closed 1 year ago
Hey, I'm not sure if I fully got it. So you say you already applied the parameters through your cli. When you did that already you don't need to use the applyParamsToScript
function anymore in Lucid.
Thank you @alessandrokonrad. i think i will use cli to generate parameterized script.
Hi everyone, i have one question about parameterized script.
From this minting policy
I guess, the plutus code (haskell) may be
To have the parameterized plutus script in CBOR format, i write a cli to generate the plutus script in CBOR with parameter(s) provided by cli's args. By using this way, we already filled the parameter. Then, from front end side we apply
applyParamsToScript
function to the parameter again (a bytes confused here)So, my question is what is the good way to deal with parameterized validator or minting script? Thank you for taking your time to reading this question.