Skip to content

Instantly share code, notes, and snippets.

@cvk-nft
Last active September 30, 2022 09:27
Show Gist options
  • Save cvk-nft/336f6c8d6473ca5e53b787594c29ee97 to your computer and use it in GitHub Desktop.
Save cvk-nft/336f6c8d6473ca5e53b787594c29ee97 to your computer and use it in GitHub Desktop.
Step 0: Do all of the below on a test NFT first!!!
Make sure you are able to follow the directions and make a working NFT before you hack up one you really care about!
Make sure to check the NFT on various marketplaces, and ensure it looks right / works right!
1: Look into setting the token_uri of your Manifold NFTs to a custom URI, via these methods:
https://docs.manifold.xyz/v/manifold-for-developers/smart-contracts/manifold-creator/contracts/creator-core/common-functions#metadata-functions
You can call these methods on a deployed contract with a minted NFT by using etherscan, just plug in the deployed contract's address in the url below:
https://etherscan.io/address/<Contract Address>#writeContract
Specifically, setTokenURI is probably the method to go for.
2: Create your NFT using standard Manifold Studio tools. Upload the artwork, etc. It will all go to Arweave by default.
3: Download the generated metadata for the arweave-based NFT.
4: Upload your artworks to IPFS:
You can use any IPFS pinning service, such as:
https://www.pinata.cloud/
https://infura.io/product/ipfs
or any other you prefer.
As you upload each file, you will receive a CID / Hash for each file from IPFS. You will need to edit the downloaded metadata file to replace the Arweave links with links like:
ipfs://<CID>
5: Upload the edited metadata file to IPFS. You will receive a CID / Hash for this file as well. Write it down.
6: Use the ability to set the token_uri from step 1 to replace the existing token_uri with one of the form:
ipfs://<CID>
...pointing to the metadata file you uploaded to IPFS. Done!
With love,
@originalcvk
@cvk-nft
Copy link
Author

cvk-nft commented Jun 13, 2022

Thanks to:
@studionouveau_
yungwknd#6896 (Admin on the Manifold Discord)

For confirming and providing a documentation link!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment