Proof of stake, rather than proof of work, allows everyone who has chipped in to receive a piece of the pie.
Follow the steps below to set up your own cloud CLAM digger (i.e. the equivalent of a bitcoin miner) on Digital Ocean
ssh root@<your droplet's IP address> (e.g. ssh [email protected]) in a terminal windowUpdate the dependencies:
apt-get --assume-yes update
apt-get --assume-yes upgrade
Install build requirements:
sudo apt-get --assume-yes install git build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-all-dev
CLAM (and bitcoin, and other cryptocurrencies) rely on Berkeley DB 4.8. Install it:
sudo add-apt-repository ppa:bitcoin/bitcoin -y
sudo apt-get --assume-yes update
sudo apt-get --assume-yes install libdb4.8-dev libdb4.8++-dev
Create a temporary swap file for the current session. This will be cleared when the droplet is rebooted
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
Create a workspace folder to work out of:
cd ~
mkdir workspace
cd workspace
Clone the latest stable source code for the CLAM client:
git clone https://github.com/nochowderforyou/clams.git
Build the code:
cd clams
./autogen.sh
./configure
make
make install
Configure CLAM:
clamd and take note of the passwordsudo nano /root/.clam/clam.conf and paste the following into the file (replacing the password and the email, as appropriate):rpcuser=clamrpc
rpcpassword=<the password you copied earlier>
alertnotify=echo %s | mail -s "Clam Alert" <your email address>
chmod 600 /root/.clam/clam.conf@dooglus created a bootstrap file that can be used to speed up the syncing process:
cd /root/.clam
wget https://s3.amazonaws.com/dooglus/bootstrap.dat
You're ready to go! Start the CLAM client in daemon mode by typing: clamd
I recommend running the client within a tmux session:
tmux
nohup clamd &
This way, if your SSH connection gets terminated, you can get back in with tmux attach
If you'd like to view the progress in another tmux pane:
ctrl+b followed by % (a percentage sign)tail /root/.clam/debug.logNot sure if clamd is still running? Type:
ps aux | grep clamd
You should see something like this:
root 6095 99.8 54.3 2091068 1111256 pts/3 SLl Nov24 1270:34 clamd
root 8605 0.0 0.1 11748 2172 pts/0 S+ 01:26 0:00 grep --color=auto clamd
You should see a line like the first one, with 'clamd' on the right end of the line.
Run clamd help to see a list of command available for use.
clamd getinfo show basic info on your wallet (including total spendable balance)clamd listaddressgroupings - show all addresses with a balanceclamd sendtoaddress <recipient_address> <amount> - send a certain amount of clam counts to a particular recipientclamd getaddressesbyaccount '' - list all your receiving accountsIf you like you can share some coins
Clamcoin Wallet: xJrxY1s6YhyaSR1sv6SVVEnPbytGo78yir