ord icon indicating copy to clipboard operation
ord copied to clipboard

controlling `--postage` with `ord wallet mint`

Open cryptoni9n opened this issue 10 months ago • 3 comments

Is there a way to control the postage when we run ord wallet mint?

Is this just a missing flag, or was it maybe excluded purposefully? Or am I perhaps misunderstanding completely?

C:\Users\nine\ord\target\release>ord --cookie-file "F:\Bitcoin\.cookie" --datadir "F:\Bitcoin" wallet mint --postage 2000 --rune UNCOMMON.GOODS --fee-rate 20
error: unexpected argument '--postage' found

Usage: ord wallet mint --fee-rate <FEE_RATE> --rune <RUNE>

For more information, try '--help'.

cryptoni9n avatar Apr 05 '24 20:04 cryptoni9n

👀

GaloisField2718 avatar Apr 05 '24 20:04 GaloisField2718

👀👀👀👀👀

atul2501 avatar Apr 06 '24 16:04 atul2501

This is a great first issue! Just add a --postage flag to the command and do an unwrap_or on the value of the txout. Then check the dust limit for the address is not underneath

raphjaph avatar Apr 07 '24 22:04 raphjaph