- 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 in main.rs under rust-sender/src folder and in main.rs file under rust-receiver/src folder replace the signature and pubkey with your signature and pubkey respectively. Also make sure that sender and reciever pubkeys are different.
-
Install requirements
Rust version 1.33.0
Cargo version 1.33.0Dependencies requirements
sodiumoxide = "0.2.1"
base64 = "0.10.1"
chrono = "0.4" -
Run receiver device
cd rust-receiver cargo run
-
Run sender device
cd rust-sender cargo run