بدون توضیح

kunickyd 3b9d0aaea5 add private key for transaction signature 3 سال پیش
.gitignore d84c52edc0 ignore vscode files 3 سال پیش
README.md 604c3c80c0 correction 3 سال پیش
app.js 3b9d0aaea5 add private key for transaction signature 3 سال پیش
package.json 01df3308dc price calculation implemented & new error handling 3 سال پیش

README.md

chain4all-service

How to run:

  1. You need Node installed on your system
  2. Run npm install
  3. Run npm run dev
  4. Enjoy!

Configuration:

You can configure chain4all-service using following enviromental variables:
CHAIN4ALL_SERVICE_PORT - port which should this service use (default: 3000)
IROHA_API_HOST - host address of iroha-rest-api (default: http://localhost)
IROHA_API_PORT - port of iroha-rest-api (default: 5000)
IROHA_DOMAIN - name of Iroha domain, see this (default: test)
IROHA_ASSET - name of asset which should be used for future transactions (default: coin)
DATA_OWNER - name of Iroha user which should recieve payments (default: admin)
PRICE_MODIFIER - price of one area unit (default: 0.5)