Search…
CLI Linux Setup
The beldex-wallet-cli is the “Command Line Interface” wallet software that is used to run Beldex accounts through command prompt or terminal. The CLI wallet only uses text to do operations, where the oki-wallet-gui wallet offers a graphical user interface with buttons to do most of the operations the beldex-wallet-cli does.
Bear in mind that the CLI wallet, while harder to use, is generally faster and more reliable. If you are still interested in the 'beldex-wallet-cli' you can find it here. Download the latest release for your specified Operating System, for this user guide we are going to assume you are running Linux.

Step 1: Opening beldex-wallet-cli and beldexd.

To use the beldex-wallet-cli we must first have the daemon, beldexd, up and running. The beldexd is your node which the beldex-wallet-cli broadcasts through. Without the node running the beldex-wallet-cli will not be able to operate.
Run the beldexd file from the folder you extracted the release.
1
$ ./beldexd
Copied!
Once you run the above command you will get the below message in the terminal
1
**********************************************************************
2
3
The daemon will start synchronizing with the network. This may take a long time to complete.
4
5
You can set the level of process detailization through "set_log <level|categories>" command,
6
7
where <level> is between 0 (no details) and 4 (very verbose), or custom category based levels (eg, *:WARNING).
8
9
Use the "help" command to see the list of available commands.
10
11
Use "help <command>" to see a command's documentation.
12
13
**********************************************************************
Copied!
Let the daemon run until the node is completely synced, you will know the node is synced once the terminal outputs the following text:
1
**********************************************************************
2
3
You are now synchronized with the network. You may now start beldex-wallet-cli.
4
5
Use the "help" command to see the list of available commands.
6
7
**********************************************************************
Copied!
Now the daemon is synced we can run the beldex-wallet-cli file.

Step 2: Setting up your beldex-wallet-cli account.

If this is your first time opening the beldex-wallet-cli it will request for you to specify a wallet name. For the purposes of this user guide we will use the example name MyBeldexWallet
1
Specify wallet file name (e.g., MyBeldexWallet). If the wallet doesn't exist, it will be created.
2
3
Wallet file name (or Ctrl-C to quit): MyBeldexWallet
Copied!
Because this is the first time we have used the name MyBeldexWallet the following text will appear in our terminal. Type in Y or Yes to confirm your wallet name.
1
No wallet found with that name. Confirm creation of new wallet named: MyBeldexWallet
2
3
(Y/Yes/N/No): Yes
Copied!
The beldex-wallet-cli has now generated us a wallet called MyBeldexWallet and is now prompting us for a password for our generated wallet.
Please note:
    When typing the password, the characters will not appear. It will seem as if you are typing and no text is appearing however the terminal is logging every character your clicking including if it is capitalised or lowercase.
    Write down your wallet name and password on a piece of paper as this information will be required every time we want to enter our wallet.
    Use a password with uppercase letters, lowercase letters, numbers, symbols and make the password at least 9 characters long.
1
Generating new wallet...
2
3
Enter a new password for the wallet:
4
5
Confirm password:
Copied!
Now once we have chosen our password for the wallet we must choose our language. For the purposes of this user guide I suggest you use English by typing 1 and clicking enter.
1
List of available languages for your wallet's seed:
2
3
If your display freezes, exit blind with ^C, then run again with --use-english-language-names
4
5
0 : Deutsch
6
7
1 : English
8
9
2 : Español
10
11
3 : Français
12
13
4 : Italiano
14
15
5 : Nederlands
16
17
6 : Português
18
19
7 : русский язык
20
21
8 : 日本語
22
23
9 : 简体中文 (中国)
24
25
10 : Esperanto
26
27
11 : Lojban
28
29
Enter the number corresponding to the language of your choice: 1
Copied!
The beldex-wallet-cli will generate and spit out several lines of text. Some of the information that was outputted will only ever show once, therefore it is very important to do this next section properly otherwise we may lose access to our account, thus losing access to our funds.
Let’s take a close look at each section of the newly generated wallet:
The text after Generated new wallet shows your public address. This address can be shared and will be used to receive Beldex to your wallet. All Beldex public addresses start with b....and are followed with a string of characters. The public address shown will be your primary address however multiple public addresses can be generated from this primary address.
You do not need to write down the public address, the command address will re-display it whenever required.
1
Generated new wallet: bxdXk6eS3Ng98QxDTdC47eNdfCXttJycKraXxfsw9cMVngGUqP3kiSE6cwXoApU6gjzSXVX1ASAPAi1MSXA935XUs1MWEcv9
Copied!
The View key address is not to be shared unless you want to show the transactions received to the public address connected to this wallet. You do not need to write down the view key as it can be re-displayed with the command viewkey.
1
View key: 97d3c27e20818e5e23a6548458b50d4f128a2709c55eb7f9518d0e957a5d2e0d
Copied!
The next few lines of text show how to navigate the beldex-wallet-client.
1
This user guide will look into more detail the commands that can be used within the beldex-wallet-client further in the guide.
2
3
Your wallet has been generated!
4
5
To start synchronizing with the daemon, use the "refresh" command.
6
7
Use the "help" command to see the list of available commands.
8
9
Use "help <command>" to see a command's documentation.
10
11
Always use the "exit" command when closing beldex-wallet-cli to save
12
13
your current session's state. Otherwise, you might need to synchronize
14
15
your wallet again (your wallet keys are NOT at risk in any case).
Copied!
The next section with the random 25 words is your mnemonic seed. The seed is used to easily back-up and restore your wallet without needing any other information. At this stage, grab a pen and paper and write down your 25 words in order(having these words out of order will not restore your wallet) and store the piece of paper in a safe and secure place. If your words are stored in a text file on your computer or stored online, you increase your risk of someone else getting control of your account.
1
NOTE: the following 25 words can be used to recover access to your wallet. Write them down and store them somewhere safe and secure. Please do not store them in your email or on file storage services outside of your immediate control.
2
3
ponies innocent oyster whale autumn knapsack jostle elapse
4
5
inroads joining doorway ticket drying obnoxious algebra tutor
6
7
biplane sack alpine zinger huge duets refer rigid inroads
Copied!
The last of the outputs are the account balance, because your wallet does not have any Beldex in it currently the balance is showing 0.
Once we receive a transaction of Beldex into our wallet the balance will appear as soon as the transaction is confirmed in one block (usually less than 2 minutes). Once the transaction has been confirmed over 10 blocks the balance will show in unlocked balance.
The unlocked balance is the Beldex available to be spent/sent to other addresses.
1
Starting refresh...
2
3
Refresh done, blocks received: 0
4
5
Untagged accounts:
6
7
Account Balance Unlocked balance Label
8
9
* 0 bxdXk6 0.000000000 0.000000000 Primary account
10
11
----------------------------------------------------------------------------------
12
13
Total 0.000000000 0.000000000
14
15
Currently selected account: [0] Primary account
16
17
Tag: (No tag assigned)
18
19
Balance: 0.000000000, unlocked balance: 0.000000000
20
21
Background refresh thread started”
Copied!
Last modified 3mo ago