question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Status wallet fails to request permission when using createModernProviderInterface

See original GitHub issue

I did a bisect and looks like it broken in-between v1.14.0 and v1.15.0.

When I change Status’ interface from:

provider && getProviderName(provider) === 'Status'
   ? createModernProviderInterface(provider)
   : null

to:

interface: {
  name: 'Status',
  connect: () => provider.enable(),
  address: {
    get: () => getAddress(provider)
  },
  network: {
    get: () => getNetwork(provider)
  },
  balance: {
    get: () => getBalance(provider)
  },
}

it works flawlessly again.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
aaronbarnardsoundcommented, Feb 2, 2021

@chuckbergeron This is fixed in version 1.19.1 via PR #491. Thanks @flexsurfer for your help on this one!

0reactions
aaronbarnardsoundcommented, Feb 2, 2021

Ok sweet that should be an easy fix, will take a look and see if we can get this sorted out soon. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently Asked Questions
Status messenger does not use one central server to and from which ... DApps must ask permission to view and use your wallet...
Read more >
EIP-2255: Wallet Permissions System
This provides a standard interface for requesting permissions and checking a domain's current permissions status.
Read more >
The Seal of Approval: Know What You're Consenting To ...
This involves giving the dapp permission to retrieve your wallet address, and is a prerequisite for interacting with the platform.
Read more >
How can I revoke token approvals and permissions on ...
Navigate through the ERC-20, ERC-721, or ERC-1155 tabs until you see the token approval you would like to revoke. Press Revoke to revoke...
Read more >
Issue #2255 · ethereum/EIPs - Web3 Wallet Permissions
This provides a standard interface for requesting permissions and checking a domain's current permissions status.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found