diff options
author | login000 <34250284+login000@users.noreply.github.com> | 2019-11-17 01:50:51 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-17 01:50:51 +1100 |
commit | d327c057e53334b140fdfc59f90922d465ddb112 (patch) | |
tree | 511beec3aa2c11de1e6f80ff5c14a7e92ef5bf5b /README.md | |
parent | a48a9365e3e2245055d2f3ef355fa3ff351db9a3 (diff) | |
download | tcoin-d327c057e53334b140fdfc59f90922d465ddb112.tar.gz |
Minor correction to README
Minor correction to README.md, where the phrase "Program users" was replaced with "Program accounts" in the heading.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md index ad72b59..bd88eb0 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Currency simulator on tilde.town * `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. -## Instructions to create program users +## Instructions to create program accounts 1. Run `b/npcoin a` as the service user in the parent directory of the `tcoin` folder, i.e., if the `tcoin` folder is in directory with absolute path `x`, then run `cd x; b/npcoin a`. Here, `a` is the name of the program account you want to create, and `b` is the absolute path to the `tcoin` repository that contains the `npcoin` script. Program accounts should start with a capital letter (e.g., `My_program_account` or `My-program-account`). 2. Add a line (ending with one newline character) to `tcoin/secrets/pcoin_keys` in the following format (assuming the name of the program is `My_program_account`): `My_program_account <a 64-character random alphanumeric (either all lowercase, or mixed-case will also work) string>` |