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- (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- 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 https://osaka.foam.tools/ 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: https://mapguide.foam.space/en/articles/3392057-osaka-mapathon-guide
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 https://github.com/blocklytics/insight-dapp
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- and main-net targeted data collection campaigns with on-chain incentives and token rewards. Thanks for playing!