Create a new API key
Give the new API key a name...
Finally, click "Create" to generate a new API key. This will take you to a page listing the key. Simply press the "Copy" button to copy it for use in the next section.
Copy the key for use in your config.js file.
config.jsfile in your favorite text editor and add the corresponding API key to the
nftStorageApiKeyfield. For example:
// NFT.storage endpoint
// NFT.storage API key
You can leave
Make sure the rest of
config.jsis filled out according to your project needs. It's particularly important to note the Collection Info section. This information will be used for generating metadata about your collection, and will control how it is displayed in the UI.
//// COLLECTION INFO ////
// The name of your collection
name: 'Collection Name',
// The 3-7 letter ticker symbol for your collection
// Project description
description: 'An awesome NFT series',
// Path to image to use as the main image for the collection
// The URI containing JSON metadata about your contract
// Please follow: https://docs.opensea.io/docs/contract-level-metadata
After filling out your config, and double checking all the details, you're now ready to upload your project to IPFS! Simply run:
yarn run nft-storage-upload
This will output a
baseTokenUri. Be sure to add it to your
With your assets uploaded to IPFS, you are now ready to instantiate your smart contracts.