Introduction
Welcome to the Woofswap NFT Factory! This guide explains how to create, manage, and mint NFTs on the Shibarium blockchain using our interface. Follow these steps to launch your NFT collection.
Setting Up JSON Metadata (Base URI)
The Base URI points to a JSON file defining metadata for all NFTs in your contract (e.g., name, description, image). Here's how to set it up:
1. Create the JSON Metadata File
Create a JSON file (e.g., `metadata.json`) with this structure:
{
"name": "Your NFT Collection",
"description": "A unique NFT collection on Shibarium",
"image": "https://ipfs.io/ipfs/Qm.../image.png"
}
- name: Collection name.
- description: Collection description.
- image: Image URL (e.g., IPFS or GitHub Pages).
All NFTs share this metadata since the contract uses a single Base URI. For unique metadata per NFT, contact a developer to modify the contract.
2. Host the JSON and Image Files
Host your JSON and image files on IPFS or a web server. Recommended options:
Option 1: IPFS (Using Pinata)
- Sign up at Pinata.
- Upload your image (e.g., `image.png`). Copy the IPFS URL (e.g., "https://ipfs.io/ipfs/Qm.../image.png").
- Update `metadata.json` with the image URL.
- Upload `metadata.json`. Copy the IPFS URL (e.g., "https://ipfs.io/ipfs/Qm.../metadata.json").
- Use this URL as the Base URI.
Option 2: GitHub Pages
- Create a GitHub repository (GitHub).
- Upload your image and `metadata.json` (e.g., `nft/metadata.json`).
- Enable GitHub Pages in the repository’s Settings > Pages, selecting the main branch.
- Get the URL (e.g., "https://yourusername.github.io/your-repo/nft/metadata.json").
- Use this URL as the Base URI.
Option 3: NFT.Storage
- Sign up at NFT.Storage.
- Upload image and JSON files via the web interface.
- Copy the IPFS URLs.
- Use the JSON URL as the Base URI.
3. Set the Base URI
Follow the "Set the Base URI" steps above to apply the URL to your NFT contract. Ensure the URL is publicly accessible.