polkadot-js / extension

Simple browser extension for managing Polkadot and Substrate network accounts in a browser. Allows the signing of extrinsics using these accounts. Also provides a simple interface for compliant extensions for dapps.
Apache License 2.0
968 stars 405 forks source link

Vara Network duplicates #1239

Closed EugenWay closed 1 year ago

EugenWay commented 1 year ago

Hello guys.

The Vara Network. https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.vara-network.io

While we were on the testnet, we restarted the network several times and I think it was determined in Polkadot extension as new by genesis.

Now we have launched the main chain candidate. And can we clean up the garbage networks? The actual genis hash is 0xfe1b4c55fd4d668101126434206571a7838a8b6b93a6d1b95d607e78e6c53763

Снимок экрана 2023-03-24 в 09 56 01
Tbaut commented 1 year ago

This issue is also a duplicate :) Check this answer: https://github.com/polkadot-js/extension/issues/1127

EugenWay commented 1 year ago

@Tbaut Thank you so much for your response. I thought you some somehow scanning all networks from ss58 registry and its metadata. Now I understand that this is a user's problem.

Another question. How do I get into the "DISPLAY ADDRESSES FORMAT FOR" list? Our users are constantly asking how to show all addresses in Vara format (ss58 137). When updating metadata, use their Polkadot.{js} network does not appear in this list.

Tbaut commented 1 year ago

This is yet again not the extension. The info should be passed in the call to update the metadata. You can see it in MetadataDefBase with ss58Format https://github.com/polkadot-js/extension/blob/73ce06f6e4837501e504474c0e64081823b9a4db/packages/extension-inject/src/types.ts#L53

EugenWay commented 1 year ago

@Tbaut So, it is also automatic process. Sorry I don't understand what I should do to add Vara Network to the global list? i mean this one:

Снимок экрана 2023-03-27 в 15 43 24

I found this issue: https://github.com/polkadot-js/extension/issues/1102 In accordance with this, the extension receives all the necessary data from the ss58-registry repo. We are added Vara in October last year, but still is doesn't appears in the extension.

https://github.com/paritytech/ss58-registry/blob/main/ss58-registry.json#L797

thank you for your help.

polkadot-js-bot commented 1 year ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.