Create a wallet
To download Vega Wallet and create your wallet, follow the step-by-step instructions below.
When choosing a Vega Wallet software version, ensure it is compatible with the network version number you're using.
1. Install and run Vega Wallet
Download file
Download and save the vegawallet
zip file from Vega software releases ↗. Keep track of where you've saved the file, because that's where the command line interface will look for it.
- Windows
- MacOS
- Linux
Download vegawallet-windows-amd64.zip
You may need to change your system preferences for this specific instance, in order to run Vega Wallet. If you open the file from downloads, you may get a message from Windows Defender saying it prevented an unrecognised app from starting.
Click on the (More info) text, which will reveal the option to "Run anyway".
Download vegawallet-darwin-amd64.zip
For Macs with an M1 processor (released since November 2020):
Download vegawallet-darwin-arm64.zip
When you open the file, you may need to change your system preferences for this specific instance, in order to run Vega Wallet. If you open the file from downloads, you may get a message saying "vegawallet-darwin-amd64
cannot be opened because it is from an unidentified developer".
Click on the (?)
help button, which will open a window that links you to the System Preferences
, and instructs you how to allow this software to run.
You’ll need to go to System Preferences
> Security & Privacy
> General
, and choose Open Anyway
.
Apple also provides instructions for opening unsigned apps ↗
Download vegawallet-linux-amd64.zip
Antivirus software
If you are running antivirus software, you may need to 'allowlist' or 'whitelist' the Vega Wallet software, so that your antivirus provider doesn't quarantine the software and block you from using it.
Command line guidance
Use the following instructions in command line. Below, you'll see commands in the code blocks for each operating system. Copy those instructions and paste them into your command line interface.
In your command line interface, you can view 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 create -h
will provide information about the create
command.
You'll need to run the commands from the directory you've saved the wallet file in. Use the command pwd
to find out where your terminal is looking in the file system. Use the command cd
and the path/to/wallet/directory to tell the command line where to find the file.
2. Generate new wallet
The steps below will guide you through initialising a wallet, and creating new key pairs or importing an existing wallet.
To restore a wallet from your recovery phrase, see the restore a wallet guide.
Initialise the software
The init
command will initialise the software the first time you use it. This creates the folders and the configuration files needed by the software to operate.
- Windows
- MacOS
- Linux
vegawallet init
./vegawallet init
./vegawallet init
Create your wallet
Next, create a wallet by giving it a name and passphrase.
This step will:
- create your first public and private key
- show your wallet's recovery phrase (save this immediately)
Replace MY_WALLET_NAME
(below) with your chosen wallet name:
- Windows
- MacOS
- Linux
vegawallet create --wallet "MY_WALLET_NAME"
./vegawallet create --wallet "MY_WALLET_NAME"
./vegawallet create --wallet "MY_WALLET_NAME"
It will then prompt you to input a passphrase, and then confirm that passphrase.
Keep your recovery phrase safe and secret. You will need it to import your keys.
Your recovery phrase is only shown once ever and cannot be recovered. DO NOT SHARE YOUR RECOVERY PHRASE.
3. Choose a network
You may need to import network configuration for the network(s) you want to connect to.
Import networks
Import the network's configurations as described below.
To update your networks list, see manage networks for instructions.
Import networks from URL
Use the following command to import from URL.
The URL used below is for mainnet, update the URL if you want to import a different network.
- Windows
- MacOS
- Linux
vegawallet network import --from-url [insert-url]
./vegawallet network import \
--from-url [insert-url]
./vegawallet network import \
--from-url [insert-url]
Import networks from file
Alternatively you can import a network list from a text file. You can use the '.toml' files linked above as a template for your networks list. Use the following command to import from file:
- Windows
- MacOS
- Linux
vegawallet network import --from-file "PATH_TO_FILE"
./vegawallet network import --from-file "PATH_TO_FILE"
./vegawallet network import --from-file "PATH_TO_FILE"
Each network has a default name. You can rename the network using the --with-name
flag.
List imported networks
To see the names of the networks you imported, run the following command:
- Windows
- MacOS
- Linux
vegawallet network list
./vegawallet network list
./vegawallet network list
4. Run the wallet
For applications to be able to talk to your wallet, you will need to run the service. Every time you run the service, you will have to choose which network you need. Choose the network name from the list in step 3.
To choose a network and run the wallet, use the following command:
- Windows
- MacOS
- Linux
vegawallet wallet service run --network "NETWORK_NAME"
./vegawallet wallet service run --network "NETWORK_NAME"
./vegawallet wallet service run --network "NETWORK_NAME"
To terminate the process, if you want to run other commands in Vega Wallet for example, use ctrl+c
.
5. Approve transactions
You will need to use your wallet to approve any transactions that you create for a network running Vega software.
When a transaction is submitted, you will receive a prompt asking if you want to approve the transaction.
Choose y
to approve or n
to reject the transaction.
Pre-approve transactions
Alternatively, you can automatically approve all transactions that are created, by skipping the review, while the wallet is running with the auto-consent flag:
- Windows
- MacOS
- Linux
vegawallet service run --network "NETWORK_NAME" --automatic-consent
./vegawallet service run --network "NETWORK_NAME" --automatic-consent
./vegawallet service run --network "NETWORK_NAME" --automatic-consent
Wallet API
See the Wallet API documentation if you're looking to use the Vega Wallet with a script or trading bot, or want to integrate with the wallet software.