Nessuna descrizione

kunickyd 0116702b5f add cors support 3 anni fa
.gitignore 8bfe1cbbbc convert-to-typescript 3 anni fa
README.md 604c3c80c0 correction 3 anni fa
app.ts 0116702b5f add cors support 3 anni fa
package.json 0116702b5f add cors support 3 anni fa
tsconfig.json 8bfe1cbbbc convert-to-typescript 3 anni fa

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)