Skip to content
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

Initial implementation of Plutus Blueprint (CIP 57) #266

Merged
merged 2 commits into from
Jun 20, 2023
Merged

Conversation

satran004
Copy link
Member

#264

Initial implementation of plutus contract blueprint. It handles loading of plutus.json file, but it only loads preambles and validator (title, compiledCode") info.

API Usage

  1. To get PlutusScript from plutus.json
PlutusContractBlueprint blueprint = PlutusBlueprintLoader.loadBlueprint(in);
  1. To get PlutusScript from compiledCode
PlutusScript plutusScript = PlutusBlueprintUtil.getPlutusScriptFromCompiledCode("581801000032223253330043370e00290020a4c2c6eb40095cd1", PlutusVersion.v2);

@satran004 satran004 merged commit 1bf5ef3 into master Jun 20, 2023
@satran004 satran004 deleted the feat_264 branch June 20, 2023 14:47
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.

1 participant