LogoLogo
Our WorkHelp CenterAbout Us
  • Developer Resources
    • ⚙️Web/HTML Implementation
      • Getting Started
      • Simple HTML Example
  • Native App Implementation
  • 🛠️API Resources
    • Verify
    • Claim
    • Recover
    • Tag Verifications
  • Protocol
    • 🖼️Overview
      • Technical Specs
    • 📜Smart Contracts
      • 🔓Locking Mechanism
      • 🔓Locked721
      • 🔑Access Control Roles
      • 📃Customizing the Locked721 Contracts
    • 📏Customizations
      • 🛳️Blockchain Deployment Options
      • 🪙Digital ID Options
      • 🗞️Product Metadata Options
      • 🔐Locking Mechanism Options
Powered by GitBook
On this page
  • Base
  • Locked721(Psi)
  • Extensions

Was this helpful?

Export as PDF
  1. Protocol

Smart Contracts

PreviousTechnical SpecsNextLocking Mechanism

Last updated 10 months ago

Was this helpful?

Legitimate's smart contracts are designed to allow multiple parties including Legitimate, third party developers or agencies, and the brands or creators themselves to work together and share permissions to interact with the contract on-chain.

Legitimate maps each unique digital ID to a token on a decentralized blockchain network. For simplicity and consistency, our documentation will refer to each digital ID as a token.

Our main token smart contract is open source and available here on GitHub:

Our contracts are broken down into three categories:

Base

The Base contracts cover the underlying functionality of the Locking Mechanism. They are intended to be abstract classes that can be augmented with an ERC721 implementation.

These contracts can be found .

Locked721(Psi)

The Locked721 and Locked721Psi contracts extend the base contracts and provide their own respective implementations of ERC721. Locked721 uses OpenZeppelin's ERC721 implementation, whereas Locked721Psi uses the ERC721Psi implementation.

These contracts can be found .

Extensions

Legitimate further extends the Locked721(Psi) contracts with additional business logic and functionality to serve our partners and clients. These contracts add additional access control roles, logic, and functionality. This includes service terms, recovery capabilities, as well as custom metadata handlers that augment the Locking Mechanism.

These contracts can be found .

📜
here
https://github.com/LegitimateTech/lgt-phygital-nft-v3
here
here
Base
Locked721(Psi)
Extensions