Skip to content

semyon-dev/whissage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Creating The Genesis Block You should change address (alloc) in genesis.json before run!

geth --datadir /path_to_project/whissage/ init genesis.json

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