I've to implement a simple use case and I'm not really sure if I understood everything correctly.

What I'm trying to do is to build up a network with a few Raspberry-Pi's, running as full-nodes. Those nodes collect data, which are then saved in the blockchain. That data can be visualized by a DApp, which is running as a light-client, since it's only reading from the blockchain.

So everytime a node want's to save data, it issues a smart-contract, which gets executed by every node in the network. The miner starts mining a new block, which gets broadcastet after he solved the PoW (in my case I only have one miner).

The GUI can read the data from the ledger.

Did I understood everything correctly so far? The next question is, when I read data from the ledger, I connect to a random node in the network, which then reads the data from their local blockchain? In my diagram the ledger is shown as an single "entity", but in reality it is distributed in the network?

Does it make sense like this?

enter image description here

Any help is highly appreciated - also forgive my poor diagram :), I've a better one, but I can't post it here.

PS: I'm trying to run it with a private blockchain.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.