Skip to main content

In Discord Minting Bot

Notes: This bot is for only SOL's Candy Machine V2 mints. Launchmynft mints coming later.


Discord users can mint NFTs through Discord commands:
/buy cmid: XXXX private_key: xxxxx amount: 1 custom_rpc: xxxx (optional)

Features:

  • Minting multiple NFTs: Users can mint the multiple NFTs through a single command, with no software or logging into a wallet
  • Bypass the bot tax fee: Metaplex has added a bot tax fee to prevent bot in CMv2 minting. To avoid this, we make a simulated transaction before sending the real transaction. If there is a bot tax fee in the simulation, we will not make a real transaction
  • Bypassing Civic: Civic is a captcha handler, designed  to prevent bots. To bypass it, users should register their wallet in this website - https://getpass.civic.com/ - before the mint has started
  • Supports custom RPCs: If a user want to use their own RPC, they can pass it in the discord command


Steps:

Command: /buy cmid: _ private_key: __ amount: __ 

image-1657288028351.png

1. The first step is putting the Candy Machine ID under "cmid". You can get this in our Discord by using the /cmid command on a live mint URL. Note this must be an ID, such as 8dSGtzxCtqP3Wx3EgBFt5J5Lpavr7rTdPzyoHZfA1ova. It must NOT have a URL such as https://mint.kalisten.app/

2. Private key is your wallet address. You need to create a new wallet first - as this needs to be a TRUE burner. This wallet must not be connected to any other wallets. It should also only have < 5% of your total NFT net worth.

You have 2 options to do this:

2.1 Create a new Google Chrome profile

  • Go to the top right button and click your profile
  • Click "+ add"

Screenshot 2022-07-08 224515.png

  • Click Sign in or Continue without an account, and then follow the prompts

image-1657293974074.png

    2.2 OR use a New Browser

    • If you're using for example Google Chrome as your main browser for your wallet, then create a new wallet in another browser (Microsoft Edge, Firefox, and, etc.)
    • Download & Install Phantom

    3. Follow the steps on creating a wallet

    image-1657287937664.png

    • Create a new wallet
    • Label it as Burner

    image-1657287971122.png

    • Transfer some SOL to mint (note - when minting, you must always be willing to risk 100% of what you put in!)

    image-1657287991889.png

      4. To get the private key, click "Settings" on the bottom right of Phantom, then "Export Private Key". Enter your password, then click "Copy"

      4.Paste it in Private key in the bot command

      5. Enter the desired quantity you want to mint

      6. Press enter. If the message shows a success, then check your wallet and you can see the NFT

       

      What the private key is being used for:

      1. Fetching candy machine state
      2. Creating a transaction:
        - Create account
        - Init Mint instruction
        - Create associated token account
        - Mint to Instruction
        - Candy machine v2 Mint instruction
      3. Create another transaction in else statement
        - Candy Machine mint E instruction