I have a Raspberry 3 where I should install an Ethereum node. My aim is ,substantially,demonstrate the ability to store data(some strings written in python on rpi) on blockchain. Since I had problems both with public and private testnet(cause I couldn't add ether to accounts),I would know if testrpc is enough for my purpose.

Thank you.

2 Answers 2


As far as I remember, Raspberry3 is capable of running a node but it will not be able to generate the DAG required to mine the blockchain. Therefore, you need to connect the Raspberry3 to a network that include at least one other node mining (this of course include the live network).

Now, testrpc does not store physically any data and process new transaction almost instantly:

  • Every time you will restart testrpc, the data will be gone. But this might be sufficient for your demonstration as you should be able to simulate your whole business case without restarting the process.
  • In the real product, as mentionned above, you will have to include a connection to a network.

So it can work if the limitations above are acceptable for your project.


I've tried once raspberry pi to send transaction to the testnet and the mainnet using the light client.

you could use ethembded and run geth using --light to avoid downloading the whole blockchain.

and while you are using pyton you will need to use the web3.py to interact with your node and the blockchain from your python scripts.

  • mmm I have some conceptual problems...my professor suggested me to use node.js as wrapper(I dont know exactly what he meant).It takes data from python script (with a socket for example,since i would trasnfer data on the same device)and then interfaces with my node,storing data on blockchain... So what is exactly node.js and why I need it if I can use web3 api from python too??
    – Nick9214
    Jun 4, 2017 at 18:35
  • Nodejs is a run-time environment for executing JavaScript programs, so you could write a nodejs app which use the web3js. you have the choice to use python only or using nodejs/web3js or if you have a specific reason use both of them interconnected.
    – Badr Bellaj
    Jun 4, 2017 at 18:50
  • So could I take data from an accelerometer and then send them(plus other strings like gps coordinate and date) to the blockchain with an unique script in python?
    – Nick9214
    Jun 4, 2017 at 20:41
  • Yes you can if you can reaf already the data from it using pyyhon the rest is possible
    – Badr Bellaj
    Jun 4, 2017 at 21:06

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.