Skip to content

m-abdalrahman/pchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pchat: whisper-chat-example

Running the example

The example assumes that there is a running Whisper v6 node.

example for this, use geth with the following parameters to exposing an RPC interface at URL http://localhost:8545:

$ geth <usual p2p flags> --shh --rpc

--shh is the option that enables Whisper v6 for the node.

--rpc enables the HTTP RPC interface.

Download

download your version from here

Installation From Source

pchat requires Go 1.10.2 or later, dep to managing dependency package and xgo for cross compile.

$ go get -u github.com/m-abdalrahman/pchat

Usage

pchat -username "user" 

mandatory argument:
     -username                     set your username

optional arguments:
     -url                          set RPC URL for running Whisper v6 node default "http://localhost:8545"
     -privatekey                   set your private key

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages