Replies: 1 comment 1 reply
-
for using third party dependency, here's an example https://github.com/aptos-labs/move-by-examples/blob/main/fungible-asset-with-buy-sell-tax/move/ScriptsOnly/scripts/create_thala_pool.move |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Discord user ID
No response
Describe your question in detail.
hello guys, how can i import a specific cointype into my smart contract. For example i have a cointype like
0xabc::SomeModule::CoinType1
already deploy in mainnet. I want to write a function that user can transfer this coin into my contract usingcoin::transfer<CoinType>
. I try to import the cointype likeuse 0xabc::SomeModule::CoinType1
but got"Unresolved reference: SomeModule "
What error, if any, are you getting?
"Unresolved reference: SomeModule "
What have you tried or looked at? Or how can we reproduce the error?
No response
Which operating system are you using?
Windows
Which SDK or tool are you using? (if any)
N/A
Describe your environment or tooling in detail
No response
Beta Was this translation helpful? Give feedback.
All reactions