I linked to this repo in the original Gravity whitepaper. Since then, I scrapped that rushed proof of concept and did a much better job, split among the following places:
This is the main thing, the implementation of the system described in the paper.
https://github.com/npfoss/gravity-protocol/
Minimal in terms of demoing the protocol. Suitable for developers and testing, not actual users.