CLI Wallet
Last updated
Last updated
The CLI Wallet is an easy-to-use wallet created with developers and advanced users in mind. It allows for fast and intuitive funds management, and it is excellent for generating and managing multiple wallet addresses quickly, without the need added complexity and resource usage inherent from browser extension or desktop wallets.
Encryption: The software generate wallet addresses and encrypts its private key using a user-provided password. The encrypted wallet is saved in a r5.key
file and decrypted once the user provides the encryption password in the software for usage.
Portability: The r5.key
files generated can be transported, transferred, or even sent via email to other users. It is excellent for development teams sharing test-wallets and a very efficient way to handle multiple wallet addresses - each one as one separate file.
Direct Connection: The wallet connects directly to the RPC node for all queries, and support both local and remote RPC connections.
Sending/Receiving Transactions: Sending transactions using the CLI wallet is easy, intuitive, and presented to the user on a step-by-step basis. Gas is calculated automatically but can also be personalised, giving users full control of their transaction parameters.
Private Key Management: The wallet can decrypt and expose the wallet private key using the user-provided password, and you can use it to further extend portability by importing the same wallet in multiple devices for testing purposes.
Direct-query Transaction History: It offers limited transaction history capabilities, being able to query the last 1,000 blocks for that purpose.
Importing Private Keys: The wallet supports importing existing wallet using their private key.
The wallet's UI is primarily focused on utility and fast operation, offering developers uncompromised performance via its CLI interface.
Address: Public key of the loaded wallet.
RPC URL: URL of the current RPC the wallet is connected to.
Block Height: Blockchain block height.
Query Interval: Interval used by the wallet to update balance and block height.
On the main screen, you will have the navigation options below:
Send Transaction
Used to send funds to another wallet.
Refresh Wallet
Manually updates the current block height and balance.
Transaction History
Queries the last 1,000 blocks for send or received transactions.
Expose Private Key
Exposes the current wallet's private key. Use with caution!
Reset Wallet
Wipes the current wallet and creates a new one. You will lose access to the wallet if you don't backup the r5.key file, and this action cannot be undone.
Exit
Exits the wallet.
You can configure a wallet.ini
file to connect to a custom RPC URL and define your preferred query interval. The configuration file is created automatically if not detected when starting. Your configuration file may contain the following parameters:
rpc_address
- The RPC URL to connect to.
query_interval
- Interval of time used by the wallet to refresh balances and block height.
An example of a wallet.ini
file:
When creating a new wallet, you will be asked to provide a password. The system uses that password to encrypt your new wallet's private key, and saves it to a file named r5.key
. This file can be used by multiple individuals and in multiple devices to gain access to the wallet in question.
If you have an existing r5.key
file, all you need to do is to place it inside your CLI Wallet's folder and the system should detect it automatically when starting. You will need the encryption password to be able to use the imported wallet.
An example of the contents of an encrypted r5.key
file:
These are encrypted files, and decrypting and gaining access to the wallet's private key will require the encryption password provided when the wallet was created. However, there are no security requirements for these passwords, meaning that weak passwords such as "123" or "abc" can be easily guessed or "bruteforced". It will be up to the user to make sure they use strong passwords when creating their wallets.