Marinade Documentation
  • 👋Welcome to Marinade
  • 🛠️Marinade DAO
    • Contributors
  • 👨‍🍳The MNDE token
  • 🗳️MNDE Governance
  • 🔗Official Links
  • 📊Marinade Stats
  • Getting started
    • What is mSOL?
    • What is Marinade Native?
    • FAQ
    • Glossary
  • Marinade Protocol
    • Introduction
    • Protocol Overview
      • Marinade Native
      • Marinade Liquid
        • mSOL Token
        • Bot operations
      • Marinade Select
      • MNDE Enhanced Stake
      • mTransactions
      • Protected Staking Rewards
      • Stake Auction Market (SAM)
    • Security
      • Audits
      • Principal Service Commitments and System Requirements
      • Multisig governance
    • Legal
      • Risks
      • Disclaimer
  • developers
    • Marinade Ts/Js SDK
    • Marinade Rust SDK
    • Anchor IDL
    • Bug Bounty
    • Contracts & Tokens Addresses
    • Delegation Strategy API
    • Marinade Stats API
    • Snapshots API
    • Mint your NFT project in mSOL
    • Stake to Marinade via SPL governance
    • Stake to Marinade via Fireblocks
  • Partnerships
    • Become our Partner
    • Marinade Press Kit
    • Marinade Referral Program
Powered by GitBook
On this page
  • Set up Metaplex Candy Machine with mSOL
  • Setup
  • Candy_Machine creation
  1. developers

Mint your NFT project in mSOL

We know how cool NFTs are, so we made it possible to mint NFTs using mSOL!

PreviousContracts & Tokens AddressesNextStake to Marinade via SPL governance

Last updated 10 days ago

Set up Metaplex Candy Machine with mSOL

Setup

  • Download or clone it using Git on terminal.

git clone https://github.com/metaplex-foundation/metaplex.git

  • Open your terminal and go to the downloaded Metaplex folder.

  • Build CLI tools.

cd js

yarn install

cd packages/cli

yarn build

Before you upload the metadata and create your candy_machine, you need to make sure that you have the right wallet configuration by using Solana CLI.

  • Once the wallet configuration is done, prepare the metadata and upload them to Arweave (IFPS).

  • Prepare your metadata and create an assets folder with them.

ts-node ./src/candy-machine-cli.ts upload ./assets --env devnet --keypair ~/.config/solana/wallet.json

  • Verify if the metadata were uploaded correctly.

ts-node ./src/candy-machine-cli.ts verify --env devnet --keypair ~/.config/solana/wallet.json

Candy_Machine creation

  • To create a candy_machine with mSOL, you need a treasury account to receive mSOL from the mint. To create the mSOL account for your wallet, use the command below.

spl-token create-account mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So

  • Create your candy_machine with price, token address and treasury account address.

ts-node ./src/candy-machine-cli.ts create_candy_machine --env devnet --keypair ~/.config/solana/wallet.json --price 1 --spl-token mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So --spl-token-account HeiKAj3ENkAam3rR6q9EtEiSuk2ZEXp87ypQUMBuxpV

  • Finally, you can set the launch time of the mint using the update_candy_machine command.

ts-node ./src/candy-machine-cli.ts update_candy_machine --env devnet --keypair ~/.config/solana/wallet.json --date 1638023250

The update_candy_machine command can also be used to modify the mint price.

Congratulations, your candy machine is now set up in mSOL!

Metaplex