We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When trying to use animeswap modules in sui network, you cannot use it since modules named as defi, not as animeswap:
[dependencies] Sui = {git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "sui-v1.0.0", override = true} animeswap = {git = 'https://github.com/AnimeSwap/sui-v1-core.git', subdir = ".", rev = 'v1.0.0'}
Error while using it:
Invalid 'use'. Unbound module: 'animeswap::animeswap_library'
Using as defi solves the issue:
use defi::animeswap_library
How to solve the issue?
By changing the move.toml:
[addresses] defi = "0x0" sui = "0x2" std = "0x1"
to
[addresses] animeswap = "0x0" sui = "0x2" std = "0x1"
And also Readme has an issue, the version should start with v, and animeswap needs to be all lowercase but in readme it looks like this:
[dependencies.animeSwap] git = 'https://github.com/AnimeSwap/sui-v1-core.git' rev = '1.0.0'
should be:
[dependencies.animeswap] git = 'https://github.com/AnimeSwap/sui-v1-core.git' rev = 'v1.0.0'
The text was updated successfully, but these errors were encountered:
@Azard
Sorry, something went wrong.
No branches or pull requests
When trying to use animeswap modules in sui network, you cannot use it since modules named as defi, not as animeswap:
Error while using it:
Using as defi solves the issue:
How to solve the issue?
By changing the move.toml:
to
And also Readme has an issue, the version should start with v, and animeswap needs to be all lowercase but in readme it looks like this:
should be:
The text was updated successfully, but these errors were encountered: