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

Migrate plutus-ledger-api types and functions into independent module #640

Open
SeungheonOh opened this issue Jan 17, 2024 · 2 comments
Open
Assignees

Comments

@SeungheonOh
Copy link
Collaborator

UPLC and Plutus Ledger API is independent of each other. UPLC defines the "instruction sets" for the smart contracts while Ledger API defines structure of data provided by nodes to each scripts. Different versions of Ledger API can be "run" on different versions of UPLC scripts.

Separating Ledger API modules, currently embedded inside of Plutarch core codebase, into an independent library will make it easier to maintain and quicker to drop-in different versions of plutus-ledger-api if necessary.

@SeungheonOh
Copy link
Collaborator Author

We have to note that different versions of ledger api will provide different builtin functions(need confirmation). Ideally, we define wrapper for these builtins in each plutarch-ledger-api library for each respective versions

@SeungheonOh
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants