Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Replace addNetwork/addToken/switchNetwork methods #181

@mpetrunic

Description

@mpetrunic

Is your feature request related to a problem? Please describe.

Those methods are relicts of history where dapps couldn't send rpc method calls to force metamask to do this. Flow is now different and we should adapt dappeteer to have methods to accept/reject prompts for adding network, token or switching network.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Replace methods (breaking change), add buttons into our test dapp to add network, switch network and add token.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

Labels

P0Critical. Tacked by core teamenhancementNew feature or request

Type

No type

Projects

Status

Done/Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions