https://github.com/2pk03/cerbtk
[experimental] Simple IoT Device Registry using Kotlin and Blockchain
https://github.com/2pk03/cerbtk
blockchain iot
Last synced: about 1 year ago
JSON representation
[experimental] Simple IoT Device Registry using Kotlin and Blockchain
- Host: GitHub
- URL: https://github.com/2pk03/cerbtk
- Owner: 2pk03
- License: other
- Created: 2018-05-23T12:08:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-08-09T07:22:06.000Z (almost 4 years ago)
- Last Synced: 2025-02-12T05:43:49.573Z (over 1 year ago)
- Topics: blockchain, iot
- Language: Kotlin
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 11
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cerbtk - simple device registry
[](https://circleci.com/gh/infinimesh/cerbtk)
Just to see how a blockchain approach could solve some fundamental issues. Supposed as PoC, most work was done by Adrian (see credits).
## API
The registration instance is available at http://localhost:23230
As for now, it offers the following endpoints:
* `GET /device/all` for listing all existing devices in the chain
* `POST /device/write` for adding new device
Device send registration to the chain, gets a block back which is the device ID for all further communication.
Using a private chain is not tamper proof as an public one, the registration process is just simplified and the
owner of the chain has the full control.
ToDo:
- include LetsEncrypt certificates
- implement as an k8s service (mesh?)
- add contracting for IoT data sharing and handling
## Credit
This project uses some open source libraries:
* [Apache Commons Codec](https://github.com/apache/commons-codec)
* [JavaLin](https://javalin.io/)
* [Jackson Module Kotlin](https://github.com/FasterXML/jackson-module-kotlin)
* based on code of [Adrian Marszałek](https://github.com/adikm/kotcoin)