npm install
npm i -g grenache-grape
grape --dp 20001 --aph 30001 --bn '127.0.0.1:20002'
grape --dp 20002 --aph 40001 --bn '127.0.0.1:20001'
npm start
First argument should be order type, next quantity and finally the price.
node client.js ASK 4 100000
node client.js BID 4 100000
The client receives the updated order book.