Search projects, hackathons, sponsors and tech

    ← All projects

    PoL.bot Oracle

    Proof of Location Oracle on Hedera Smart Contract Service

    About

    The problem it solves GPS coordinates can be spoofed. The PoL.bot oracle solves that problem by using LoraWAN gateways to verify the presense of a sensor at a point in time. Gateways prove their coverage to eachother. Tracking sensors beacon to the gateways. Therefore, a sensor must be within range of a gateway for the gateway to have received the beacon, verifying the sensor's presence near the gateway. The gateways forward the beacons to my oracle, which records the proof of the device's location data on the ledger.

    How it's made

    Challenges we ran into I have been learning Ruby on Rails, which is the language I used for this project. It was a major challenge to integrate Rails with Hedera, considering there isn't a Ruby SDK library for Hedera. Although, I am thinking I might make one as a community project. I also learned JavaScript in order to create and deploy the Smart Contract on Hedera with the assistance of the Hedera documentation. I also used the Hedera Go SDK, so that my Ruby on Rails controller could directly call into the Go SDK by compiling it as a shared library and binding to the compiled C/Go functions via the Ruby FFI.