Great tutorial! Answered so many of my questions!
However here (in Line 36 of your code), you hard-code your device’s IOTA address.
Is it possible instead for every IoT device to generate its own address and manage its own wallet?
So when device A needs to send 10 tokens to device B, it calls the “send” function and the wallet signs it off for device A. So each device having its own wallet without me having to hardcode or store the device address/pub-pvt keys anywhere.