Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Hyperledger Fabric writer and reader #436

Open
anovakovic01 opened this issue Oct 31, 2018 · 6 comments
Open

Add Hyperledger Fabric writer and reader #436

anovakovic01 opened this issue Oct 31, 2018 · 6 comments

Comments

@anovakovic01
Copy link
Contributor

anovakovic01 commented Oct 31, 2018

FEATURE REQUEST

  1. Is there an open issue addressing this request? If it does, please add a "+1" reaction to the
    existing issue, otherwise proceed to step 2.
    No.

  2. Describe the feature you are requesting, as well as the possible use case(s) for it.
    Add Hyperledger Fabric reader and writer in order to give good support for storing data in secure and decentralized system. There are plenty use cases where you want to guarantee that data is immutable and that it cannot be deleted, one of them being supply chains (classic example).

  3. Indicate the importance of this feature to you (must-have, should-have, nice-to-have).
    This is nice to have feature that will really increase usefulness of this project.

@drasko drasko added the later label Dec 16, 2018
@Sale72 Sale72 self-assigned this Feb 21, 2019
@drasko
Copy link
Contributor

drasko commented Feb 28, 2019

@anovakovic01 this would consider a chaincode (Smart Contract) that is storing SenML format into the blockchain.

Would we want to support some other format and make this configurable? I gues this would complicate the Reader then...

Also, we need to understand a storage size of the immutable ledger and potentially limit the write rate and force data aggregarion before write.

@olsharpe
Copy link

olsharpe commented Nov 5, 2019

Have you considered IOTA? You can send & receive data on the tangle without fees, it uses a DAG rather than traditional blockchain, and has been designed for IoT and edge devices.

Devices could directly write to Tangle with MAM stream, Mainflux could then receive transactions for post processing and integration with frontend or other app. The transaction would be stored in an immutable record on the Tangle, which as you say @anovakovic01 is great feature for lots of industries, such as supply-chain, healthcare etc

Using mainflux to write records Hyperledger would be a great feature, I have come across a similar idea which integrates IOTA to a LoRa WAN server. It's basically writes messages to the Tangle, received from a LoRa gateway over probably MQTT. Which I suppose is similar to this proposal in a way.
https://ecosystem.iota.org/projects/matchx-lorawan-server / https://gitlab.com/matchx/iota-stream

Although IOTA would enable a device write directly to DLT from the device or outsource proof-of-work to local node, which kind of removes reliance on adapters, secure backhaul network, VPN's, SSL etc. Enabling you to deploy IoT device in an untrusted environment. IOTA is quite different from traditional block-chains although promising it has some if own challenges (e.g consensus, which it claims to have solved with coordicide), they claim to also solve fundamental issues with block-chain, i.e scalability, security and decentralisation. Its working on lots of project with industry VW, Mercedes-Benz, Bosch (https://www.bosch-connectivity.com/newsroom/blog/xdk2mam/) and has numerous test-beds for smart cities.

Worth a look anyway, if you havent come across before. I would happy to discuss further ways we could integrate IOTA into Mainflux stack if it's of interest to anyone. FYI we are small team of 4 Devs and we would love to get involved and contribute more. (We wrote a PG writer lol . (timescale actually), but you guy's created one shortly after, otherwise we would have cut a PR for this)

IOTA GO Client https://docs.iota.org/docs/iota-go/0.1/introduction/overview (pretty beta version i believe)
Also pretty cool https://blog.iota.org/st-iota-e61ebb43942e

@nmarcetic
Copy link
Collaborator

Hi @olsharpe

IOTA is interesting yes, we know the crew personally and the project from early beginnings.
Let's think about it then maybe schedule a conference to discuss if you are available. I would also like to e-meet you and hear more about your team, We always need help ;)

All contributions are welcome!

We are interested in IOTA integration in general. Let's allocate some time to do a quick research and then we can continue the discussion and schedule the open conference call.

Let me know your thoughts.

@olsharpe
Copy link

olsharpe commented Nov 5, 2019

Ye IOTA an interesting project, has a lot of potential

Kudos to all mainflux devs, really nice stack. We would be keen to setup a call to continue discussions, I'll send you a mail to schedule.

@nmarcetic
Copy link
Collaborator

Yes please, email me. Perfect @olsharpe
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

5 participants