Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/semyon-dev/whissage
the backend of blockchain-based messenger
https://github.com/semyon-dev/whissage
blockchain blockchain-messenger ethereum geth messenger whisper whisper-protocol
Last synced: 14 days ago
JSON representation
the backend of blockchain-based messenger
- Host: GitHub
- URL: https://github.com/semyon-dev/whissage
- Owner: semyon-dev
- License: mit
- Created: 2020-05-07T15:08:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-20T22:50:49.000Z (over 4 years ago)
- Last Synced: 2024-06-21T19:07:44.919Z (5 months ago)
- Topics: blockchain, blockchain-messenger, ethereum, geth, messenger, whisper, whisper-protocol
- Language: Go
- Size: 58.6 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# whissage (whisper messenger)
The backend of blockchain-based messenger built on ethereum whisper.Clients:
* [Android client here](https://github.com/fvckyounimu/Whissage)
* [Desktop client here](https://github.com/semyon-dev/whissage-desktop)## Run
You need [go v1.14 minimum](https://golang.org/dl/) & [geth](https://geth.ethereum.org/docs/install-and-build/installing-geth)#### Private network
[more detailed in official wiki](https://github.com/ethereum/go-ethereum/wiki/Private-network)1. Creating The Genesis Block
You should change address (alloc) in genesis.json before run!`geth --datadir /path_to_project/whissage/ init genesis.json`
2. 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](https://github.com/semyon-dev/whissage/blob/master/LICENSE)