Skip to content

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

@tropicar

Description

@tropicar

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
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions