flow-cli
flow-cli copied to clipboard
Install contract dependencies from the NFT Catalog
Goal
flow contracts install should check and fetch contracts defined in flow.json from the NFT catalog into the imports folder.
- The simple syntax is
nft-catalog/NETWORK/COLLECTION_IDENTIFIERe.g.nft-catalog/mainnet/CoolNFT - Only applies to missing dependencies based on what's inside the
importsfolder. - Resolves the contract address using the NFT catalog, then the rest of logic is similar to #944
-
importsshould be added to.gitignore