You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Plutus Blueprints are increasingly used for Cardano Smart Contracts [citation needed]. A part of these blueprints is a schematic description of PlutusData classes in json.
Describe the solution you'd like
Add a function to pycardano that converts plutusdata classes to plutus blueprints.
It is not entirely clear to me how other libraries "read" Plutus Blueprint Descriptions of PlutusData objects - this could in principle be done but I don't see the added value. This would effectively generate types at runtime and hence not give any improvements regarding type safety. One maybe interesting topic could be "validating" a PlutusData schema against the schema of a certain contract.
Note that we can re-use a lot of the definitions here: OpShin/opshin#279
It also introduces "reading" and dynamically generating PlutusData objects, however still lacks type checks when using "apply_parameter".
Is your feature request related to a problem? Please describe.
Plutus Blueprints are increasingly used for Cardano Smart Contracts [citation needed]. A part of these blueprints is a schematic description of PlutusData classes in json.
Describe the solution you'd like
Add a function to pycardano that converts plutusdata classes to plutus blueprints.
Describe alternatives you've considered
None
Additional context
https://cips.cardano.org/cips/cip57/#corevocabulary
The text was updated successfully, but these errors were encountered: