about summary refs log tree commit diff stats
path: root/README.md
diff options
context:
space:
mode:
authorlogin000 <34250284+login000@users.noreply.github.com>2020-07-11 19:13:21 +1000
committerGitHub <noreply@github.com>2020-07-11 19:13:21 +1000
commit85bc184b3a130146babc5d19efa17599cb3b8421 (patch)
treecc4ed58a102cc82ae4fc44b4729e3f91137740a1 /README.md
parenta186f21e690c2804824f46f00ff982d2566b30f4 (diff)
downloadtcoin-85bc184b3a130146babc5d19efa17599cb3b8421.tar.gz
Updated README.md
Updated README.md to include some dependencies for running "ntcoin".
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 61ddbde..288b186 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,8 @@ Currency simulator on tilde.town and other tildeboxes on tildeverse.org
 ## Instructions to get started
 1. Clone the repo.
 2. Create a service user specifically for tcoin.
-2. Run `./ntcoin a b c` as the service user, where `a`, `b` and `c` are defined as follows:
+3. Make sure you have `bash`, `realpath`, `echo`, `touch`, `mkdir` and `g++` available. The source code for `realpath` is provided, in case it is not installed. These are required to run `ntcoin`.
+4. Run `./ntcoin a b c` as the service user, where `a`, `b` and `c` are defined as follows:
     * `a`: the absolute path to the directory (without the trailing slash) where the `tcoin` folder containing all the users' data will be stored (i.e., the script will create the directory `a/tcoin/`)
     * `b`: the absolute path to the directory (without the trailing slash) where the `tcoin` and `pcoin` executables will be located, i.e., all users will have to have `r-x` permissions on `b` so that they can access the executables `b/tcoin` and `b/pcoin`. Please note that `b/tcoin` and `b/pcoin` will have the suid bit set. This means that when they run `b/tcoin` and `b/pcoin`, it will be with the uid of the service user (not their own uid). This is how they are able to send and receive coins only through the executables but not modify the `a/tcoin/` themselves.
     * `c`: an integer number of tildecoins that every user starts with. This is stored in `a/tcoin/base/base.txt`, and for universal-basic-income-style inflation, one can modify `a/tcoin/base/base.txt` using a cronjob. This will increase everybody's coins in real time.