From 03512703fbffdc6d4e16b73aa4e3494bd9c191cf Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Thu, 3 May 2018 15:53:17 -0400 Subject: [PATCH] Small note in readme. Must expand this --- gas-relayer/README.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/gas-relayer/README.md b/gas-relayer/README.md index 13fc8aa..c2e23fc 100644 --- a/gas-relayer/README.md +++ b/gas-relayer/README.md @@ -2,16 +2,11 @@ Gas Relayer implementation for Idea #73 -To execute as a daemon (only on POSIX systems) -``` -bin/gas-relayer start -bin/gas-relayer status -bin/gas-relayer stop -``` - -To execute js file directly +To execute the gas-relayer, you may use node / npm / nodemon ``` node src/service.js +npm start +nodemon src/service.js ``` How to send a message to this service (all accounts and privatekeys should be replaced by your own test data) @@ -29,3 +24,5 @@ shh.post({pubKey: PUBLIC_KEY, ttl: 1000, powTarget: 1, powTime: 20, topic: TOPIC ``` 0x692a70d2e424a56d2c6c27aa97d1a86395877b3afd0dded50000000000000000000000000011223344556677889900998877665544332211000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000011223344550000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000430783030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 ``` + +Before executing this program, `config.json` must be setup. Important values to verify are related to the node configuration, and addresses, and token accepted. \ No newline at end of file