Small note in readme. Must expand this

This commit is contained in:
Richard Ramos 2018-05-03 15:53:17 -04:00
parent 9cd85e6541
commit 03512703fb
1 changed files with 5 additions and 8 deletions

View File

@ -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.