Setting up the network is fast and very easy. It allows your computer to connect to the Garlicoin Network.
First, you will need to download the latest release for linux here as well as the quick start files here. Use the latest Garlicoin-x86_64-unknown-linux-gnu.tar.gz for any 64 bit system. Once that is done, open the files and extract all of their content into a folder.
Navigate to your Garlic folder using
Once that is done, run the command:
./garlicoind in a terminal.
The program will not say anything, let it sit in the background. Do not close it.
You will have to run this any time you wish to use your wallet (or when solo mining).
Back to your Garlic folder, there should be a file called
garlicoin.conf. This file needs to be moved to the
.garlicoin folder found in your home directory.
Just to be sure that everything was done correctly. Close your Network connection by holding Ctrl + C. in the terminal where you started it, or by closing that terminal. Now repeat Step 2, you should be good to go.
While keeping your network terminal open, open a new terminal.
Navigate to your Garlicoin folder and type
This command displays information about the blockchain you have downloaded, the
blocks value at the top is the number of blocks that has been recieved. You can run this command a few times to check the status. Once it hits the value here your blockchain sync is complete.
Once you have gotten the Network up and running, you will need to get a wallet address.
Open a Terminal and navigate to the garlic folder again.
In the terminal, type this command:
This should return a series of letters and numbers. This is your address. Make sure that you copy it and keep it somewhere.
Whenever someone wants to pay you, you can send them this address
By default your wallet is created in your home directory in
To make sure that you have done everything right (or to view your balance), you can type:
./garlicoin-cli getwalletinfo in a terminal while the network is running.
This should give you information about your balance, wallet, when your last transaction was...
Sometimes, the wallet app can fail and corrupt the wallet. If you wish to back it up before that happens (in order to recover it in case it does break), follow these steps:
In a terminal (while the network is running), type the command:
./garlicoin-cli backupwallet <path>.
This will save a
wallet.dat file in at the given path. If your wallet ever gets corrupted, navigate to this folder:
~/.garlicoin/ and overwrite the
wallet.dat file inside the folder by the backup one.
If you ever wish to send Garlicoin to someone. You can use this command
./garlicoin-cli sendtoaddress <address> <amount>.
That's it! You are done!