Skip to content

Conversation

@hiendv
Copy link

@hiendv hiendv commented Jan 23, 2025

This PR allows walletsListConfiguration to be customized with excludeWallets. It mainly serves the purpose of hiding unsupported or unwanted wallets when connecting.

Exclude wallets

Pass wallet names to be excluded from the wallets list. Passed names will be used to filter out any wallet to be hidden.

Since the filtering with excludeWallets is processed last when applying wallet configuration, it should take precedence over includeWallets.

tonConnectUI.uiOptions = {
    walletsListConfiguration: {
        excludeWallets: ['xtonwallet']
    }
}

@hiendaovinh
Copy link

CC @thekiba

@Pasha8914
Copy link

@oleganza @ilyar @thekiba Any reaction?

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

Successfully merging this pull request may close these issues.

3 participants