Before you launch your store, you need to prepare your product list. This JSON file tells ZeroCut what you're selling, for how much, and where the files are stored.
!!! info "Required Fields"
- storeName: The title of your store.
- walletAddress: Your Solana (or target chain) public key.
- products: An array of items. Each needs id, name, price, description, and downloadUrl.
Product Template
Copy the JSON below and save it as metadata.json, products.json.
[
{
"id": "1",
"name": "Premium Video Course",
"description": "Master the fundamentals with this comprehensive video course covering advanced techniques.",
"price": 0.05,
"currency": "SOL",
"image": "",
"downloadUrl": ""
},
{
"id": "2",
"name": "UI Kit Bundle",
"description": "A collection of high-quality UI components for your next project.",
"price": 25,
"currency": "SOL",
"image": "",
"downloadUrl": ""
},
{
"id": "3",
"name": "E-Book: Complete Guide",
"description": "The ultimate guide to building modern applications from scratch.",
"price": 0.1,
"currency": "SOL",
"image": "",
"downloadUrl": ""
}
]
Validation Checklist
Ensure your JSON passes these checks before uploading:
- [ ] Valid JSON: No trailing commas.
- [ ] Direct Links:
downloadUrlmust point to the raw file, not a landing page. - [ ] Wallet Correctness: Test with a small amount first.
!!! tip "Hosting Your JSON" Once ready, upload this file to Arweave (via ArDrive) for permanent hosting(you can use google drive, jsdelivr, cloudflare, anything tbh). Use the resulting URL for your VITE_PRODUCT_JSON_URL, VITE_METADATA_JSON_URL environment variable.
Use this to prepare your products list before uploading to Arweave/CDN.