-
Notifications
You must be signed in to change notification settings - Fork 88
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
BTC fees estimations displaying per kilobyte #710
Comments
some infos from me:
|
So as we've found out in discussion with @artemii235 it's kind of UX bug - |
@tonymorony Thanks for your comment! To calculate the expected fee more precisely we need to know the amount to be traded so |
Could someone tell me, when the |
GUIs call the
If an address has an insufficient balance, then we should return an error. It will be quite unclear to return the I think we can add the Let's keep |
@sergeyboyko0791 Could you please document the new |
I'm working on it already :) |
Nice! Please also add the deprecation warning to the |
as a user faced no-go BTC<->X swaps problem, BTC tx fees from estimatesmartfee are way to high if compare with average tx fee:
What is 15$ per transaction, but according to https://bitinfocharts.com/comparison/bitcoin-transactionfees.html or https://txstreet.com/ avg. fee is ~3-5$ at the moment, what is few times less (segwit fees are 30-40% lower afaik so it might be the case partially)
btw according to that issue this call might have bugs: bitcoin/bitcoin#11800
BTC fees calc is quite complicated matter as I understand (after reding https://bitcointechtalk.com/an-introduction-to-bitcoin-core-fee-estimation-27920880ad0 and https://scholarworks.sjsu.edu/cgi/viewcontent.cgi?article=1637&context=etd_projects https://bitcointechtalk.com/an-introduction-to-bitcoin-core-fee-estimation-27920880ad0)
It's reflections mostly, unlikely it's possible to get BTC fees some trustable way (maybe from oracle?). Therefore we getting fees for ETH from API (gasstation) :)
My only idea on how to improve that without API usage is "custom tx fee" for BTC txs in trades which expereienced users might set similar as it's possible to set for withdrawal calls.
Most practical solution imo is to use some BTC pegged asset for such BTC applications as atomic swaps. There is https://wbtc.network/ for example, but funny thing is that now avg. ETH tx fees almost on the same level with BTC avg. tx fees (but since we getting it from gasstation it's 4-5 times lower than for BTC fees atm in adex)
The text was updated successfully, but these errors were encountered: