What is Nostr?
OrangeSurf /
npub18h0…ws8m
2024-09-03 13:38:32
in reply to nevent1q…hu45

OrangeSurf on Nostr: What is happening here? First the user enters their txid. A post is made to the ...

What is happening here?

First the user enters their txid.

A post is made to the accelerator/estimate API which looks up the transactions onchain fee, size and unconfirmed ancestors. It also returns the number of sats to increase the fee rate to the next block estimate!

Next the user enters their bid boost (how many sats they want to add to their transaction bid). The helptext updates automatically to display the number of sats estimated to bump the transaction into to the next block.

On pressing enter / clicking Generate Payment a post is made to the payments/bitcoin API. The response includes the amount to pay and the LN invoice which is rendered as a QR and displayed as text.

If the user changes either input the invoice is hidden.
Author Public Key
npub18h0w55nsp839ezxnggf00jd2xc6yl0ht62mf5p8wwllu8s80wdcs83ws8m