Scala CLI Wallet Guide

User Avatar
MasterMind 4 min read · December 30, 2023
Share this article

The Scala Command-Line Interface (CLI) Wallet, scala-wallet-cli, is a console program designed to manage your Scala coins. Similar to Monero, Scala separates the blockchain handling into scalad and the account management into scala-wallet-cli.

Note: The CLI wallet is intended for more advanced users. If you are looking for a more user-friendly option, take a look at the different wallet applications that we provide here.

Step 1: Download binaries

To send and receive XLA, you need the Scala wallet and binaries.

  1. Download the latest files as separate zip files or packaged zip file here: https://github.com/scala-network/Scala/releases
  2. (for Windows) Extract the files to a convenient location such as C:\Documents\Scala.

Step 2: Synchronize with the network

Before accessing your Scala wallet, you need to synchronize with the Scala blockchain and make sure you are positioned at the latest block. The blockchain handling and the wallet are separate programs. The application handling the blockchain operations is called a “daemon”.

There are two options available to make sure the CLI wallet can communicate with the Scala network: local daemon or remote daemon. Note that we sometimes use the term “node” to refer to a daemon. To learn more about remote nodes, take a look at this article.

In simple terms, if you want more control and privacy over your operations, it is better to use a local daemon, but if you prefer simplicity it is better to use a remote daemon.

Option 1: Local daemon

Let’s see how to run and sync the Scala daemon on your local machine.

  1. Go to the folder where you downloaded the Scala binaries. Make sure you unzipped the files first.
  2. Locate the file scalad.exe in this folder and run it.
  3. Let the process run in the background. If it’s the first time you run the daemon, it can take some time, but it’s completely normal. Check the image below.
  4. When the process reaches 100%, the console will show the message “You are now synchronized with the network. You may now start scala-wallet-cli.”. Check the image below.
  5. Leave the scalad.exe application running in the background. Don’t close it: you need it running to use the CLI wallet.
Step 3: Scala daemon syncing
Step 4: Scala daemon synchronized

Option 2: Remote daemon

If you prefer connecting to a remote daemon, you don’t need to do anything to synchronize with the network, as all this process is done for you by the remote node operator. What you need to do is tell the CLI wallet to use the remote daemon instead of the default local one.

The easiest way to do it is to pass parameters to the scala-wallet-cli application.

Windows

  1. Go to the directory where the Scala binaries are located. For example, C:\Documents\Scala.
  2. Create a new text ile and give it a name, for example “remote-scala-cli-wallet.txt”.
  3. Edit the content of the file and add the following text: “start scala-wallet-cli.exe –daemon-address remote.one.scala.network:11812”.
    Note: You can use any supported remote node you want. Check the image above.
  4. Save the file and change the extension from “txt” to “bat”. Check the image above.
Step 3: Remote CLI wallet batch file content
Step 4: Remote CLI wallet batch file

Step 3: Run the CLI wallet

Local daemon

  1. Make sure that the scalad.exe process is still running in the background and that it’s completely synced.
  2. Execute the “scala-wallet-cli.exe” application.
  3. Go to the Common Steps section below.

Remote daemon

  1. Execute the remote-scala-cli-wallet.bat batch file you created in the previous steps.
  2. Go to the Common Steps section below.

Common Steps

  1. To create a new wallet, simply enter a name, and specify a password and the desired language. Check the image above.
  2. ⚠️ Important: Locate the 25 seed words and save them somewhere safe. This is very important as it is the only way to recover your wallet.
  3. Bravo! You can now start using your wallet. Check the commands below to help you get started.
Common Step 1: CLI wallet creation process

Commands Overview

You can access a list of essential commands by running:

  • help: Show available commands.
  • help <command>: Display documentation for a specific command.
  • apropos <keyword>: List commands related to a keyword.

Wallet Operations (scala-wallet-cli.exe):

  • wallet_info: Display the main wallet address and other information.
  • balance: Show the wallet balance.
  • address all: List all wallet addresses.
  • address new [<label>]: Generate a new subaddress.
  • transfer <address> <amount>: Send XLA to a specified address.
  • show_transfers [in|out|pending|failed|pool]: Display transaction history.
  • sweep_all <address>: Send the entire balance to another wallet.
  • seed: Display the 25-word seed for wallet recovery.
  • refresh: Synchronize wallet with the Scala network.
  • status: Check the current wallet status.
  • version: Check the Scala software version.
  • exit: Exit the wallet.

Mining Operations (scalad.exe):

  • start_mining <threads>: Start solo mining with a specified number of threads.
  • stop_mining: Stop mining operations.

Recent Posts

Past, Present, and Future of Scala

Hey guys, Hayzam here. When I first started Scala (formerly Stellite), I was just 18 years old, fresh out of […]

Read more

CEX vs DEX in the Scala Ecosystem

Introduction The world of cryptocurrency trading offers a myriad of possibilities, and at the heart of this dynamic landscape are […]

Read more

Scala’s Remote Nodes: Navigating Privacy and Accessibility

In the realm of Scala, a node operating separately from your local machine is aptly termed a “Remote Node.” Scala’s […]

Read more

Join the Scala community