scalus
scalus copied to clipboard
FEATURE: implement eval phase 2 and expose as a library.
Currently we are using Aiken via JNI binding to evaluate cost for redeemers but it would be nice to have a library / interface from this library accessible from Java that would simply allow us to get rid of JNI binding as this project implement CEK machine.
https://github.com/bloxbean/aiken-java-binding https://github.com/bloxbean/aiken-jna-wrapper
I'm guessing the costs could either be queried from a node or downloaded from iogs network jsons?
I will implement this a bit later
"A bit later" I've implemented it 87e352252a7722e53b5b8fa808c466ee14c4db7b