Catcoin and OrangeCat are a cat versions of Bitcoin using scrypt as a proof-of-work algorithm but using the same blockchain parameters as Bitcoin. I've created this port to make installing Catcoin on FreeBSD is very easy. Catcoin is for the original and not the forked version of 1/4/2014. OrangeCat is the forked version.
- FreeBSD 9.1 or later
- About 500 MB free space
- 2 GB RAM to build, 128 MB RAM to run
Catcoin isn't part of the official FreeBSD ports system yet. So you will need to manually download the port information and extract it into your ports tree:
fetch -o /tmp/catcoin.shar http://www.unibia.com/unibianet/sites/default/files/catcoin.shar_.txt
And for OrangeCat
fetch -o /tmp/orangecat.shar http://www.unibia.com/unibianet/sites/default/files/orangecat.shar_.txt
If Catcoin becomes popular enough I will consider submitting it for inclusion in the FreeBSD ports system
This HelpFile will only build the headless version of the Catcoin server. If you want to build the Qt GUI version, you will need to enable that from the configuration screen. Run "make config" and deselect all the options:
Next build and install the port:
Accept all default options for any dependent ports when asked. In about 30 minutes (depending on your computer's speed) the port will be installed.
Configure the Service
Before you can run the Catcoin daemon you'll need to create an admin user, un-comment and set the password in the configuration file /usr/local/etc/catcoin.conf.
Finally enable the service in your /etc/rc.conf file:
echo "catcoin_enable="YES"" >> /etc/rc.conf
You can start the Catcoin service using:
service catcoin start
service catcoin stop
You can specify additional options such as the data directory path (default is /var/db/catcoin) by setting some variables in your /etc/rc.conf file:
The data directory will be created automatically if it does not exist.
Future versions of the port will allow you to specify a user to run it as. For now, if you want to run Catcoin as an alternate user you can follow this tip that was submitted to me for Bitcoin. Just adjust the names and paths as needed:
Edit the rc-script and change the line that starts the daemon to look like this:
su bitcoin -c "/usr/local/bin/bitcoind -conf=/usr/local/etc/bitcoin.conf -datadir=/var/db/bitcoin/ -noupnp -daemon"
This assumes there is a user bitcoin, so make sure of that. This also needs the user bitcoin to have shell-access. So, make sure you set a ridiculous password (you won't ever need it anyway) and make sure you deny the user bitcoin any ssh-access. To do that, edit /etc/ssh/sshd_config and add the line
If you found this useful and would like to show thanks, Send some Catcoins: 9fbXtvCPANTBEkgsNqDZabZc8HbijbQueQ