nftstorage / nft.storage

**Notice: Uploads Decommissioned - Existing Data is Safe!** NFT.Storage Classic (classic.nft.storage) offers free decentralized storage and bandwidth for NFTs on IPFS and Filecoin. June 2024 Update: No new uploads, but all existing data is safe. Try the new NFT.Storage, which preserves data in long term Filecoin storage. Go to app.nft.storage
https://classic.nft.storage
Other
618 stars 167 forks source link

[Question] Filecoin linkage? #110

Closed CryptoZifter closed 3 years ago

CryptoZifter commented 3 years ago

All just a question, in looking over the API and bouncing that against the primary site which indicates metadata stored on Filecoin, I see nothing in the current API with any connection to Filecoin. No properties that allow setting of the metadata. Thus far it appears to just provide the IPFS interfacing. Is this a fair assessment of the state of things currently?

Thanks CZ

alanshaw commented 3 years ago

No, all data uploaded/pinned to nft.storage is stored on Filecoin. Deal information is returned in the /status and /check endpoints. See https://nft.storage/api-docs/#model-Deal

e.g. https://api.nft.storage/check/bafkreiem4twkqzsq2aj4shbycd4yvoj2cx72vezicletlhi7dijjciqpui

CryptoZifter commented 3 years ago

Thanks. That helps. What about the actual NTF metadata such as:

If taking the example from the other proof of concept minty

{
   "name": "Moon Flight #1",
   "description": "This ticket serves as proof-of-ownership of a first-class seat on a flight to the moon.",
   "image": "ipfs://bafybeihhii26gwp4w7b7w7d57nuuqeexau4pnnhrmckikaukjuei2dl3fq/ticket.txt"
}

Would there be an API to set this or is nft.storage merely providing the workflow to process only storage?

Thanks CZ

jnthnvctr commented 3 years ago

I think the merge @alanshaw just enabled should do exactly this! Check the examples: https://github.com/ipfs-shipyard/nft.storage/tree/main/client/examples

CryptoZifter commented 3 years ago

Awesome, yes that did it. Thanks

CZ