lily-wallet icon indicating copy to clipboard operation
lily-wallet copied to clipboard

Transaction / UTXO Labeling

Open KayBeSee opened this issue 4 years ago • 3 comments

Be able to add labels to UTXOs / Transactions.

Related to #58 and #38 since labels will be saved to a file.

KayBeSee avatar Apr 29 '21 03:04 KayBeSee

Address labeling added via 64ca20e6b5f030745bd0e8b087edd16036905f4c

KayBeSee avatar Oct 17 '22 03:10 KayBeSee

Thinking through this ticket a bit more and realizing that tagging transactions / utxos specifically seems unnecessary. Everything really revolves around addresses -> transactions -> UTXOs.

I'm starting to think that tagging individual UTXOs is a bad idea and should rely on pulling tags from the address and transaction the UTXO was sent to / sent in.

If we are going to tag a UTXO "KYC" or "Swan" or "CashApp" or "Non KYC", then those same tags would apply to the transaction or address

i.e.

I send bitcoin to CashApp, tag the transaction as "CashApp" and "KYC" and then that label should be applied to my change address too.

If I receive bitcoin from Swan, I should have that address already tagged as "Swan" and "KYC" but if I don't, I can add that in the transaction tag field.

In fact, even transactions shouldn't really have tags associated with them directly since transactions are just made up of money going to/from addresses.

So the retrieval logic should go through all inputs/outputs and look up tags based on address and then display them in transaction details.

KayBeSee avatar Oct 19 '22 05:10 KayBeSee

This is nearly complete.

I added:

  • UTXO tags (via address tags)
  • Address tags
  • Transaction descriptions
  • Transaction tags (via address tags)

You can also search UTXOs and Addresses in the Settings page.

I think the last item to include is search on the transactions view and then this can be closed out.

KayBeSee avatar Oct 21 '22 05:10 KayBeSee