flow-core-contracts icon indicating copy to clipboard operation
flow-core-contracts copied to clipboard

Update Contract Import Syntax to the new Standard

Open joshuahannan opened this issue 3 years ago • 0 comments

Issue To Be Solved

We have a new standard for contract imports: https://github.com/onflow/flow/blob/master/flips/2022-03-23-contract-imports-syntax.md

Suggest A Solution

  • Add flow.json
  • Update the contract files to use this syntax for imports
  • Update the transactions and scripts as well
  • Update the templates package to use these imports as replacements instead.
  • Can use what was used in the NFT repo as a starting point: https://github.com/onflow/flow-nft/blob/master/lib/go/templates/templates.go
  • Also update to latest Secure Cadence Version

joshuahannan avatar Apr 19 '22 15:04 joshuahannan