WebRTC signal exchange by public key.
npm install signal-exchange
Signal exchange uses ECDH public keys as identifiers in the exchange. This means that peers can "call" each other using public keys and encrypt the offer messages through the exchange.
const SimplePeer =const signalExchange =const sodi =// Generate keypairs w/ sodi.let user1 = sodilet user2 = sodilet send1 =let send2 =let peer1 = initiator:true trickle:falsepeer1
wss://signalexchange.now.sha public exchange hosted on zeit.