onflow / onflow/flow-cli

Install contract dependencies from the NFT Catalog

Open
#957 0 comments 0 reactions 2 assignees View on GitHub

@chasefleming is already working on this.

Since Oct 3, 2023.

Feature
Dominant language
Go
Stars
209
Forks
87
Avg merge
1d 17h
Merged PRs (30d)
3

Description

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_IDENTIFIER e.g. nft-catalog/mainnet/CoolNFT
  • Only applies to missing dependencies based on what's inside the imports folder.
  • Resolves the contract address using the NFT catalog, then the rest of logic is similar to #944
  • imports should be added to .gitignore

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.