Import address feature for dependency manager
Opened this issue · 2 comments
bluesign commented
Issue To Be Solved
(Optional): Suggest A Solution
It would be nice to have an option to import an address with all contracts and dependencies from network.
chasefleming commented
I like this idea! To clarify: the idea is to add every contract and dependencies found from an address, correct? For example, if no contract name was provided flow dependencies add testnet://7e60df042a9c0868
. Then everything from 7e60df042a9c0868
would be installed and setup. This would setup contract a project quickly for an address.
bluesign commented
On Thu May 23, 2024 at 5:25 PM UTC, Chase Fleming wrote:
I like this idea! To clarify: the idea is to add every contract and dependencies found from an address, correct? For example, if no contract name was provided `flow dependencies add testnet://7e60df042a9c0868`. Then everything from `7e60df042a9c0868` would be installed and setup. This would setup contract a project quickly for an address.
Yes, that's correct. The idea is to make it easy to add all the contracts and their dependencies from a given address. This will make a lot easier for developers to clone a project / or setup their flow.json file from active configuration on mainnet/testnet quickly.