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

Current network is not respected on fiat on-ramp #422

Open
SebastianJ21 opened this issue Sep 5, 2023 · 1 comment
Open

Current network is not respected on fiat on-ramp #422

SebastianJ21 opened this issue Sep 5, 2023 · 1 comment

Comments

@SebastianJ21
Copy link

Description:
No matter the sequence network setting, the network in wallet/add-funds flow is immutably set to Polygon. This is very confusing for users buying funds, because they have to notice and manually change the network.

Expected behavior:
Either a specific setting for the network in the OpenWalletIntent, or use the currently used network (or at least the default)

Example:

const handleFundWallet = () => {
    const path = 'wallet/add-funds'
    const intent: OpenWalletIntent = {
      type: 'openWithOptions',
      options: {
        app: 'My App',
        settings: {
          defaultFundingCurrency: 'eth',
          includedPaymentProviders: ['moonpay', 'ramp'],
        },
      },
    }
    sequenceWallet.openWallet(path, intent) // sequenceWallet = sequence.getWallet() 
  }

This code snippet will always use Polygon as its underlying network, i.e. the preset ETH will be ETH (POLYGON).

@PhABC
Copy link
Contributor

PhABC commented Sep 5, 2023

Thanks for the report @SebastianJ21 !

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

2 participants