Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jamland/5ecef9a54fd32b1af017add2063fbbf1 to your computer and use it in GitHub Desktop.
Save jamland/5ecef9a54fd32b1af017add2063fbbf1 to your computer and use it in GitHub Desktop.
Trick from j about using devnet uploaded stuff on mainnet (got from office hours)

Using this trick you can test your collection on devnet, verfiy everything on devnet, and don't run arweave uploads twice

  1. Upload all files to devnet, verify files and metadata
  2. Rename devnet-cache to mainnet-beta-temp
  3. Remove program & candyMachineAddress field,
  4. Rename env -> "env": "mainnet-beta"
  5. Set all "onChain": true -> "onChain": false
  6. Run upload command. It will verify and register uploaded data to mainnet-beta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment