Stargaze
  • Welcome
    • Coming from Ethereum?
    • Coming from Solana?
    • Coming from Coinbase or other exchange?
    • Coming from MANTRA?
  • Introduction
    • What is Stargaze?
    • Meet the Team
  • Core Apps
    • Launchpad
      • Minters
      • Whitelists
      • Minter and Whitelist Fees
    • Marketplace
      • Governance Parameters
    • Names
    • Live Auctions
    • Infinity Swap
      • How it works
      • Price Mechanics
      • Swap
      • Why use Infinity Swap
      • Infinity Swap Fees
      • Examples
    • DAO DAO
    • StarDEX
      • Navigating StarDEX
      • Swapping Tokens
      • Providing Liquidity
      • Pool Analytics & Metrics
      • Managing and Removing Liquidity
  • Creators
    • Launching a Collection on Stargaze
    • Collection Guidelines
    • Content Guidelines
    • Featured Projects
  • Creator Tools
    • Stargaze Studio
      • Create an NFT Collection
        • Upload Assets and Metadata
        • Configure Collection and Minting Details
        • Creating a Standard Collection
          • Upload Assets and Metadata
          • Configure Collection and Minting Details: Standard Collection
          • Whitelist and Royalty Options
        • Creating an Open/Limited Edition Collection
          • Upload Assets and Metadata
          • Configure Collection and Minting Details: OE/LE
          • Whitelist and Royalty Options
        • Creating a 1/1 Collection
          • Upload Assets and Metadata
          • Configure Collection Details: 1/1 Collection
          • Whitelist and Royalty Options
          • Adding Additional Tokens to a 1/1 Collection
        • Creating a Burn to Mint Collection
          • Upload Assets and Metadata
          • Configure Collection and Minting Details: Standard Collection
          • Whitelist and Royalty Options
      • Interact with a Collection
        • Execute Messages
        • Query Data
    • Launching an NFT project via CLI
      • 1. Setup a basic project
        • 1a. Need help?
      • 2. Configure your project
      • 3. Add assets and metadata
        • Pinata Upload
      • 4. Instantiate minter contract on testnet
      • 5. Whitelist
      • 6. Mint from your contract
      • 7. Query contract
      • 8. Testing your contract on testnet
      • 9. Launching on mainnet
        • 9a. Launching on mainnet with Keplr (optional)
    • Create a Multisig Wallet
      • Create a Multisig using Keplr
      • Create a Multisig using DAO DAO
      • Create a Multisig using CLI
    • Stargaze Studio Fees
  • Developers
    • CosmWasm Contracts
      • Contract Code IDs
      • Deploy to Testnet
      • Deploy to Mainnet
    • Stargaze API
    • Indexers
      • Constellations
      • SubQuery
    • Token Factory
    • Minting and Trading Denoms
  • Tokenomics
    • STARS Token
    • Fair Burn
    • Real Yield
    • Governance
  • Nodes & Validators
    • Getting Setup
    • Running a Full Node
    • Setting up Cosmovisor
    • Running a Validator
    • Configuring StateSync
    • Running a Relayer
    • Foundation Delegation Program
  • Extras
    • FAQ
    • Stargaze Assets
    • Ranking and Algorithms
Powered by GitBook
On this page
  1. Creator Tools
  2. Launching an NFT project via CLI

9. Launching on mainnet

You have thoroughly tested your contracts on testnet. The images and metadata reside on IPFS. You only need to change some values in config.js before launching on mainnet.

  • Change the RPC endpoint to the mainnet endpoint rpcEndpoint: 'https://rpc.stargaze-apis.com/'.

  • Change startTime of the launch. i.e: 3pm EST on Friday, March 25, 2022, and format it to UTC: startTime: '2022-03-25T19:00:00.000Z'.

  • Change account to your mainnet account.

  • Comment out (add // before all the contract codes)CONTRACT CODE IDs: Castor Testnet

  • uncomment (remove // before the contract codes sg721CodeId, minterCodeId, whitelistCodeId) CONTRACT CODE IDs: Mainnet

Now you're ready to deploy.

Whitelist start_time and end_time should come before Public Mint start_time. Airdrops can be done irrespective of any start_time. Ex: You launch your minter contract to mainnet on 12/24/2022 with Whitelist starting on Christmas (12/25/2022) and Public Mint the day after (12/26/2022). You can airdrop on Christmas Eve (12/24/2022) or Christmas (12/25/2022) or during Public Mint. With great power comes great responsibility.

At any time, before whitelist, during whitelist sale, or during public sale you are able to use mint_to(address) or mint_for(token_id, address) to do airdrops. If the special airdrop tokens are early token ids (i.e: 1, 2, 3, etc), then you want to deploy your contract early and give yourself enough time to run the airdrop and check the results.

Congratulations, you're officially a Stargaze Creator.

Previous8. Testing your contract on testnetNext9a. Launching on mainnet with Keplr (optional)

Last updated 1 year ago