fcl-js
fcl-js copied to clipboard
FCL Wallet Discovery -- Filtering
Not all wallets will work for all situations. FCLs wallet discovery should default to the most open and general purpose wallets, limited utility wallets (supports a specific subset of general purpose transactions) should be opt-in as a group, while restricted wallets should be opt-in individually.
Specifying the above configuration should be done via FCLs config mechanism. Maybe something like this:
fcl.config()
.put("discovery.wallet", "https://....")
.put("discovery.wallet.includeLimited", true)
.put("discovery.wallet.includeRestricted", ["restrictedWalletKey", "restrictedWalletKey", "restrictedWalletKey"])
@chasefleming Discussed adding this filtering based on self-assigned capabilities