Skip to content

Feature Request: GetOnRampUrl* express constraints between asset and recipient address #2067

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

Open
pata-eth opened this issue Mar 4, 2025 · 0 comments

Comments

@pata-eth
Copy link

pata-eth commented Mar 4, 2025

Describe the solution you'd like

currently there's a many-to-one mapping between assets and the address to which they can be delivered. In my dapp, a user may elect to buy an asset from a given set, but depending the asset AND the network they may need a different delivery address. That is, I'd like to enforce a one-to-one mapping between the asset chosen and its delivery address.

For example, a user owns 0x1 and 0x2 in base. I'd like to force that WETH can only be delivered in 0x1 and USDC can only be delivered in 0x2.

Describe alternatives you've considered.

No response

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

No branches or pull requests

1 participant