iotaledger / iotaledger/evm-toolkit

[Bug]: Error defining custom network when the wallet is connected

Open
#15 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
5
Forks
7
PR merge metrics
No merged PRs in 30d

Description

### Bug description

when wallet is connected, if you try to save a new custom network, it will fail with:
```
: Expected an array with at least one valid string HTTPS url 'rpcUrls', Received:
undefined
```

### Expected behavior

it should disconnect the wallet instead of erroring.

Furthermore:
- There could be a textbox to specify a wasp-api, if that is specified, the wallet should be prompted to switch to that new jsonrpc.

### Can the issue reliably be reproduced?

Yes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.