forked from grazcoin/mastercoin-tools
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathINSTALL
49 lines (39 loc) · 1.22 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
To install a static snapshot
============================
git clone https://github.com/grazcoin/mastercoin-tools.git
cd mastercoin-tools
# download/wget the latest snapshot from http://masterchain.info/downloads/
tar xfz mastercoin-tools-parse-snapshot-*.tar.gz
cd www
firefox index.html
To update static snapshot
=========================
cd mastercoin-tools
git pull
rm mastercoin-tools-parse-snapshot-*.tar.gz
# download/wget the latest snapshot from http://masterchain.info/downloads/
tar xfz mastercoin-tools-parse-snapshot-*.tar.gz
cd www
firefox index.html
Really install
==============
Instructions are for Ubuntu 13.04 and newer
install packages:
sudo apt-get install git python-simplejson python-git
(maybe more)
install sx:
http://sx.dyne.org/install-sx.sh
git clone https://github.com/grazcoin/mastercoin-tools
update ~/.sx.cfg with an obelisk server details
# ~/.sx.cfg Sample file.
service = "tcp://162.243.29.201:9091"
cd mastercoin-tools
mkdir -p tx addr general
# to update with latest transactions:
python msc_parse.py
# validate and update addresses balance:
python msc_validate.py
# copy the results to www directory
cp --no-clobber tx/* www/tx/
cp --no-clobber addr/* www/addr/
cp --no-clobber general/* www/general/