This example allows you to setup an echo server on the bitmessage network. PyBitmessage can be found here: https://github.com/Bitmessage/PyBitmessage
ease make sure that you are using Python 2.7.x
- Install PyBitmessage and run it once. Close PyBitmessage.
- Place dokEchoServer.py in the same directory as BitMessage
- Follow this guide to setup the API as following (https://bitmessage.org/wiki/API_Reference):
- apiport = 8442
- apiinterface = 127.0.0.1
- apiusername = echo
- apipassword = echoPassword
- apinotifypath = 'Insert path to dokEchoServer.py here.'
- Run PyBitmessage.
- All addresses will be treated as echo addresses. The address that receives a message will be the one to return the message. (to becomes from)