Signed in as:
A step by step video guide for creating a Local Node and Solo Mining.
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.
Once you are synced you are connected and relaying transactions on the safex blockchain as well as allowing other nodes to sync and verify.
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!
Additionally you can Solo Mine Directly from this node. A solo mining guide is available below.
The next step will be wallet creation using the CLI Wallet
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
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.
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!
Support SAFEX Emporium SFX / SFT:
Copyright © 2020 SAFEX Emporium - All Rights Reserved.
Your Feedback is valuable to us!