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

feat: filter out runes utxos, closes #5207 #5229

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Conversation

alter-eggo
Copy link
Contributor

@alter-eggo alter-eggo commented Apr 12, 2024

Try out Leather build 3a40511Extension build, Test report, Storybook, Chromatic

This pr add filtering of utxos with runes from spendable utxos list

@fbwoolf fbwoolf force-pushed the feat/runes-balances branch 3 times, most recently from 3a173b8 to cf3f7dd Compare April 12, 2024 14:30
Base automatically changed from feat/runes-balances to dev April 12, 2024 14:43
@fbwoolf
Copy link
Contributor

fbwoolf commented Apr 12, 2024

Looks good @alter-eggo, if you rebase on the balances work (now on dev) you should see some more code that adds the remote config for mainnet Runes ...and code so we can go live handling both testnet and mainnet.

@alter-eggo alter-eggo force-pushed the feat/filter-runes-utxos branch from de414d1 to 19f96a9 Compare April 15, 2024 13:33
@alter-eggo alter-eggo marked this pull request as ready for review April 15, 2024 13:33
@alter-eggo alter-eggo force-pushed the feat/filter-runes-utxos branch 2 times, most recently from d616b50 to 1e792db Compare April 16, 2024 16:27
@alter-eggo alter-eggo force-pushed the feat/filter-runes-utxos branch 3 times, most recently from ecccb8e to 1459215 Compare April 18, 2024 13:30
Comment on lines 151 to 154
// To-DO If there are no runes response, filter out all utxos ?
if (!data) {
return [];
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonder if this is indeed too strict? won't this flash a balance of 0 before the data loads?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm. let's remove for now

@alter-eggo alter-eggo force-pushed the feat/filter-runes-utxos branch from 1459215 to 3a40511 Compare April 18, 2024 13:42
@alter-eggo alter-eggo added this pull request to the merge queue Apr 18, 2024
Merged via the queue into dev with commit 1e02992 Apr 18, 2024
28 checks passed
@alter-eggo alter-eggo deleted the feat/filter-runes-utxos branch April 18, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants