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

EIP-5 support in appkit #236

Open
2 tasks
Luivatra opened this issue Apr 10, 2024 · 0 comments
Open
2 tasks

EIP-5 support in appkit #236

Luivatra opened this issue Apr 10, 2024 · 0 comments

Comments

@Luivatra
Copy link

As described in https://github.com/ergoplatform/eips/blob/master/eip-0005.md

It would help remove ergoscript dependency for contracts that have constants that are not known beforehand. Currently either ergoscript needs to be compiled on the fly resulting in the risk that a change in compiler will give different ergotree, or the ergotree needs to be manipulated to replace the constant which especially in larger contracts with many constants can become messy.

So ideally appkit should support:

  • Compiling ergoscript into eip-5 json
  • Read eip-5 json and produce ergotree based on template bytes and supplied parameters
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

No branches or pull requests

1 participant