whissage (whisper messenger)
The backend of blockchain-based messenger built on ethereum whisper.
Clients:
Run
You need go v1.14 minimum & geth
Private network
more detailed in official wiki
- Creating The Genesis Block
You should change address (alloc) in genesis.json before run!
geth --datadir /path_to_project/whissage/ init genesis.json
- Run geth
bootnode --nodekey=boot.key
geth --rpc --shh --ws --wsapi web3,rpc,eth,net,shh --datadir . --networkid 2
or copy url and:
geth --rpc --shh --ws --wsapi web3,rpc,eth,net,shh --datadir . --networkid 2 --bootnodes enode://you_url
Mainnet
geth --rpc --shh --ws --wsapi web3,rpc,eth,net,shh
or geth --syncmode "light" --rpc --shh --ws --wsapi web3,rpc,eth,net,shh
Run app
go run main.go
or only build go build main.go
License
MIT