4

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?

1 Answer 1

1

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:

diagram of a transaction request

1
  • UPDATE: I finally implement this and is open source! You can find this at our repo
    – Emberist
    Dec 22, 2022 at 9:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.