Skip to content

Apply parameters on plutus scripts #439

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

Open
mpizenberg opened this issue Apr 30, 2025 · 1 comment
Open

Apply parameters on plutus scripts #439

mpizenberg opened this issue Apr 30, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@mpizenberg
Copy link

Many plutus scripts are compiled first without all its parameters fixed. Then we can "apply parameters" to them to get their final form before using the scripts.

On most offchain frameworks, there is a function to do this.

It would be very useful if we had the capabilities to do that with pycardano. I’ve seen that opshin can do it, but opshin isn’t maintained up-to-date with the chain and doesn’t support PlutusV3 it seems.

@cffls cffls added the enhancement New feature or request label May 1, 2025
@mpizenberg
Copy link
Author

In case useful, the next version of Aiken will include this PR, which enables usage of aiken blueprint apply --in some/plutus.json ... outside of an aiken project. This is pretty convenient to call it with subprocess.run() in python with just the path to a blueprint json file instead of needing to be inside an aiken project directory. aiken-lang/aiken#1163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants