fcl-js icon indicating copy to clipboard operation
fcl-js copied to clipboard

FCL Wallet Discovery -- Filtering

Open orodio opened this issue 3 years ago • 1 comments

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"])

orodio avatar Mar 23 '21 17:03 orodio

@chasefleming Discussed adding this filtering based on self-assigned capabilities

gregsantos avatar Apr 18 '22 22:04 gregsantos