This is a trivial demo of using Wormhole Queries to sync counters across EVM chains. A counter can only be incremented if a query containing recent counter data from the other registered contracts is provided.
Check out the Demo UI as well.
Learn more about developing with Queries in the docs.
$ forge build
$ forge test
$ forge fmt