Minting NFT from contract tells me no collection is present under this account #588
Unanswered
christophmarckx
asked this question in
Questions
Replies: 2 comments 2 replies
-
Please check that the collection of the creator and the one trying to mint the token, both are same. |
Beta Was this translation helpful? Give feedback.
2 replies
-
can you publish everything to a github repo? ill take a look |
Beta Was this translation helpful? Give feedback.
0 replies
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
150796576565100544
Describe your question in detail.
I set up a simple NFT minting contract. I tried to follow the Aptos token standard. Publishing in Testnet, initializing the contract, everything worked fine. When I try to mint however, it tells me no collection is present in the contract's account.
What error, if any, are you getting?
ECOLLECTIONS_NOT_PUBLISHED | There isn’t any collection under this account.
What have you tried or looked at? Or how can we reproduce the error?
I tried to adjust the mint function a bit, but honestly I'm not seeing what's wrong. My resources show a collection was created and the info is right there. Contract is at 0xe9584275ecb8b8309a6d22c78bb2e01819e92c5fbe5dbc9700d76a5dd1fdd923
Which operating system are you using?
Windows
Which SDK or tool are you using? (if any)
Aptos CLI
Describe your environment or tooling in detail
aptos info
{
"Result": {
"build_branch": "main",
"build_cargo_version": "cargo 1.78.0 (54d8815d0 2024-03-26)",
"build_clean_checkout": "false",
"build_commit_hash": "24321bb83f308c1a45f11cdf59148c93ae946cb7",
"build_is_release_build": "true",
"build_os": "windows-x86_64",
"build_pkg_version": "4.4.0",
"build_profile_name": "cli",
"build_rust_channel": "1.78.0-x86_64-pc-windows-msvc",
"build_rust_version": "rustc 1.78.0 (9b00956e5 2024-04-29)",
"build_tag": "",
"build_time": "2024-11-06 21:02:38 +00:00",
"build_using_tokio_unstable": "true"
}
}
Beta Was this translation helpful? Give feedback.
All reactions