ergo-appkit icon indicating copy to clipboard operation
ergo-appkit copied to clipboard

EIP-5 support in appkit

Open Luivatra opened this issue 10 months ago • 0 comments

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

Luivatra avatar Apr 10 '24 13:04 Luivatra