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