Migrating client and core from Linux for MacOS

Finally capitulating to a Mac from Linux after all these years, anyway here are the steps to migrate in case it helps someone.

Install blockstack:
sudo pip install blockstack --upgrade

Here it failed for me due to depedencies

matplotlib 1.3.1 requires nose, which is not installed.
matplotlib 1.3.1 requires tornado, which is not installed.
Installing collected packages: ecdsa, protocoin, simplejson, functools32, jsonschema, six, pycparser, cffi, enum34, idna, asn1crypto, ipaddress, cryptography, utilitybelt, keylib, virtualchain, base58, cachetools, bitmerchant, keychain, jsontokens, blockstack-zones, jsonpointer, jsonpatch, warlock, blockstack-profiles, defusedxml, pystun, scrypt, pyparsing, basicrpc, boto, certifi, chardet, urllib3, requests, dropbox, httplib2, pyasn1, rsa, pyasn1-modules, google-auth, google-auth-httplib2, uritemplate, google-api-python-client, oauth2client, PyYAML, pydrive, onedrivesdk, blockstack
Running setup.py install for protocoin … done
Running setup.py install for functools32 … done
Found existing installation: six 1.4.1
Cannot uninstall ‘six’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Install dependencies and ignore “six” installation:

sudo pip install tornado

sudo pip install blockstack --upgrade --ignore-installed six

Copy you linux .blockstack folder to /Users/username/

run configure:

blockstack-core configure

Edit your client.ini from .blockstack folder, replace all linux path with your MacOS path

e.g replace:

queue_path = /home/username/.blockstack/queues.db
spv_path = /home/username/.virtualchain-spv-headers.dat
subdomains_db = /home/username/.blockstack/subdomains.db

with:

queue_path = /Users/username/.blockstack/queues.db
spv_path = /Users/username/.virtualchain-spv-headers.dat
subdomains_db = /Users/username/.blockstack/subdomains.db

Start core:
blockstack-core --debug start

Start the APIs:
blockstack api start
Enter wallet password:
{
“status”: true
}

Check your APIs are up:
curl http://localhost:6270/v1/ping
{“status”: “alive”, “version”: “0.18.0”}

Install latest browser from https://blockstack.org/install/

Start the browser and restore your account with your secret recovery key.

Voila! back in business.

1 Like