Post
Share your knowledge.
Apr 04, 2025
Expert Q&A
How to fix 'Unbound module' error for deployed Move package?
I'm using the router_addr
package and trying to call a function from my new package. Despite it being deployed on the network, I'm getting an error saying Unbound module 'router_addr::router'
. How do I resolve this error?
- Move CLI
0
2
Share
Comments
Answers
2DuAn97
Apr 4 2025, 15:38However, it's important to note that the published-at
field should be filled with the latest address of your own package ID and should not be used for external packages. Use the [addresses]
section to specify external package addresses.
0
Comments
Michelle 77
Apr 4 2025, 20:45You should add published-at = "<your_package_id>"
in your dependency's move.toml
file. This helps in pointing to the correct package during compilation.
0
Comments
Do you know the answer?
Please log in and share it.
Move is an executable bytecode language used to implement custom transactions and smart contracts.
148Posts231Answers
Trending posts