Documentation Index
Fetch the complete documentation index at: https://docs.lucid.foundation/llms.txt
Use this file to discover all available pages before exploring further.
Identity (Passports)
Lucid provides a chain-agnostic approach to NFT minting, specifically designed for AI asset identity. This functionality is accessible through theINFTProvider interface, which supports string-based addresses compatible with both Solana’s base58 and Ethereum’s 0x formats.
NFT Providers
Lucid supports multiple NFT providers, each tailored to different blockchain environments. The following table outlines the available providers, their corresponding environment values, and the chains they support:| Provider | Env Value | Chain |
|---|---|---|
Token2022Provider | token2022 | Solana |
MetaplexCoreProvider | metaplex-core | Solana |
EVMNFTProvider | evm-erc721 | EVM (wraps EVMAdapter + TBA) |
MockNFTProvider | mock | Dev/test |
Configuration
To configure the NFT minting process, you can set the following environment variables:-
NFT_PROVIDER: Specifies the NFT provider to use. The default value ismock, which is suitable for development and testing purposes. -
NFT_CHAINS: Allows for multi-chain support. You can specify multiple chains by separating them with commas, such assolana-devnet,base. -
NFT_MINT_ON_CREATE: When set totrue, NFTs are minted automatically upon creation.
.png?fit=max&auto=format&n=VsjUqn6fLqEhBiuI&q=85&s=8b4c7e6431e9a6af1ef23b77bb4ff5fd)
.png?fit=max&auto=format&n=VsjUqn6fLqEhBiuI&q=85&s=d5651a45e4bfbabc33f74e146af3f94a)