paltalabs / soroban-react

@soroban-react is a simple, powerful framework for building modern Soroban dApps using React.
https://soroban-react.paltalabs.io/
Apache License 2.0
26 stars 13 forks source link

fix lobstr isConnected method #96

Open abstract829 opened 5 days ago

abstract829 commented 5 days ago

lobstr has hardcoded 'true' in the isConnected method


 return {
    id: 'lobstr',
    name: 'Lobstr',
    iconUrl: 'https://stellar.creit.tech/wallet-icons/lobstr.svg',
    iconBackground: '#fff',
    // TODO: Check this
    installed: true,
    downloadUrls: {
      browserExtension: 'https://lobstr.co/',
    },
    isConnected(): boolean {
      // should be Promise<boolean> to use isConnected() from lobstr api
      return true
    },
    ....```