mesh icon indicating copy to clipboard operation
mesh copied to clipboard

Implement IEvaluator for Koios

Open mpizenberg opened this issue 8 months ago • 1 comments

It seems like all providers except Koios implement IEvaluator. I was surprised by this when the TS type checker told me I could not use the koios provider for the evaluator param of the new MeshTxBuilder() constructor.

However, Koios also offers a limited Ogmios endpoint, with a subset of the ogmios api, which include Tx submission and Tx evaluation: https://api.koios.rest/#tag--Ogmios

And it seems Mesh already has IEvaluator implemented for the Ogmios provider. So I think it could be a low hanging fruit to add that implementation to Koios as well, by leveraging some of the code already written for the ogmios provider.

If I have time, I can give it a try. But at least now it’s recorded in an issue.

mpizenberg avatar Apr 21 '25 18:04 mpizenberg

Related #577

HinsonSIDAN avatar Apr 22 '25 00:04 HinsonSIDAN