Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HVF Coin Selection #222

Merged
merged 16 commits into from
Feb 6, 2025
Merged

HVF Coin Selection #222

merged 16 commits into from
Feb 6, 2025

Conversation

cjkoepke
Copy link
Collaborator

@cjkoepke cjkoepke commented Jan 9, 2025

This PR adds a new custom coin selection algorithm, inspired by Lucid Evolution, using the (Highest Value First) HVF formula. Test coverage is written for the hvfSelector function. This is exported under the namespace CoinSelector, along with micahsSelector.

For now, it keeps micahsSelector as the default coin selection algorithm until the new one is thoroughly tested.

Copy link

changeset-bot bot commented Jan 9, 2025

🦋 Changeset detected

Latest commit: 8bb850a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@blaze-cardano/tx Patch
@blaze-cardano/emulator Patch
@blaze-cardano/sdk Patch
@blaze-cardano/uplc Patch
@blaze-cardano/wallet Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@cjkoepke cjkoepke marked this pull request as ready for review January 21, 2025 20:37
@cjkoepke cjkoepke merged commit 2b4c1a6 into main Feb 6, 2025
3 checks passed
@cjkoepke cjkoepke deleted the feat/hvf-coin-selection branch February 6, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants