coinbase / coinbase/onchainkit

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

Open
#2,067 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1k
Forks
520
Avg merge
32m
Merged PRs (30d)
2

Description

### 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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.