mpizenberg / elm-cardano

Elm offchain package for Cardano
https://elm-doc-preview.netlify.app/Cardano?repo=mpizenberg%2Felm-cardano&version=elm-doc-preview
BSD 3-Clause "New" or "Revised" License
11 stars 3 forks source link

Fees for Tx building #37

Closed mpizenberg closed 1 month ago

mpizenberg commented 1 month ago

This is a follow up PR after #34

The goal of this PR is to reliably estimate all things related to fees and variable ada amounts for the transaction building. This includes:

mpizenberg commented 1 month ago

A lot of work has been done to improve the fees situation! More fields are handled that have an impact on fees computation. For example, the presence of collateral in the Tx when there are scripts. This PR also adds tests, a dedicated Error type, and many code improvements for processing intents.

Things still left to do:

mpizenberg commented 1 month ago

MinAda is now automatically checked and adjusted for everything! So we have only these two left:

mpizenberg commented 1 month ago

Ok, this is almost ready. As previously said, there are only two things left:

So let’s merge this, work on those two issues/PRs, then we can go back to finish Tx Building :)