Prerequisites
Before you begin, ensure you have:
- A computer with Linux, macOS, or Windows operating system
- An active internet connection
- Basic knowledge of command-line interfaces
Installation
- Download both the Salvium daemon (salviumd) and CLI wallet from Salvium.io/download
- Extract the downloaded archives to a desired location on your computer
- Open your terminal (or command prompt on Windows) and navigate to the extracted directory
Running the Salvium Daemon
Before using the CLI wallet, you must first run the Salvium daemon:
-
- Navigate to the directory containing salviumd.exe
- Run the daemon:
./salviumd.exe
- You may wish to specify a specific seed, by adding this flag:
salviumd.exe --add-priority-node seed01.salvium.io
Other seeds
seed02.salvium.io
seed03.salvium.io
- Wait for the daemon to sync with the network. This may take some time depending on your internet connection and the current blockchain size.
Using the CLI Wallet
Once the daemon is running and synced, you can start using the CLI wallet.
Creating a New Wallet
- In a new terminal window, navigate to the CLI wallet directory
- Start the CLI wallet:
./salvium-wallet-cli.exe
- When prompted, type
new
to create a new wallet
- Follow the instructions to set a wallet name and password
- The CLI will provide a 25-word mnemonic seed. Write it down and keep it secure; this seed is crucial for wallet recovery
Opening an Existing Wallet
- Start the CLI wallet:
./salvium-wallet-cli.exe
- When prompted, type the name of your existing wallet file and enter your password
Basic Commands
- Check balance:
balance
- Send SAL:
transfer <address> <amount>
<address>
: The recipient’s Salvium address
<amount>
: Amount of SAL to send
- Example:
transfer SALxxxxxx 5.0
- View transfers:
show_transfers
- Exit wallet:
exit
Advanced Commands
- Create view-only wallet:
viewkey
- Create integrated address:
integrated_address <payment_id>
- Change password:
change_password
- Rescan blockchain:
rescan_bc
Troubleshooting
Security Tips
- Keep your mnemonic seed secure and private
- Regularly backup your wallet file
- Use strong, unique passwords for your wallet
By following this guide, you should be able to run the Salvium daemon and use the CLI wallet to manage your SAL securely and efficiently.