Map Osaka with FOAM IN-👀 Built with Google Cloud Platform, Chainlink and Blocklytics


For the Ethereum DevConV in Osaka Japan this year we are thrilled to share a preview of work we have been pursuing on a new platform called FOAM IN-:eyes: (insight) with a beta. Following the published examples of useful applications that can be built with Google Cloud Platform and Chainlink, we built a hybrid blockchain/cloud game that augments the FOAM protocol with insight derived from open data sets and on chain incentive mechanisms to map Osaka. Earn test FOAM by mapping the city!

FOAM IN-:eyes: delegates complex operations to be performed with Google cloud resources for off chain computation. By combining additional data sets with the FOAM Map we can understand where PoI data is needed and where to map based off of real world usage and demand. Check the above Google post for more information about hybrid blockchain/cloud applications enable powerful off-chain computation and how this application builds off of previously published examples.

As a result, an incentivized game can be defined that automatically rewards Cartographers that add the required PoI data, using FOAM and by integrating with Chainlink oracle contracts to provide cloud data to the blockchain. This hybrid blockchain/cloud application enables new forms of on-chain business models for the collection and verification of location data to crowdsource a public and decentralized map and serves as a framework for future data collection campaigns.

As this platform is still under development, a beta for DevConV is now available at Participate as a beta tester in this new platform by mapping Osaka, Japan! We have divided the city into different zones, with the epicenter being the conference center. The closer you map to the conference center the more test FOAM rewards you are eligible for on the Kovan network.

The full rules of the game can be found at:

After mapping the city on the FOAM Map, switch to the Kovan network to claim your rewards via a Chainlink Oracle.

For this game, the Chainlink team created a Solidity contract that allows FOAM users to make queries about their bounty status. When a user queries this contract, a Chainlink request is created using the address of the caller. This address gets passed to the app engine running on Google Cloud Platform, which returns that user’s bounty amount. The Chainlink node returns that amount to the bounty contract, which performs a token transfer for that amount to the requesting user. For security, a user cannot create multiple queries until the Chainlink node has responded. We also keep track of the total amount of rewards a user has received through this process.

Documentation on this work from the Chainlink and Blocklytics teams can be found at:

The front-end is available from

This game takes the best of what decentralized smart contracts and cloud platforms have to offer to build a hybrid application and framework for data analysis and incentivized game mechanics. The result is a new platform, FOAM Insight, for geospatial data collection and rewards. In conjunction with the Ethereum Developer Conference, we are mapping Osaka, Japan. Be the first to use the game reward mechanisms on test-net. Next steps for this project are to launch on main net and pursue targeting data collection campaigns with partners for specific cities and location types.

It has been very exciting working on this application with the Google Cloud Platform, Chainlink and Blocklytics teams. Look forward to further documentation on the architecture of FOAM IN-:eyes: and main-net targeted data collection campaigns with on-chain incentives and token rewards. Thanks for playing!


The results of this experiment is only 9 POIs added in Osaka… There is either a lack of incentive or the targeted user is not well defined. The vast majority of crypto enthusiasts are not cartographers, most of them obviously don’t care about adding POIs and contributing to a map…


This tool is an extremely flexible lever for onboarding and engaging cartographers. This first deployment combined contributions from four companies to produce a working demo. The demo proved technically successful and managed to get a few extra points on the map despite using testnet rewards.

If you have any ideas for new campaigns, it will be great to hear. While the rules specified a radius around a conference center this time, it is also possible to do things like:

  • Give rewards for points added in areas of low FOAM point density
  • Give rewards for points added in areas of high population density
  • Give rewards for points added within the bounds of specific cities or neighborhoods
  • Give rewards for points tagged with “Transportation” that overlap with public transportation datasets

This even touches on the topic of inflationary rewards. For example, we can test a data-driven approach to applying rewards in areas and according to rules that are expected to maximize benefit.