flow-cli
flow-cli copied to clipboard
Install contract dependencies from GitHub
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/PATHe.g.github.com/onflow/flow-nft/NonFungibleToken.cdc - The contract name is resolved from contents.
- Targets the latest commit hash.
-
importsshould be added to.gitignore