-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
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
Creating a token on an existing 1155 contract & IPFS json #12
Comments
similar issue to #11 |
will provide sample instructions shortly |
ok we have some updated sdk helper methods and guides, check them out here: |
Thank you, @oveddan . In the meantime, we've already figured out this part of the process, but the improvements in the methods and guides will be very useful for the rest of the community. As a suggestion, it would be helpful to have more details on constructing the creatorClient.create1155() options object. I noticed that some properties, such as maxSupply and mintToCreatorCount, are particularly useful for minting tokens to the creator's account immediately after creation in the same transaction. We are almost ready to finalize our /create path, and soon our users will be able to use it. Thanks a lot! |
thx for the feedback on surfacing those parameters. will def look to adding that in. maybe we can follow the format of the vite docs where they explicitly lay out props/return types: |
Thank you, @oveddan . Yes, this is a good way to explain how the sdk works, as this can make devs intuitively understand what each method or config property does. One more question please. As I told you, we are trying to make a /create page in our webapp, and deliver more or less the same options for token creation as in zora.co/create page. I noticed that the option object that is passed to .create1155 has a type like this:
and SalesConfigParamsType is...
I already figured out how to pass a price for token ( My question is about zora.co/create "Minting duration" option. I tried to set an option for the user to choose between, for example, FOREVER OPEN and 1 WEEK OPEN. For FOREVER OPEN, i passed My train of thought was that When I passed I hope you can help me with that. In case you need some more feedback with the SDK documentation, don't hesitate to tell me. Thanks a lot! |
hey @vitorjaguat thats a great question there are some nuanced differences between creating 1155 regularly vs premint - duration is an option only available when creating premints - in the |
Hello everyone,
I am one of the developers of The Anarchiving Game (https://anarchiving.thesphere.as/, repo https://github.com/vitorjaguat/anarchive ). We are currently working on implementing a /create path that will allow users to create their own tokens within an existing collection on Zora: 0xe5a192aaf911c35fb47de1342e768ef01c84fa09.
This feature would be incredibly valuable, especially since we rely on attribute names being consistent across all tokens for our data visualization graph to function correctly. We realized we should have a custom create, also because the inclusion of token attributes on Zora’s UI has been removed (although it’s still possible to add attributes on token’s Settings tab, pushing a metadata update on a second transaction).
While reading the Zora SDK documentation, we noticed that one of the properties on the options parameter required for the
creatorClient.create1155({})
function istokenMetadataURI
, which should point to an IPFS hash or an HTTP-hosted JSON.Our understanding is that we need to provide the IPFS address of a JSON file that is already uploaded to IPFS. Is this correct? We are currently stuck at this step and would greatly appreciate any advice on how to proceed. Should we sign up for a service like Infura or Pinata, or are there any other services or workflows you would recommend? Or even, could we use the same hosting that allows users to upload their media on Zora when creating new tokens at https://zora.co/create?
Thanks in advance for your assistance.
Best regards,
Vitor
The text was updated successfully, but these errors were encountered: