haven-protocol-org / haven-web-app

https://havenprotocol.org/
30 stars 17 forks source link

Offline Transaction Notes #52

Open trymeouteh opened 3 years ago

trymeouteh commented 3 years ago

Please add the ability to make a note for any transaction that you send or receive. These notes will NOT be saved to the transaction on the blockchain itself, but saved within the app. This way you can have private notes for any transaction. Here is how I see this working...

You can choose a directory on your device on were transaction notes are stored. For example "Documents/Haven/". Then you can write a note for a transaction to know what it was for like "Utility bill payment" or "Coffee" or "Sending money to John Doe"

Each transaction note will be a file named as the asset and the transaction ID which will be stored in a sub directory named after the wallet "WALLETNAME/xUSD-TRANSACTIONID". For example "Personal/xUSD-f96c186696047241aed7d04ea0e77c9781d33a13db3a7c1baa41f423a23e8f31.txt" and the app will automatically open and save these files from the choose directory.

You can also set an optional password to encrypt the file name and the file details to make it unreadable by other apps. You can set the password for each 25 word phrase vault and that password will encrypt all transaction file names and the transaction file details for all transactions from that 25 word phrase vault.

With the files being stored in a directory of the users choice, the user can easily backup and restore their transaction notes by copying and pasting the files or folders of files. And users can optionally use other apps like Syncthing to sync these files to other devices or use cloud storage apps like Nextcloud to backup and sync transaction notes.

Such a feature will allow for private notes of your transactions and the freedom to do whatever you want with them with encryption for storage privacy. Also these notes can be edited unlike blockchain transaction notes which are permanent and these transaction notes will help one tell them what each transaction of theirs is if they keep notes and have hundreds of transactions.