Skip to main content
Version: mainnet (v0.53)

Manage networks

You'll need to import and choose a network to use your wallet to interact with Vega. This page explains the network-related commands within Vega Wallet, and how to use them.

info

You can see a list of available commands by running ./vegawallet -h on MacOS and Linux, or vegawallet -h on Windows. Help is also available for every command, for example: vegawallet network -h will provide information about the network command, and vegawallet network import -h will describe importing a network.

Network URLs

You can use the following network URLs to connect to the mainnet or fairground network through your wallet:

Update networks

At times you may need to force the wallet to update the list of available networks. Below, choose between forcing an update via URL or file.

Update network from URL

Run the following --force command to update to the latest available from your chosen URL, which needs to be a TOML file. See above for links to mainnet and fairground network files.

vegawallet network import --force --from-url "https://raw.githubusercontent.com/vegaprotocol/networks/master/mainnet1/mainnet1.toml"

Update network from file

Run the following --force command to update to the latest available from your chosen file, which needs to be saved as a .TOML. See the files linked in Network URLs for the structure.

vegawallet network import --force --from-file "PATH_TO_FILE"

List networks

To see the names of the networks you've imported, run the following command:

vegawallet network list

Display network configuration

You can display the information that the wallet uses to connect to a network. This includes the API and app hosts.

You'll need to define the name of the network you want to describe. Run the following command:

vegawallet network describe --network "NETWORK_NAME"

Delete networks

If you don't want to connect to a specific network any longer, or you want to clear the configuration, you can delete that network from your computer.

Use the following command to delete a network. You'll need to include the name of the network you want to delete.

vegawallet network delete --network "NETWORK_NAME"