flow-cli icon indicating copy to clipboard operation
flow-cli copied to clipboard

Install contract dependencies from GitHub

Open nvdtf opened this issue 2 years ago • 0 comments

Goal

flow contracts install should check and fetch contracts defined in flow.json from GitHub into the imports folder.

  • The simple syntax is github.com/ORGANIZATION/REPOSITORY/PATH e.g. github.com/onflow/flow-nft/NonFungibleToken.cdc
  • The contract name is resolved from contents.
  • Targets the latest commit hash.
  • imports should be added to .gitignore

nvdtf avatar Apr 04 '23 00:04 nvdtf