Simple HTML Example

For convenience, here's an example of how to interact with our APIs to verify Legitimate's NFC tags in your own application

The following code snippet is an example of a synchronous, blocking javascript function to verify the digital signatures emitted by Legitimate's NFC tags.

This code is provided as an example for your own implementation. For more information on how to implement this exact code into your own website, please see Getting Started.

https://github.com/LegitimateTech/lgt-verify-example/blob/main/html/index.html

The code of the javascript is expanded below for reference.

https://github.com/LegitimateTech/lgt-verify-example/blob/main/html/verify-sdk-v1.js

Last updated

Was this helpful?