sidan-lab / plutus-cborhex-automation

A Haskell package for creating RESTful API endpoints for dynamic parameterized Cardano Plutus script.
15 stars 3 forks source link

Clarification of README #40

Closed jackdfraser closed 1 year ago

jackdfraser commented 1 year ago

With different parameters supplied to the same validator function, it would return multiple plutus Validator and generate multiple cborHex. With different cborHex created, different script addresses could be derived.

Can you elaborate on this part?

i.e.

you have validator a and parameters b, c. Is the above suggesting that when you calculate a(b) and a(c) you get a different a?

HinsonSIDAN commented 1 year ago

Yup I think it is correct. Currently our library supports any parameter Plutus script which takes in 1 parameter. You can try to setup the quick start to test for it!

HinsonSIDAN commented 1 year ago

Closing due to inactivity.