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

Feature Request: Mintbase NFT metadata referece now points to full url #58

Open
nategeier opened this issue Dec 5, 2022 · 1 comment

Comments

@nategeier
Copy link

nategeier commented Dec 5, 2022

Mintbase just updated our NFT metadata to make pulling the metadata easier stored off chain. Older contracts will stay the same. New ones will now have the full URL on the reference to fetch metadata, no longer needing to concatenate base_uri looks like...

IMAGE 2022-12-05 15:42:33

We did this so a single contract can have multiple storage points (IPFS + Arweave + etc...)

Can test new contract with on mainnet...

 near view grants.mintbase1.near nft_token '{"token_id": "1"}'

IMAGE 2022-12-05 15:42:37

The old contracts stay the same and is currently working on NEAR Social. Please do not change this logic.

near view mintbase.mintbase1.near nft_token '{"token_id": "1"}'

Screenshot 2022-12-05 at 15 48 24

@evgenykuzyakov
Copy link
Contributor

@nategeier please fork the widget https://near.social/#/mob.near/widget/NftImage?contractId=grants.mintbase1.near&tokenId=1 and fix the issue there.

You can use props tab to set the following json for debugging the issue:

{
"contractId":"grants.mintbase1.near",
"tokenId": "1",
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants