Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add custom network in the new UI wallet version #179

Open
tropicar opened this issue Jul 26, 2022 · 0 comments
Open

How to add custom network in the new UI wallet version #179

tropicar opened this issue Jul 26, 2022 · 0 comments

Comments

@tropicar
Copy link

I am a dappnode developer, we had the UI-wallet connect automatically to the node you can install in dappnode.
How you can define in the code a custom network in the file constans.ts? I tried to modify the default but it overrides it. So, How is possible to add a custom network from the code, to avoid the user having to add a custom network.

export const MainnetConfig = new AvaNetwork(
  "Mainnet dappnode node",
  "http://avalanche.avalanche.public.dappnode:9650",
  1,
  "https://explorerapi.avax.network",
  "https://explorer-xp.avax.network",
  true
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant