The backend of blockchain-based messenger built on ethereum whisper.
Clients:
You need go v1.14 minimum & geth
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
geth --rpc --shh --ws --wsapi web3,rpc,eth,net,shh
or geth --syncmode "light" --rpc --shh --ws --wsapi web3,rpc,eth,net,shh
go run main.go
or only build go build main.go