How to allow anyone to mint from a collection? #439
-
Discord user IDNo response Describe your question in detail.why when i change creator to another user it doesn't work? let token_constructor_ref =
token::create_named_token(
creator,
collection_store.collection_name,
description,
name,
option::none(),
uri
); What error, if any, are you getting?public fun address_to_object<T: key>(object: address): Object { What have you tried or looked at? Or how can we reproduce the error?create the collection and mint with the same signer works. if used different signer to mint doesn't work Which operating system are you using?macOS Which SDK or tool are you using? (if any)N/A Describe your environment or tooling in detailMove |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@aeither creator should be the collection creator. You can create collection with object signer and move object extend ref to a struct to fetch signer extend ref while minting token later. |
Beta Was this translation helpful? Give feedback.
@aeither creator should be the collection creator. You can create collection with object signer and move object extend ref to a struct to fetch signer extend ref while minting token later.