 |
January 19, 2026, 08:47:39 PM |
|
I have been banging my head for a couple of days here.
I want to be able to generate a QR code that is recognised widely by bitcoin wallets, representing a transfer with an embedded onchain message.
At the moment I am using OP_RETURN for this. My code looks good but I am hitting a wall, because no QR code I generate is recognized by wallets like Blockstream Green. I have tried using BIP21 with a message field but if I understood correctly, that does not post the data onchain, and it is a hard requirement that the data is posted onchain - this worked with Green, but I have not tried with others.
Then I have been trying PSBT, but apparently I need the user to provide me with their sender address prior to this to build in this format, which is also a no-go, introduces too much friction in the UI.
What other options do I have? I need something that is widely adopted by wallets in the ecosystem.
|