Local Node and Solo Mining Guide Windows 10

A step by step video guide for creating a Local Node and Solo Mining.

image203

Verify data.mdb file integrity with FastSum

To ensure you are using the correct file, it is recommended to always confirm the file source md5.

The most recent updated hash value is: C501222031CA50A34CB2DDB2E57F3AF1

Download FastSum

All you will need to do is drag and drop your downloaded data.mdb file in the software and click on the green start button. The process will take a minute or two and will output an .md5 file to confirm the downloaded file is valid against the source.

image204

Windows 10 Safex MainNet Node Guide

Download & Run the windows version of safexd

You will use the safexd exe file to sync with the Safex MainNet, this will take some time if you are going to sync your node from zero. Alternatively you can use a copy of the MainNet Blockchain using the above data.mdb file to speed up the process. 

image205

You may see windows prompts to allow use, click more info and Run anyway.

Once you are synced you are connected and relaying transactions on the safex blockchain as well as allowing other nodes to sync and verify.

image206

Syncing with a data.mdb file - Windows 10

Once you run and shutdown the safexd program a path will be created here "C:\ProgramData\safex\lmdb" for the file that will sync your node with the Blockchain. You will need to delete the data.mdb and lock.mdb file and replace it with the downloaded snapshot of the blockchain. Once the file is replaced you can run the safexd exe again and it will sync alot quicker!

Now you are synchronized with the Safex Blockchain!

image207

You can now also use the CLI wallet now that you are synchronized to create wallets and transact on the Safex Blockchain.

Additionally you can Solo Mine Directly from this node. A solo mining guide is available below. 

image208

Create a folder to Download and run the safexwallet CLI in, and only when safexd is running synced

The next step will be wallet creation using the CLI Wallet

image209

Specify Wallet Name, Password and Language

Once the CLI wallet is started it will prompt the following:

Wallet File Name - Enter any name

Password - create a password

Language - Select the appropriate Language Code from the list provided 

An example is shown above with a wallet created named as Windows10Guide , password creation and the Language code of 1 selected for English

image210

Wallet Address Generation

After setting up your language and hitting enter a wallet Address and keys will be generated. These will be saved to the directory you ran the wallet CLI from. The output above generated the wallet address: Safex5zkwG6QfBRdcU5kVNBqJQpCJKAE5XQVPKKZQxmDGr8PiKg61c1Qgd5pJAK1D1XorFYmY5QaRV9A7H13mXM3fgAbbrHwDUV2f

We will use this to set up the script to mine directly from your synced node.

image211

Solo Mining Safex Cash from your local node

All you will need to do to start Solo Mining is run the following script in the safexd terminal window:

start_mining Safex5zkwG6QfBRdcU5kVNBqJQpCJKAE5XQVPKKZQxmDGr8PiKg61c1Qgd5pJAK1D1XorFYmY5QaRV9A7H13mXM3fgAbbrHwDUV2f 7


The code flow looks like this:

start_mining <addr> [<threads>] [do_background_mining] [ignore_battery]


The example above is Solo Mining using seven threads. You can decrease this number to maintain usability of the computer system you are using or increase the thread number to maximize your hash rate. Enjoy your new Safex Node!