Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any-chain, any coin request #1263

Open
dcposch opened this issue Aug 11, 2024 · 0 comments
Open

Any-chain, any coin request #1263

dcposch opened this issue Aug 11, 2024 · 0 comments

Comments

@dcposch
Copy link
Member

dcposch commented Aug 11, 2024

Goal

Allow request deeplinks that specify a destination chain.

This allows, for example, 1-tap checkout to a store using Optimism USDC.

Follow up to #1250
Part of #490

Proposed solution

Current requestV1 (untracked) deeplink:

https://daimo.com/l/request/ansgar.eth/4.20/555

Updated:

https://daimo.com/l/request/ansgar.eth/4.20?c=10&t=USDC

Or:

https://daimo.com/l/request?to=ansgar.eth&n=4.20&c=10&t=USDC
https://daimo.com/l/request?to=ansgar.eth&n=4.20&c=10&t=USDC&memo=Media+Luna

...we can update requestV2 later. These are more complex, since they involve onchain tracking of whether a request has been paid. Creating a request onchain, eg on Base, with a parameter that specifies that you want to receive payment on another chain seems incorrect.

For one-tap checkout, all we need is a requestV1 with destination chain and coin prefilled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant