How to add dependency?

How does dependency work in Move?

  1. Is a dependency staticly linked or dynamicly linked?

  2. If it is staticly linked, why does it require the referenced package to contain published-at field?

  3. How can I specify different networks for published-at?

  4. Is there any decent document about package dependency? Or is there any working example?

Thanks.

1 Like