Below are example configurations for NFTs that can be used as templates for your own projects.
Using Starkscan API for basic ERC721 token integration
This configuration is suitable for standard ERC721 tokens on the Starknet mainnet. It uses the default API to fetch token data.
{ "network": "mainnet", "moduleType": "erc721", "contractAddress": "0x05dbdedc203e92749e2e746e2d40a768d966bd243df04a6b712e222bc040a9af" }
With Metadata Module and condition pattern for Starknet.ID domains
This advanced configuration uses a custom API endpoint and includes a condition pattern to filter for specific Starknet.ID domains.
{ "moduleType": "erc721Metadata", "conditionPattern": [ { "path": "domain", "pattern": "^([a-z0-9-]){4}\\.stark$" } ], "contractAddress": "0x05dbdedc203e92749e2e746e2d40a768d966bd243df04a6b712e222bc040a9af", "customApiParamName": "full_ids", "customApiUri": "https://api.starknet.id/addr_to_full_ids?addr={ADDRESS_INT}" }