Veil-Project Mining Guide: In-Wallet Miner

Ohcee
VEIL-Project
Published in
5 min readMar 22, 2024
veil-project.com

Welcome to the Veil-Project Mining Guide series. In this first part we’ll focus on leveraging the in-wallet miner to jump-start your mining journey using Sha256D and RandomX.

Following this, we’ll dive into installing a mining proxy for ProgPow and RandomX solo mining, expanding your mining capabilities. Let’s get started!

In-Wallet Miner

Before beginning mining, ensure your Veil core wallet is fully synced with the network. A fully synced wallet is crucial for mining.

Mining SHA256D with the Veil core wallet:

  1. Access Mining Tab: Once your wallet is synced with the network, navigate to the mining tab located within the menu panel on the right side in the wallet.
Mining tab open while mining Sha256D

Configure Mining Settings: Within the mining tab, you can adjust your mining settings. See below for set up.

Click the arrow down to select the mining algorithm.

Select SHA256D as the algorithm for mining from the menu choices. Then press the Update Algorithm button.

Selecting Sha256D.

Choose the number of threads you want to use for mining. The thread count will vary depending on your CPU. It’s recommended to leave at least 2 threads open. One for keeping the wallet synced with the network and another if you are staking with the wallet.

Choose number of threads you want to use for mining.

Initiate Mining: Once configured, initiate mining directly from the mining tab interface. The wallet will utilize your system resources and begin to mine.

Press Start Mining to being mining.
Mining active.

You can also check the mining status by using the command below in the debug console.

getmininginfo

Monitoring and Rewards: You can monitor your mining progress and rewards within the wallet. The approximate hashrate is displayed for you in the mining tab to keep track of your hashrate.

Arrow pointing at hashrate display.

Rewards will show up in your transaction history.

Successfully mined Sha256d blocks.

Reminder that mined Veil comes in Basecoin and it is recommended to convert the mined Basecoin to RingCT before minting to stake.

Mining RandomX with the Veil Core Wallet:

Mining with RandomX algorithm using the Veil core wallet follows a similar process to mining with SHA256d. However, there’s a key distinction in selecting the RandomX algorithm from the menu. Here’s a step-by-step guide:

  1. Access Mining Tab: Open your core wallet and navigate to the mining tab, located within the right side menu of the wallet.
  2. Configure Mining Settings: Within the mining tab, instead of selecting SHA256d, this time choose RandomX from the algorithm menu.
  3. Initiate Mining: Once you’ve selected RandomX as the mining algorithm, and chosen the number of threads you will be using proceed to initiate mining directly from the wallet interface. Your CPU will now be utilized to mine blocks using the RandomX algorithm.
  4. Monitoring and Rewards: As with SHA256d mining, you can monitor your RandomX mining progress and rewards directly within the wallet interface. Keep track of your hashrate and accumulated rewards as you contribute to the network.
  5. Switching Algorithms: If you wish to switch between mining algorithms, remember to stop the miner first. Then, select the desired algorithm from the menu and click “Update Algorithm” to apply the changes.

RandomX vs. SHA256d Using the In-wallet miner:

When utilizing the in-wallet miner of the Veil core wallet, you have the flexibility to mine both RandomX and SHA256d algorithms using your CPU. While the process of initiating mining remains the same for both algorithms, there are key differences to consider.

Similarities:

  1. In-Wallet Miner: Whether you’re mining RandomX or SHA256d, you’ll access the mining tab within the Veil wallet and configure your mining settings accordingly.
  2. CPU Utilization: Mining with both RandomX and SHA256d utilizes your CPU’s processing power. This means you can engage in mining operations without the need for specialized mining hardware, such as ASIC miners.

Differences:

  1. Algorithm Selection: The primary difference lies in selecting the appropriate algorithm for mining. When mining with SHA256d, you’ll choose the SHA256d algorithm within the mining settings. Conversely, for RandomX mining, you’ll select the RandomX algorithm.
  2. Thread Utilization: RandomX mining typically requires a minimum of four threads for optimal performance. In contrast, SHA256d mining can operate with lower thread utilization, often starting from a minimum of a single thread. Adjusting the number of threads in your mining settings is crucial for maximizing mining efficiency.

Special Note:

  • Unique Opportunity: It’s worth noting that at the time of writing, the in-wallet miner provided by the core wallet is the only known method for mining SHA256d. This presents a unique opportunity for miners to participate in SHA256d mining directly from their wallet interface.
  • ProgPow Mining: While the core wallet offers an option to mine ProgPow, it’s important to note that ProgPow mining is not supported by CPU mining. In the next upcoming article, we’ll explore how to utilize the mining proxy for ProgPow and RandomX solo mining.

With the Veil-Project core wallet’s in-wallet miner, you can harness the power of your CPU to mine both RandomX and SHA256d algorithms. By selecting the appropriate algorithm for your set up and configuring your mining settings accordingly, you are now contributing to the network’s security while earning rewards.

Whether you choose to mine RandomX or SHA256d, always ensure your CPU is adequately configured to handle the specified thread requirements for optimal mining performance. Additionally the flexibility offered by the Veil core wallet, means you can seamlessly switch between mining algorithms based on your preferences and hardware capabilities.

You are now ready to mine with the Core wallet. The next article will cover how to setup the solo mining proxy and solo mining.

Any questions please reach out to the discord or telegram. For FAQ check the help desk.

Cheers,

Ohcee

--

--