Post

Generating a cold wallet for Stellar

There aren’t any easy-to.use tools for creating Stellar cold wallets yet, so I’ll do a walkthrough here. I’m doing this from a laptop with an installation of Ubuntu 14.04 (desktop image). The computer has never been connected to the Internet.

I have already attached a printer that fortunately required no extra drivers.

pip

Download pip from https://launchpadlibrarian.net/171402930/python-pip_1.5.4-1_all.deb on your workstation and transfer it to the laptop using an USB stick. You’ll also need these dependencies:

libsodium

Download libsodium from https://download.libsodium.org/libsodium/releases/LATEST.tar.gz and install like this:

$ tar xzf LATEST.tar.gz
$ cd libsodium-0.6.1/
$ ./configure
$ make && make check && sudo make install
$ sudo /sbin/ldconfig

pysodium

Download pysodium from https://pypi.python.org/packages/source/p/pysodium/pysodium-0.6.2.tar.gz and install:

stellar_keygen


Fetch stlelar_keygen.py from https://github.com/johansten/stellar_keygen/blob/master/stellar_keygen.py

Generate the wallet

$ python stellar_keygen.py

You can print keys like this:

$ python stellar_keygen.py | lpr

Retrieving the funds

The best way to retrieve the funds is to sign the transaction offline, but the tools to do that do not seem to be ported from Ripple yet.

This post is licensed under CC BY 4.0 by the author.