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

Import address feature for dependency manager

Open bluesign opened this issue 1 year ago • 2 comments

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.

bluesign avatar May 23 '24 16:05 bluesign

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.

chasefleming avatar May 23 '24 17:05 chasefleming

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.

bluesign avatar May 24 '24 07:05 bluesign