anza-xyz / solana-pay

A new standard for decentralized payments.
https://solanapay.com
Apache License 2.0
1.28k stars 447 forks source link

[feature] universal link support #232

Open melonges opened 4 months ago

melonges commented 4 months ago

Motivation: In the realm of mobile applications, universal links, also known as App Links on Android, serve as vital bridges between web content and app functionality. However, many platforms, including Telegram, primarily support HTTP links, creating a disconnect for using Solana Pay.

Implementation: Mobile wallets should register to handle the Universal Link scheme to provide a seamless yet secure experience when Solana Pay URLs are encountered in the environment.

Example:


 https://solanapay.com/ul/<version>/<recipient>
      ?amount=<amount>
      &spl-token=<spl-token>
      &reference=<reference>
      &label=<label>
      &message=<message>
      &memo=<memo>```