A deep-dive into Relay, the Bluetooth mesh chat app we built: the custom packet format, flooding, self-certifying identity, encrypted private chats, file transfer and the Nostr side.