Solo Mining LiteCash on Windows

Litecash, Mining

 

So you want to solo mine LiteCash? Check out the step-by-step instructions below. You should be familiar with the Windows command line interface.

We tried to make the instructions as simple as possible. If there are any improvements you feel we can make please feel free to comment on this post or let us know on Telegram, Discord, or Reddit!


Creating and Installing Certificates

  1. Go download OpenSSL and install it (use defaults).
  2. Navigate to C:\Program Files\OpenSSL-Win64\bin and right click openssl.exe and select “Run as Administrator”
  3.  At the OpenSSL prompt paste the following:
    1. req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout stratum.key -out stratum.crt
    2. Press Enter
  4.  Fill in the requested information. The important part is the common name (name of the pc running the miner and node)
  5.  Go back in to C:\Program Files\OpenSSL-Win64\bin and you will find stratum.crt and stratum.key. Remember this for later.
  6. Right click on the certificate.crt file and select Install Certificate
  7. Follow the prompts on the certificate import wizard as show below.
    1. Now right click the start menu, select run, and type in “certmgr.msc”
    2. This opens up the Windows certificate manager. Under Personal > Certificates you can see the newly installed certificate.

Download and Install the Wallet

  1.  Now that you have the certificate click here to download the LiteCash wallet CLI (command line interface). Be sure to choose the 64bit or 32bit depending on the architecture of your OS. We need this as it requires a full node with a custom configuration to work.
  2.  Now extract the zip file you just downloaded to your location of choice (it doesn’t really matter where). 
  3.  Now open a command prompt (right click on the start menu, select run, type in CMD, and press enter)

Initialize A New Wallet and Generate A Permanent Address

  1. In the command prompt window, navigate to the folder you extracted the wallet to. You will see all the files you need to get the node and wallet running.
  2.  To initialize the wallet type the following and hit enter 
    1. litecash-wallet --command=init
    2. Choose a password and then confirm it
    3. Write down the seed phrase and make sure you secure it. This is the only way you can recover the wallet in the event of any issues.
    4. Note – A wallet address is generated but we will not use this one as it expires after 24hrs.
  3.  Now we need to generate a permanent address so that we can continue to mine to the same address and not have to worry about it expiring and losing mining profits.
    1. Type  the following at the prompt.
      litecash-wallet --command=new_addr --expiration_time never

      It will ask you for the password you created in step 2.

    2. To verify the new address type the following.It will ask for you password again.
      litecash-wallet --command=address_list
    3. Make note of the address that is set to never under expiration date.

Get the Owner and Miner Key From Your Wallet. The owner and miner key will be used in the node configuration file. 

  1.  At the command prompt run the following. Make sure to copy this key.
    1. litecash-wallet --command=export_owner_key 
  2. At the command prompt the following to get your miner key. Make sure to copy this key.
    1.  litecash-wallet --command=export_miner_key --subkey=1

Set up and configure your local node.

  1.  In the same directory as you extracted the wallet to earlier, fine litecash-node.cfg. Open this in a text editor (notepad, notepad++, etc).
          1.  
          2. Find the line in the file that says something similar to below. 

            # port to start server on
            # port=10000

          3. Uncomment the line port =10000

            # port to start server on
            port=10000 

          4. Now find the line that says the below: 

            # number of mining threads(there is no mining if 0)
            # mining_threads=0

          5.  Uncomment the line for mining_threads set the value to 8 (or less if your have less threads available on your CPU) and add verification_threads=8 (or less if your have less threads available on your CPU).  

            # number of mining threads(there is no mining if 0)
            mining_threads=8

            verification_threads=8

          6.  You will also need to make sure your note is pointing to a seed node so it can update itself with the blockchain information. 

            # nodes to connect to
            peer=explorer.lite-cash.com:10000
            peer=ca1.lite-cash.com:10000

          7. Now find the below and fill in the information accordingly, using the owner key, miner key, and key password (if you set one). Make sure to remove the # mark at the beginning of each line as below.

            # Owner viewer key
            owner_key=<owner key here>

            # Standalone miner key
            miner_key=<miner key here>

            # password for keys
            pass=<password here>

          8.  You will also need to set up a port so that your miner can connect to the node. Look for the line that starts with stratum_port and set the value to whatever you like. 11001 is just an example.

            # port to start stratum server on 
            stratum_port=11001

          9. Now find the line that starts with stratum_secrets_path, configure it as the following and then copy stratum.key and stratum.crt  and place them in the same directory that you have the wallet and node files in.

            # path to stratum server api keys file, and tls certificate and private key
            stratum_secrets_path=.

             

          10. Here is an example litecash-node.cfg file.
          11.  Now that you have the configuration file completed you can either run the node from the command prompt by typing in litecash-node.exe or double clicking the .exe in Windows explorer.
            1. Take note that this node will need to fully sync with the blockchain before you can continue to the next step. As you are synching you will see messages in the terminal screen that indicate your progress.

Download and configure the mining software.

  1.  Go to Gminer’s GitHub page and download version 2.33.
  2. Extract this file wherever you like. 
  3.  Open the gminer folder and find the mine_beam.bat file. Rename it to mine_cash.bat (or whatever you want to). 
  4. Open the file in a text editor and edit it like the below. Make sure to specify the port that you configured as stratum_port previously. Also replace <address> with the wallet address you previously created. 
    miner.exe --algo beamhashI --server 127.0.0.1 --port 11001 --ssl 1 --user <address> 
  5.  Now you can double click on the .bat file that you just created. If all is well and the configuration is correct, you will see the below. 

Point your wallet to your local node. 

  1. Open litecash-wallet.cfg in your text editor and find the line that starts with node_addr= and change it to the below.

    node_addr=127.0.0.1:10000


LiteCash requires your wallet to be “always on” to receive coins you will want to go back in the command prompt (to your LiteCash wallet directory and type in the following: 

litecash-wallet.exe --command=listen

As long as you leave this running in a terminal, the wallet will remain on to receive any coins that you have mined.


How to check your balance! Run the below command at the command prompt:

litecash-wallet.exe --command=info


As noted above let us know if there is anything missing or any improvements we can make!

~ The LiteCash Team

 

A Reminder About Privacy & Scammers

Litecash, Press Releases, Privacy

Dear friends,

It’s come to our attention that Litecash was mentioned in a recent Dollar Vigilante video in a less than flattering light, and we’d just like to clear up a few myths that seem to be floating around right now as a result!

We have learned that Litecash may have been talked about in a Telegram group falsely pretending to be the Dollar Vigilante a few days ago. We have no association with any such groups, so we are not aware of what may or may not have been said.

We do feel however, that if Litecash has been mentioned in any other groups than our own, it’s testament to our growing community and the enthusiasm that many people share for LiteCash and its potential for future growth.

We are very proud of our supportive community and we hope it will continue to grow, as more and more people learn about the speed, privacy and convenience of using Litecash for day to day transactions.

Unfortunately the internet is full of people who will try to scam you out of your hard earned money, and we would always recommend that you take proper steps to verify who you are talking to, and never give out your private keys, bank details or any other personal information that could be used by persons with nefarious intent.

We will never contact you or ask for money or any personal information.

Our official channels are as follows:

Twitter: @litecashpr

Telegram: https://t.me/litecashgroup

Discord: https://discord.com/invite/kga9sgg

Reddit: https://www.reddit.com/r/OfficialLiteCash/

Flote:  https://flote.app/user/LiteCash

Official Website: https://lite-cash.com

 

– The Litecash Team!

See the LITE: Cash 2.0 & the Importance of Privacy

Litecash

The main purpose of cryptocurrency is to be independent of central banking; to become one’s own personal bank. Only the holder of crypto should know the activity of their bank and the assets they hold.

Unlike traditional fiat currency, crypto assets should be utilized at any amount and frequency the holder sees fit, without any banking or government authority granting approval. Physical cash is becoming a thing of the past. In this digital age, computer code runs the world. And with that, surveillance invades even the most mundane aspects of an individual’s life; be it by government or hacker. As a result, there is a pressing need to implement tools and protocols that protect the right to privacy and anonymity of all people, not just the elite of the world.

Physical cash provides a level of privacy and anonymity, but as it fades away, there needs to be an adaptation and evolution. That is where private cryptocurrency comes in the picture, providing solutions for a rapidly changing world. “Privacy Coins”, although still in their early stages, are the future of value exchange. Litecash being one of them. What is Litecash? “Private, fast, simple, useful!”

**FIAT IS DEAD**

Litecash, using the BEAM version of MimbleWimble, is a second generation blockchain protocol with improved speed and security. Beam without the corporate face.

    • no pre-mine
    • no dev tax
    • current supply is 220/722m
    • Tx fees are very low (negligible)
    • Block time is 1 minute
    • Uses dummy addresses in every transaction that make the IP packet sniffing attack unviable
    • Temporary transaction addresses are set to expire in 24 hours
    • Wallets need to be online (user logged in)
      in order to transact
    • If $CASH is sent to an invalid wallet, funds will not be lost and returned in 12 hours

MimbleWimble only saves the start and end address in the blockchain so it is much smaller than other blockchains. Being lightweight makes running a full node mobile client more practical. An independent Litecash wallet fitting on a mobile device, allows the holder to have access to their “independent bank” 24/7. Private, secure, and at the ready when ever transacting is necessary.

– The Litecash Team!