0

I'd like to use Parity or Geth, in light client mode, to monitor an address for transactions. Essentially, I should be able to check each block for transactions involving a certain address.

In the end, the goal is to have devices linked to wallet addresses. Payments can be made to these addresses to launch software containers or other software on the devices.

Thanks so much for any help, tips, or pointers in the right direction.

0

In Web3.js 1.0, they offer the ability to subscribe to events using WebSockets:

http://web3js.readthedocs.io/en/1.0/web3-eth-subscribe.html

To get started you can check out this tutorial I made which uses Infura as my WebSocket provider.

Parity will, by default, set up a WebSockets server on 127.0.0.1:8546.

Geth uses the same endpoint, but you also need to make sure to use the --ws* flags to enable the WS-RPC.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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