ord icon indicating copy to clipboard operation
ord copied to clipboard

fee prepayment leads to stuck funds, when using no-limit option the reveal tx has negative fee

Open A60AB5450353F40E opened this issue 2 years ago • 0 comments

So I did a ./ord wallet inscribe --fee-rate 4.0 --no-limit with a 2,588,256 byte file :)

The wallet made 2 outputs, as you can see here: https://mempool.space/tx/32c5b7732e7d7ef36ce80e74cf7359d7cf0692bf1dcb9704fb5bfbb679801d0c

My mistake was that fee rate was impossible because I didn't have enough balance so I guess it defaulted to 1sat/vb?

But why do you fund the commitment utxo with anything more than dust, wouldn't it be better to use a 2nd input to pay for the fee?

Also, the wallet seems to have generated the reveal TX such that the fee is negative, here's the reveal TX the ord wallet created: https://gist.githubusercontent.com/A60AB5450353F40E/51d4430af6881d827bdb71b8cde26b23/raw/a20f18dbe39e86eacb88be0aa471119160c49e05/inscrtiption1.md

Would be nice if there was a way to customize it:

  • add an extra input to increase the fee
  • reduce the output value

A60AB5450353F40E avatar Feb 11 '23 08:02 A60AB5450353F40E