Guest User

Untitled

a guest
Jan 7th, 2018
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 KB | None | 0 0
  1. Here are some rudimentary steps compiled from the Discord channel.
  2.  
  3. This allows you to create wallets, send and receive Garlicoin, opens the door for mining, and much, much more!
  4. __________
  5.  
  6. 1). Install home-brew: `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
  7.  
  8. 2). Install Garlicoin dependencies from brew: `brew install autoconf automake libtool libevent pkg-config berkeley-db4 boost`
  9.  
  10. 3). Change directories into one that you want the Garlicoin project to live in and clone the project: `git clone https://github.com/retosen/Garlicoin.git`
  11.  
  12. 4). Change directories into the Garlicoin project: `cd Garlicoin`
  13.  
  14. 5). Run autogen script: `./autogen.sh`
  15.  
  16. 6). Run configuration script: `./configure`
  17.  
  18. * If all goes well, you will see a dump of "Options used to compile and link". Continue.
  19.  
  20. 7). Make and install the project (this will take ~10 minutes): `make && make install`
  21.  
  22. * If all goes well, the project will compile successfully. Continue.
  23.  
  24. * If you see `make: *** No targets specified and no makefile found. Stop.` all is not well. Do not continue. Step 6 has failed. Try and repeat step 6, paying close attention to the error. Bring the error message here or to the Discord channel.
  25.  
  26. 8). Congratulations!! You have set up and built the Garlicoin project. Let's set up a configuration file and start up the server:
  27.  
  28. * Create the Application Support directory for Garlicoin: `mkdir /Users/<YOUR-USER>/Library/Application\ Support/Garlicoin`
  29.  
  30. * Set up your Garlicoin configuration file (NOTE: Change &lt;YOUR-USER> to your user directory): `printf "rpcuser=test\nrpcpassword=test\nrpcallowip=0.0.0.0/0\nrpcport=42070\nupnp=1\nserver=1\ntestnet=1\nlisten=1\ndaemon=1\naddnode=185.185.126.143\naddnode=86.17.122.85\naddnode=52.89.91.13\naddnode=151.230.250.248\naddnode=86.17.164.241\naddnode=92.233.163.178\naddnode=94.224.222.136\naddnode=24.141.22.198\naddnode=51.175.34.47\naddnode=37.33.112.16\naddnode=108.204.153.25\naddnode=68.54.119.120\naddnode=35.225.227.111\naddnode=80.211.208.43\naddnode=74.130.111.152\naddnode=70.106.228.160\naddnode=192.168.1.12" > /Users/<YOUR-USER>/Library/Application\ Support/Garlicoin/garlicoin.conf` This is creating a file inside /Users/<YOUR-USER>/Library/Application\ Support/Garlicoin/ called garlicoin.conf. You can create this file by hand and edit it at any time.
  31.  
  32. * If the above printf still fails due to the file not existing, try and prematurely start garlicoind (step #9). garlicoind will fail with `Assertion failed: (consensus.hashGenesisBlock == uint256S("0x")), function CMainParams, file chainparams.cpp, line 125.` but that is ok. Simply rerun the printf command, allowing it succeed this time.
  33.  
  34. 9). Start the Garlicoin server: `garlicoind`; you should see "Starting Garlicoin server"
  35.  
  36. __________
  37.  
  38. You did it! If you want to set up CPU mining use this: https://www.reddit.com/r/garlicoin/comments/7oscq2/guide_cpu_mining_on_a_mac_once_you_have_already/
  39.  
  40. Paste bin dump: https://pastebin.com/KzxV8eCX
  41.  
  42. Please post errors here or on the Discord channel.
Add Comment
Please, Sign In to add comment