scalus icon indicating copy to clipboard operation
scalus copied to clipboard

FEATURE: implement eval phase 2 and expose as a library.

Open matiwinnetou opened this issue 2 years ago • 2 comments

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

matiwinnetou avatar Apr 05 '23 12:04 matiwinnetou

I'm guessing the costs could either be queried from a node or downloaded from iogs network jsons?

kryptt avatar May 15 '23 09:05 kryptt

I will implement this a bit later

nau avatar May 15 '23 14:05 nau

"A bit later" I've implemented it 87e352252a7722e53b5b8fa808c466ee14c4db7b

nau avatar May 26 '24 10:05 nau