Java Web3J: Use web3j to monitor, query, and subscribe to smart contract events

A previous article wrote about how to use the Docker-compose method to deploy the blockscout browser + charts chart . The blockchain browser has been successfully deployed. At the same time, we have added a governance voting process to the chain. How to quickly synchronize governance events to the browser in real time Woolen cloth? At this time, I thought of Web3J to monitor the events of the smart contract to achieve the effect of synchronizing events

insert image description here

Web3J

simple

Guess you like

Origin blog.csdn.net/m0_37482190/article/details/132654571