Upload an image into a NFT #62
Replies: 6 comments 9 replies
-
I found your workshop repository which already gives me a lot of answer. But I still need some more clarification regarding IPFS. Do we need to host our own IPFS instance on our own server or can we use existing Ternoa's IPFS instance ? Means if we want to upload a media or any content, what will be the IPFS_GATEWAY we need to use ? Also, if we want to create a NFT containing a secret, can it be done without Ternoa's IPFS instance ? |
Beta Was this translation helpful? Give feedback.
-
@markopoloparadox ? Can a developer answer to my question please ? :) |
Beta Was this translation helpful? Give feedback.
-
Let me at least answer some of your questions. It seems that we are indeed missing a nice doc on how to use our IPFS nodes. The good thing is that we are planing to write one or two examples in our SDK repo which is going to show how to use our IPFS nodes in order to upload NFT data and NFT metadata. You don't need to use our IPFS nodes and you can host your own nodes or even store the data inside aws or your own server. This is up to you. @ipapandinas @Victor-Salomon I think that you can guys explain a bit better how the process looks like |
Beta Was this translation helpful? Give feedback.
-
Hi, The IPFS upload helper is not implemented in the SDK yet. It will be added quiet soon and will be similar to the one used during our workshop here: https://github.com/capsule-corp-ternoa/ternoa-workshop/blob/main/helpers/ipfs.ts. Nice catch to have found it! As @markopoloparadox explains, you have flexibility in choosing the IPFS node: you can use our Ternoa's IPFS instance (https://ipfs.ternoa.dev/) or you can host your own instance. Ternoa basic NFT Off-Chain Metadata - object:
Ternoa Collection Off-Chain Metadata - object:
Ternoa Marketplace Off-Chain Metadata - object:
Regarding secret NFTs there are not implemented on either Alphanet/Mainnet yet. This will be the objective of phase 4. You also will have the same flexibility as basic NFTs regarding the IPFS instance. You will just have to write the metadatas correctly. Sorry for this late response, I hope it helps you. |
Beta Was this translation helpful? Give feedback.
-
Hi @ipapandinas, I tried using your upload method in nodeJs, so from the back-end side (and not from the client) and I got error response HTTP 403.
Thank you in advance for your help. |
Beta Was this translation helpful? Give feedback.
-
I am still stuck on the metadata (1st parameter of createNftTx or createNft): description and image don't show up in the Ternoa Wallet app... |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm trying to upload an image to IPFS. But there is no informations regarding IPFS in Ternoa's documentation. Could you please guide me with some examples ? Also, do we need to use Ternoa's IPFS domain (https://ipfs.ternoa.dev/) to manage our contents / medias ? Or is there any function in the SDK that we can use that automatically uploads on IPFS?
Thank you in advance for your answer
Beta Was this translation helpful? Give feedback.
All reactions