cash2ecash

cash2ecash: cash acceptor that issues digital cash (experimental)
Log | Files | Refs | README | LICENSE

README.md (1093B)


      1 # cash2ecash
      2 This software is meant for use on a system which is designed, to allow users to topup their wallet with cash.  
      3 
      4 **Note:  
      5 This software is currently under developpement. Do not attempt to use it on a system with real customers!**
      6 
      7 # Config
      8 Get a Token for the bank account which transfers money to the User.
      9 The following example is with the demo bank to get a valid token for one day (86400000000 qs).
     10 One has to write its own username and password from the demobank account https://bank.demo.taler.net/webui/ instead of `$USERNAME` and `$PASSWORD`.
     11 ```
     12 curl -X POST https://bank.demo.taler.net/$USERNAME/bank_acc_tellr/token \\
     13   -H "Content-Type: application/json" \
     14   -H "Authorization: Basic $(echo -n '$USERNAME:$PASSWORD' | base64)" \
     15   -d '{
     16     "scope": "readwrite",
     17     "duration": { "d_us": 86400000000 },
     18     "refreshable": false,
     19     "description": "test token"
     20   }'
     21 ```
     22 The recived token is the token for the config.
     23 The token has an expiration date and needs to be renewed.
     24 
     25 # Building
     26 
     27 `export TALER_DIGITIZER_PREFIX=<installation_path>`