Skip to content

Add function to convert a PlutusData object into a Plutus Blueprint Schema #276

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

nielstron
Copy link
Contributor

As part of OpShin/opshin#57, OpShin will have to convert PlutusData-ish arguments to smart contracts into the Plutus Blueprint Schema (CIP 57). Since this utility seems useful outside of OpShin, I propose to add the function here.

@codecov-commenter
Copy link

Codecov Report

Merging #276 (140873a) into main (af8afdc) will increase coverage by 0.04%.
The diff coverage is 91.30%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

@@            Coverage Diff             @@
##             main     #276      +/-   ##
==========================================
+ Coverage   84.74%   84.78%   +0.04%     
==========================================
  Files          26       26              
  Lines        3067     3090      +23     
  Branches      750      760      +10     
==========================================
+ Hits         2599     2620      +21     
- Misses        350      351       +1     
- Partials      118      119       +1     
Files Coverage Δ
pycardano/plutus.py 87.04% <91.30%> (+0.35%) ⬆️

@nielstron nielstron mentioned this pull request Oct 26, 2023
nielstron added a commit to nielstron/CIPs that referenced this pull request Oct 29, 2023
- Blueprint generation and loading is supported in OpShin as of OpShin/opshin#279
- Blueprint leveraging is underway in pycardano as of Python-Cardano/pycardano#276 ff
@nielstron
Copy link
Contributor Author

Closing this since the necessary function was simply implemented as part of OpShin/opshin#279 in OpShin - together with loading of blueprints and also handling the remaining contract-related parts.

@nielstron nielstron closed this Oct 29, 2023
rphair added a commit to cardano-foundation/CIPs that referenced this pull request Nov 7, 2023
* Update CIP 57 Implementation Status

- Blueprint generation and loading is supported in OpShin as of OpShin/opshin#279
- Blueprint leveraging is underway in pycardano as of Python-Cardano/pycardano#276 ff

* very small grammar mistake

* also change ImperatorLang to OpShin in the header

---------

Co-authored-by: Robert Phair <[email protected]>
Ryun1 pushed a commit to Ryun1/CIPs that referenced this pull request Nov 17, 2023
* Update CIP 57 Implementation Status

- Blueprint generation and loading is supported in OpShin as of OpShin/opshin#279
- Blueprint leveraging is underway in pycardano as of Python-Cardano/pycardano#276 ff

* very small grammar mistake

* also change ImperatorLang to OpShin in the header

---------

Co-authored-by: Robert Phair <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants