TyDIDs based P2P Data Identity collector and publisher for MQTT / MQIsdp / WMQTT
npm install tydids-p2p-mqttTyDIDs based P2P Data Identity collector and publisher for MQTT / MQIsdp / WMQTT




Imagine a dataset that is available somewhere in the world might be accessed everywhere. How? You just need to know its address!
- Decide who is allowed to see this dataset.
- Forget about protocols, p2p, request-responds, polling for changes.
- Set a value in your dataset with one line of code
- Subscribe to changes with another single line of code
``
npm install -g tydids-p2p-mqtt
tydids-p2p-mqtt -h
Usage: tydids-mqtt
Options:
-priv --privateKey
-n --influxHost
-p --presentation [address]
-P --influxPort
-d --influxDatabase
-m --influxMeasurement
-q --query
-t --represent
--createPrivateKey
-h, --help display help for command
`
Terminal 1:
``
tydids-p2p-mqtt -t '/home#'
Terminal 2:
``
mosquitto_pub -h localhost -t /home/kitchen -m "27"
(optional) Terminal 3 (requires TyDIDS-P2P to be installed!):
``
tydids -p
Terminal 1:
``
tydids-p2p-mqtt -t '/tydids' -p 0x19B9f727e38F224dE49b564282c339F1f8e224Ea
Terminal 2:
```
mosquitto_sub -h localhost -t '/tydids/#'
STROMDAO GmbH
Gerhard Weiser Ring 29
69256 Mauer
Germany
+49 6226 968 009 0
kontakt@stromdao.com
Handelsregister: HRB 728691 (Amtsgericht Mannheim)
Project Website: https://tydids.com/