- Setup and run senz-switch.
- Now setup and Run senz-web client both frontend and backend.
- Now click on your profile icon and then click on My signature to get your signature.
- In order to communicate between 2 devices you need to add both the devices in the same project. So if not added then add 2 devices in any of your projects.
- Now go to device_1 folder for sender.py and device_2 folder for receiver.py file replace the signature and pubkey with your signature and pubkey respectively. Also make sure that sender and reciever pubkeys are different.
-
Install required packages
pip install -r requirements.txt
-
Run receiver device
cd device_2 python3 receiver.py
-
Run sender device
cd device_1 python3 sender.py
-
In order to run tests first install the pytest package
pip install pytest
and then in terminal run
pytest