It occurs to me that people may still have their coins on MintPal and need an Emoticoin wallet to withdraw to. Or maybe you just want something more powerful than the windows gui client. To set up your own command line Linux EmotiCoin wallet online, here is a simple how-to:
- Google for a Digital Ocean promo code. Usually you can get $10 off.
- Sign up here for an easy to use VPS: https://www.digitalocean.com/
- Create a $5/month droplet for Ubuntu 14.04 x64
- Sign in as root with ssh (PuTTY for example), and paste in the following code:
sudo fallocate -l 4G /swapfile;sudo chmod 600 /swapfile;sudo mkswap /swapfile;sudo swapon /swapfile; sudo echo "/swapfile none swap sw 0 0" >> /etc/fstab
echo 'export EMOTICOIN=$HOME/emoticoin/src' >> .bashrc
export EMOTICOIN=$HOME/emoticoin/src
echo "alias stop_make='cd $EMOTICOIN; ./emoticoind stop; make -f makefile.unix'" >> ~/.bashrc
echo "alias start_tail='cd $EMOTICOIN; ./emoticoind -daemon; tail -f ~/.emoticoin/debug.log'" >> ~/.bashrc
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y libboost-all-dev libminiupnpc-dev miniupnpc make libdb++-dev git tmux g++ libssl-dev pwgen
The first line gets you a swap file so you won't run out of memory while compiling. The rest of it is aliases and installing dependencies. Now type
tmux
so that you will have a tmux session going. Then use this snippet to grab the source, compile it, and create a simple emoticoin.conf:
git clone https://github.com/emoticoiners/emoticoin
stop_make
mkdir ~/.emoticoin; echo "rpcuser=emoticoinrpc
rpcpassword=`pwgen -s 44 1`">~/.emoticoin/emoticoin.conf
start_tail
Now you will be watching it boot up and sync with the network. Since we used the emoticoiners fork instead of the official repo, we should have good seeds for it to bootstrap the network with. When you get bored of watching the logs, you can ctrl-c to get out of this live view of the debug log, or hit ctrl-b c to create another tmux window (google tmux for more info on how to switch between tmux windows and so forth). In either case, you will end up in the emoticoin/src directory. You can type
./emoticoind help
for a full list of command line api calls.
Since it is in a tmux session, if you disconnect you can always use
tmux attach
to get back to it.
If you have a windows gui client, you can export your private keys (I forget how) resulting in a long string starting with an M. To add this to your linux wallet, use ./emoticoin importprivkey
If you want to output a private key (e.g. to print out in case your wallet crashes, or migrate your coins to a different wallet without a transaction), use ./emoticoind dumpprivkey .
Addresses in emoticoin start with a 6, currently, due to a typo in the original source. I know how to change the code to allow it to start with an E instead, however there is a risk of wallet corruption if people upgrading don't know what they are doing. So instead my plan is to provide a tool that acts as an overlay without affecting wallets. This gist shows how the basic transformation can be done with a nodejs library called coinstring (from the cryptocoinjs project).