Show sat/vB and allow user to set fee rate #156
Replies: 5 comments 8 replies
-
@2weiX @davestaxcp I think this is of interest to you as well. If so, please upvote it. |
Beta Was this translation helpful? Give feedback.
-
Hello, The 1/3 effective fee happens when multisig is implied (For all stamps mints, and some other txs). In this case you have to multiply fees by 3. (This is not the exact calculation but it is quite complex to be explained here). NB: Fees selection on mint is not working in this version, it will always get counterparty automatic calculation that is not very accurate for a quick confirmation time. It is fixed but will be up only in next release. see: #166 For the moment, Freewallet is using 265B as basis to calculate the fee amount (eg: high/medium/low). As some transactions can be higher, if you know that your TX will be "bigger", you'll have to send much higher fees. I've built a full wallet for stamps and I managed to provide precise calculation of fees and selectable fee/vB for transactions. Feel free to DM me on TG sn_noop2 if help is needed to update this part. I won't raise a PR as there is no code guidelines and I don't want to write code that will never be merged. |
Beta Was this translation helpful? Give feedback.
-
Here's an another example of the user experience of how fee's are shown in Freewallet. I hope this comment can explain in more simple terms how an average user (like me) will be extremely frustrated for what the wallet shows versus what the outcome of the transaction on the Bitcoin Network. This time I used the new version 0.9.24 and simply sent BTC to myself. https://blockstream.info/tx/86aa109e2766ae04738c1868641203070da4c1817e3949e4971a38c84d5d1cfe The user interface showed this for my transaction: There is an indication of what the High fee setting will be on the simple BTC send I am doing. In this case I am just organizing my UTXO's and sending the MAX amount of BTC to myself. When the user interface in Freewallet showed me a fee that would be 'quick' and work fast... hence the "high" setting.... and then I send a transaction and it doesnt get confirmed fast, I get really frustrated. The transaction on blockstream: As you can see I did more than double the transaction fee (almost triple) that was recommended and was still not enough to get this transaction to be included in a block that will happen soon. It is with my limited understanding, but it seems I have 8 inputs on my address to make this transaction work: In the process of writing this the blockchain has been quite unpredictable: So I understand this is most likely because of the indication of the recent block data beforehand... but what scares me for any new user is that when I input almost triple the fee shown in Freewallet it now put my transaction at a point STILL under the priority for sat/vb The AVERAGE of the last 10 blocks was 22+ sat/vb... and I shouldn't have to triple my fee to reach the average sat/vb From this experience it seems Freewallet is not taking into account how many inputs I will need and is not reflecting that data correctly to the user with limited knowledge, thus causing anger and frustration. This process, feeling and frustration is not just me alone. I know Porkchop has been helping people firsthand for the past week everyday trying to help new users that this happens to. It's burdensome and expensive to fix, especially for a new user just trying things out. This is why we need a sat/vb calculator AND support for explaining UTXO's while possibly having them visible in some manner in the user interface if they are going to be bumping up the recommended fee's. Take into account that I assume 80% of users that experience this issue (with other functions too!) are just going to get mad and consequently get turned off to counterparty and freewallet. Most common users do not seek any help, nor voice their opinion publicly. It's very common even for me to run into this issue personally even after writing an FAQ for 0.9.23 and testing things here. It's really frustrating and I think its the main cause for people all over this community to get "stuck" when buying from a dispenser, consolidating their UTXO's, sending a multi-send and so many other functions. I had to learn about what UTXO's were to even write some of the documentation... why not just show the common user what they are and how it's pumping up fee's? Something like how Electrum shows specific UTXO's... I would rather be writing an FAQ for "Why are the fee's so high on my address?" or "What are UTXO's and how can I see them on Freewallet?" |
Beta Was this translation helpful? Give feedback.
-
Easy step, you can use built in functionnality from bitcoinjs as it is installed.
|
Beta Was this translation helpful? Give feedback.
-
FYI... I already have issues open for revisiting the BTC fees... right now they are based on an AVERAGE send size, not the actual transaction size. Redoing the fee estimation is a high priority item for me, and should get into the next release or two.... However, it requires a complete revamp of the way the wallet works, including doing a pre-flight check to generate the transaction via the CP API to determine the ACTUAL size of the transaction, and then show more accurate fee / sats-per-byte fee information. Here are issues which are open and related to fee esimates Fee Estimation Ability to set fee in sat/b instead of absolute |
Beta Was this translation helpful? Give feedback.
-
People often want to set the fee rate in sat/vB to know how quickly their transaction would confirm and how expensive it is relative to other transactions (regardless of # UTXOs used). The fee rates are shown in BTC and $ but not in sat/vB. Could you add sat/vB display for the fee and allow the user to set a custom sat/vB?
Posting here as per @jdogresorg's request.
Beta Was this translation helpful? Give feedback.
All reactions