Closed bigchiano closed 3 years ago
So OpenSea can not parse this on its own from ipfs, it needs to go through a middleman?
I would not do this as part of Trotter really, I would separate this feature in a new piece of software.
Why? Because trotter is for NFT creation, it's not designed to be fetching metadata for 3rd parties. Trotter is designed to be brought down and be raised up often, and this piece for OpenSea should be permanently online.
So OpenSea can not parse this on its own from ipfs, it needs to go through a middleman?
I would not do this as part of Trotter really, I would separate this feature in a new piece of software.
Nope, opensea does not specify a structure for metadata on chain and all their doc is only talking about hosting a metadata apis.
You are right we should create the metadata as a seprate service.
Why? Because trotter is for NFT creation, it's not designed to be fetching metadata for 3rd parties. Trotter is designed to be brought down and be raised up often, and this piece for OpenSea should be permanently online.
Trotter itself does not get metadata offchain but opensea does. perhaps we could adapt to that?
OpenSea does not read metadata from the contract?
This is how I would handle it:
This is how I would handle it:
This diagram has been implemented, can I close this now?
Can use the trotter url or something like https://www.trotter.finance/api/NFTs/{token_id}
The api needs two endpoints to