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:
- Mainnet network (run by validators):
mainnet1.toml
- Fairground network:
fairground.toml
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.
- Windows
- MacOS
- Linux
vegawallet network import --force --from-url https://raw.githubusercontent.com/vegaprotocol/networks/master/mainnet1/mainnet1.toml
./vegawallet network import --force \
--from-url https://raw.githubusercontent.com/vegaprotocol/networks/master/mainnet1/mainnet1.toml
./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.
- Windows
- MacOS
- Linux
vegawallet network import --force --from-file "PATH_TO_FILE"
./vegawallet network import --force --from-file "PATH_TO_FILE"
./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:
- Windows
- MacOS
- Linux
vegawallet network list
./vegawallet network list
./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:
- Windows
- MacOS
- Linux
vegawallet network describe --network "NETWORK_NAME"
./vegawallet network describe --network "NETWORK_NAME"
./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.
- Windows
- MacOS
- Linux
vegawallet network delete --network "NETWORK_NAME"
./vegawallet network delete --network "NETWORK_NAME"
./vegawallet network delete --network "NETWORK_NAME"