Just like @solana/pay did it. It’s possible to invoke an arbitrary transaction (for example a program instruction) using a QR code and scanning it for example from phantom mobile app?
You can use solana pay transaction requests for this.
With transaction requests, it’s now possible to bring any Solana transaction into the real world through an interactive request.
You can return an arbitrary (doesn't have to be payments related) transaction as part of a transaction request
The flow is documented here: