1.1.1 • Published 4 years ago

chain-eval v1.1.1

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

Requirement

node 8.9 + (npm support) mongo 3.6 +

Install

  1. mkdir for your application. For example: mkdir /eval
  2. install package. cd /eval
    npm install chain-eval
  3. edit userconfig.json and start eval script. cd /eval/node_modules/chain-eval vim userconfig.json mhost;mdb;muser;mpwd is mongo config scount is thread count for transaction csecond (Millisecond) is timeout to create one account tsecond (Millisecond) is timeout to create one transaction pkey is private key for moac initial account. chmod 777 eval ./eval
  4. edit config.js and start service. vim config.js from is default address to send transaction to is target default address for transaction frompkey is default private key of from
    contractName is test sol name in current folder serverport is service port (if blank means default 8080) eval is moac eval service url config mongourl: is mongo url config docker is docker url config https: 0 // 1:on 0:off node server.js

Update

  1. backup userconfig.json and config.js
  2. npm update chain-eval
  3. check version in package-lock.json and restore config file