0xPolygonMiden / examples

Examples of using Polygon Miden
MIT License
17 stars 17 forks source link

Add proof of location example #201

Closed PhilippGackstatter closed 5 days ago

PhilippGackstatter commented 1 week ago

Description

Implements an example for "proof of location". This can be used to show that a secret location given as GPS coordinates on the advice stack is within a certain radius around another fixed location given as public input (or hardcoded).

For implementation details, see the description in the example itself.

I'm happy to receive feedback on anything! I know that a lot could be made more efficient but for time-reasons I left those parts as-is. But I'm sure there are some idioms I've missed regarding masm or things that could be done simpler or generally better. Thank you!

sonarcloud[bot] commented 5 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud