FOAM Space is a project that is addressing the problem of GPS spoofing by creating an alternative network that triangulates location via terrestrial radio beacons rather than satellites. These radio beacons are set up within range of each other to form zones of coverage. It also utilizes blockchain technology, using crypto-economic incentives to encourage running said radio beacons, as well as using NFTs to create immutable certificates of location claims.
Users within range of these zones are able to mint NFTs on the Base Layer 2 rollup, proving that they were in a certain location at a certain time (referred to as Proof of Location). These NFTs— henceforth referred to as FPCs (FOAM Presence Claims)— contain metadata pertinent to their respective claims. Payment for this service provided by the user is denominated in FOAM— the protocol's native token.
The foamcaster_v2
repository contains the code that is running the FOAMcaster social media bot (@foamcaster on Twitter/X and @fobot on Farcaster). The bot monitors and publishes localization events (FPC minting, zone creation/destruction) as well as significant token events (bridging, transferring, trading, adding/removing liquidity). It exists as a Google Cloud Function that is called every 30 minutes and tracks contracts on both Base and Optimism Layer 2s. The bot also writes to a database collection, which is used by foam-map to populate a map with FPC markers and associated metadata. This map is can be accessed at foamcaster.xyz.