Skip to content
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

Add Arweave support for NFT Metadata #1396

Open
mb-swirlds opened this issue Oct 2, 2024 · 3 comments
Open

Add Arweave support for NFT Metadata #1396

mb-swirlds opened this issue Oct 2, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@mb-swirlds
Copy link

Problem

Can we get Arweave stored metadata files indexed and displaying properly on HashScan.

Right now metadata stored in areweave will not show.

Example:
https://hashscan.io/mainnet/token/0.0.1518294/2?p=1&p1=1&k1=1672434637.410991003

Metadata URL: https://arweave.net/accqwldSOZL84IGcrnPTIt6FgNQTOlsSyEXS4-u8kk4

See UI:
image

Solution

Can we index or retrieve arweave urls and display accordingly?

Alternatives

There really is only one possible option to accept arweave as a storage solution for Token Metadata.

@mb-swirlds mb-swirlds added the enhancement New feature or request label Oct 2, 2024
@svienot
Copy link
Collaborator

svienot commented Nov 21, 2024

I see in the metadata that the ar:// URI scheme is used to locate the image.

I am wondering why such URI scheme is not used to locate the metadata JSON file as well (i.e. the decoded metadata field of the token would be ar://accqwldSOZL84IGcrnPTIt6FgNQTOlsSyEXS4). This would greatly help determine for sure this is stored on Arweave. Explorer might otherwise query the Arweave server with a hash which is not an Arweave hash.

@KingDaVinciGraph
Copy link

I see in the metadata that the ar:// URI scheme is used to locate the image.

I am wondering why such URI scheme is not used to locate the metadata JSON file as well (i.e. the decoded metadata field of the token would be ar://accqwldSOZL84IGcrnPTIt6FgNQTOlsSyEXS4). This would greatly help determine for sure this is stored on Arweave. Explorer might otherwise query the Arweave server with a hash which is not an Arweave hash.

Hi there
This article can solve the problem
https://davincigraph.medium.com/how-dapps-can-utilize-arweave-data-storage-for-nfts-on-hedera-hashgraph-404086170c6c

@KingDaVinciGraph
Copy link

KingDaVinciGraph commented Nov 21, 2024

https://docs.opensea.io/docs/metadata-standards#ipfs-and-arweave-uris

IPFS and Arweave URIs
OpenSea supports the storage of NFT metadata in decentralized file networks, so that they can’t be modified by a central party.

If you use IPFS to host your metadata, your URL should be in the format ipfs://. For example, ipfs://QmTy8w65yBXgyfG2ZBg5TrfB2hPjrDQH3RCQFJGkARStJb. If you plan to store on IPFS, we recommend Pinata for easily storing data. Here's a tutorial by Chainlink for getting started: https://blog.chain.link/build-deploy-and-sell-your-own-dynamic-nft/.

Arweave's equivalent is ar://. For example, ar://jK9sR4OrYvODj7PD3czIAyNJalub0-vdV_JAg1NqQ-o.

How Utilize Arweave Data Storage on Hedera Hashgraph:
https://davincigraph.medium.com/how-dapps-can-utilize-arweave-data-storage-for-nfts-on-hedera-hashgraph-404086170c6c

@svienot svienot self-assigned this Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants