Sidekick Example: console logger

check the console

This example illustrates a debugging feature of sidekick. Sidekick and the wallet each communicate with the other by sending MessageEvents to window. The code in this example adds a listener to the window which just console.logs each MessageEvent.