If you're interested in learning how to implement end-to-end chats with multiple devices, checkout out Wire security whitepaper (https://wire.com/resource/Wire%20Security%20Whitepaper/downl...) for one way of doing it.
Hopefully, OpenWhisperSystems will release documentation about their implementation in Signal (note: it doesn't require phone, unlike WhatsApp)