<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>halaprix</title>
        <link>https://paragraph.com/@halaprix</link>
        <description>undefined</description>
        <lastBuildDate>Fri, 19 Jun 2026 22:46:22 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <image>
            <title>halaprix</title>
            <url>https://storage.googleapis.com/papyrus_images/53471a78a3bf015488afc602614ba5b18f0f05d394527dc790c219fd07cda8e2.jpg</url>
            <link>https://paragraph.com/@halaprix</link>
        </image>
        <copyright>All rights reserved</copyright>
        <item>
            <title><![CDATA[Candy Machine V2 FAQ]]></title>
            <link>https://paragraph.com/@halaprix/candy-machine-v2-faq</link>
            <guid>hNfrsUIDJVPUQa0mG8Rz</guid>
            <pubDate>Thu, 10 Mar 2022 08:09:20 GMT</pubDate>
            <description><![CDATA[tags: faq, solana, metaplex, candy machineConsider getting one of my NFTs https://vol2.shapes.ltd/ :) https://twitter.com/halaprix/status/1490967214216060929 If you have any trouble with Candy Machine deployment, Frontend, Whitelist, reveals, reach out on Twitter @halaprixdQuestions0. Debug with the tool.1. I need a frontend for my candy machineReact:Material-UI v4 - https://github.com/halaprix/shapes-mint-page-cm-v2Material-UI v4Tailwind CSS - https://github.com/halaprix/shapes-mint-page-v2-...]]></description>
            <content:encoded><![CDATA[<h6 id="h-tags-faq-solana-metaplex-candy-machine" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">tags: <code>faq, solana, metaplex, candy machine</code></h6><p>Consider getting one of my NFTs <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://vol2.shapes.ltd/">https://vol2.shapes.ltd/</a> :)</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/halaprix/status/1490967214216060929">https://twitter.com/halaprix/status/1490967214216060929</a></p><p>If you have any trouble with Candy Machine deployment, Frontend, Whitelist, reveals, reach out on Twitter <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/halaprix">@halaprix</a></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/32b7d72752ff264b20c52ab3567119c747f78f49bbaf446734830c5ac89c70ff.png" alt="d" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">d</figcaption></figure><h1 id="h-questions" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Questions</h1><h3 id="h-0-debug-with-the-tool" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">0. Debug with the tool.</h3><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/54b7ef492ee81520d0b049f99bbf33c3823db53bae6f6c96425e076f794f794c.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h3 id="h-1-i-need-a-frontend-for-my-candy-machine" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">1. I need a frontend for my candy machine</h3><p><strong>React:</strong></p><ul><li><p>Material-UI v4 - <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/halaprix/shapes-mint-page-cm-v2">https://github.com/halaprix/shapes-mint-page-cm-v2</a></p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/b5b69241c69b5d2207ad3f0a7aba156ae6767585f17b285b46ebf566c4c8c6dc.png" alt="Material-UI v4 " blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Material-UI v4</figcaption></figure><ul><li><p>Tailwind CSS - <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/halaprix/shapes-mint-page-v2-tailwind">https://github.com/halaprix/shapes-mint-page-v2-tailwind</a></p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/661b754e97016d6f1abc57b4cc578b76128b4cbb0ffe28e2447eb042d168e4c7.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>Bootstrap - <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/halaprix/mint-web-bootstrap-shapes">https://github.com/halaprix/mint-web-bootstrap-shapes</a></p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/a2c27e6aa3f3fcda06b2ab2ed36ff5127632ee841c2f867764ce169667b47be5.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>Vanilla CSS - <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/tonyboylehub/candymachine-v2-boiler-mint-site-noFLP">https://github.com/tonyboylehub/candymachine-v2-boiler-mint-site-noFLP</a></p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/9212cf97cab4775333b6a0eae9408e6d8fc067f44a4d301aafc58b550d070b97.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><ul><li><p>Material-UI v4 - <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/Soul-Dogs-City/candy-machine-v2-mint">https://github.com/Soul-Dogs-City/candy-machine-v2-mint</a></p></li><li><p>Material-UI v4 - <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/rez-cpu/next-candy-machinev2">https://github.com/rez-cpu/next-candy-machinev2</a></p></li><li><p>Material-UI v4 - <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/Fulgurus/candy-machine-v2-responsive-ui">https://github.com/Fulgurus/candy-machine-v2-responsive-ui</a></p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/1a8339862cae421da10053b90222867a9d9b5da06c3bf52bdcd30ae6d6715203.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Svelte:</strong></p><ul><li><p>Tailwind CSS - <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/alvinsga/candy-machine-v2">https://github.com/alvinsga/candy-machine-v2</a></p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/77c1aa6c6ea75f72cdeed9e210262ab4e900fe8868fe1ab768784b773ec9759b.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h3 id="h-2-what-should-i-do-if-my-upload-fails" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">2. What should I do if my upload fails?</h3><p>Usually you just have to rerun the upload.</p><h3 id="h-3-what-upload-method-should-i-use" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">3. What upload method should I use ?</h3><p><code>arwaeve</code> is the most stable one so far and it works on both <code>mainnet-beta</code> and <code>devnet</code>.</p><h3 id="h-4-i-get-429-errors-what-to-do" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">4. I get <code>429</code> errors, what to do?</h3><p>You should use a private RPC or one of the available ones <code>https://psytrbhymqlkfrhudd.dev.genesysgo.net:8899/</code> for devnet, or <code>https://ssc-dao.genesysgo.net/</code> for Mainnet</p><h3 id="h-5-my-nfts-are-mintend-in-random-order" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">5. My NFTs are mintend in random order?!</h3><p>It&apos;s a feature not a bug. You can&apos; change it - they will always be minted in random order.</p><h3 id="h-6-i-get-the-signatureunsubscribe-error-invalid-subscription-id-error-what-to-do" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">6. I get the <code>signatureUnsubscribe error: Invalid subscription id.</code> error, what to do?</h3><p>Nothing - let&apos;s call it a light error and treat it as a warning.</p><h3 id="h-7-i-cant-use-mintonetoken-or-mintmultipletokens-from-cli" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">7. I can&apos;t use <code>mint_one_token</code> or <code>mint_multiple_tokens</code> from CLI!</h3><p>Check if:</p><ul><li><p>captcha is on (you get <code>Error: Transaction failed: Custom program error: 0x1783</code>)</p></li></ul><h3 id="h-8-are-there-any-restrictions-in-the-json-files" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">8. Are there any restrictions in the JSON files ?</h3><p>Yes, a few:</p><ul><li><p><code>name</code> max 31 chars <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://hackmd.io/@halaprix/S1W4vc9CY#Metadata-data">more info here</a></p></li><li><p><code>symbol</code> max 10 chars no spaces</p></li><li><p>max 4 <code>creators</code></p></li><li><p><code>creators</code> shares must add up to 100</p></li></ul><h3 id="h-9-i-need-to-update-my-existing-nfts-what-can-i-do" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">9. I need to update my <strong>existing</strong> NFTs, what can I do?</h3><p>!!! Your CM can&apos;t be withdrawn for the Metaplex CLI method to work! :::</p><ul><li><p>you can use <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://metaboss.rs/">metaboss</a>, there are plenty of options:</p><ul><li><p>update metadata of single NFT <code>metaboss update data --keypair &lt;PATH_TO_KEYPAIR&gt; --account &lt;MINT_ACCOUNT&gt; --new-data-file &lt;PATH_TO_NEW_DATA_FILE&gt;</code></p></li><li><p>update metadata of multiple NFTs <code>metaboss update data-all --keypair &lt;PATH_TO_KEYPAIR&gt; --data-dir &lt;PATH_TO_DATA_DIR&gt;</code></p></li><li><p>update only URI of single NFT <code>metaboss update uri --keypair &lt;PATH_TO_KEYPAIR&gt; --account &lt;MINT_ACCOUNT&gt; --new-uri &lt;NEW_URI&gt;</code></p></li><li><p>update only URI of multiple NFTs <code>metaboss update uri-all --keypair &lt;PATH_TO_KEYPAIR&gt; --json-file &lt;PATH_TO_JSON_FILE&gt;</code></p></li><li><p>you can use the same <strong>Metaplex CLI</strong> you used to <code>upload</code> the Candy machine: <code>ts-node candy-machine-v2-cli.ts update_existing_nfts_from_latest_cache_file -e devnet -k &lt;path to keyfile&gt; -cp &lt;path to config.json&gt; -c &lt;cache file name&gt; -nc &lt;new cache file name&gt;</code> where the new cache file includes updated links. <em>This method updates URIs only!</em></p></li></ul></li></ul><h3 id="h-10-how-much-will-it-cost-me" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">10. How much will it cost me ?</h3><p>Your fee is a sum of two ingredients: Solana rent and Arweave upload fee:</p><ul><li><p>RENT - On average you will pay <code>0.016SOL per NFT</code>, so <code>1.6SOL per 1000</code> and <code>16 SOL per 10k</code>. This can be withdrawn after the CM is fully minted ( or before, but the CM will stop working)</p></li><li><p>Arweave upload fee can be calculated <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://arweavefees.com/">here</a>. At the moment of writing it&apos;s 7$ per GB.</p></li><li><p>If you are using IPFS - the upload is free, you need to provide the keys to the pinning service.</p></li></ul><h3 id="h-11-how-should-i-number-my-assets" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">11. How should I number my assets?</h3><p><strong>REMEMBER #1</strong> First asset pair is <code>0.json</code> and <code>0.png</code> - not <code>1.json</code> and <code>1.png</code>.</p><p><strong>REMEMBER #2</strong> in your <code>0.json</code> the name of the NFT should be <code>Name #1</code> not <code>Name #0</code></p><h3 id="h-12-my-upload-failed-but-i-have-been-charged-xx-sol-what-to-do" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">12. My upload failed but I have been charged <strong>XX SOL</strong>, what to do?</h3><p>If your upload command failed, but charged you a fee (CM has been created, but not written to cache - no files in <code>./cache</code> or there is no <code>program</code> segment in the file) - use <code>withdraw</code>: <code>ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts withdraw -e devnet -k &lt;path to keyfile&gt;</code> You can add<code>--dry</code> at the end of the command to check the amount and don&apos;t withdraw it.</p><p>If you are getting timeouts try using <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://metaboss.rs/">metaboss</a>: <code>metaboss withdraw cm-v2 &lt;CANDY_MACHINE_ID&gt; -k &lt;PATH_TO_KEYPAIR&gt;</code></p><h3 id="h-13-i-need-to-create-the-hash-list" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">13. I need to create the <code>hash list</code>!</h3><p>You can create the list of NFT mint addresses only after the mint has finished - you can create it during the mint, but it will be only partial.</p><ul><li><p>use <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://metaboss.rs/">metaboss</a>: <code>metaboss snapshot mints --candy-machine-id &lt;CANDY_MACHINE_ID&gt; --v2 --output &lt;OUTPUT_DIR&gt;</code></p></li><li><p>use Metaplex CLI: <code>ts-node ~/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts get_all_mint_addresses -e devnet -k &lt;path to keyfile&gt; -c &lt;cache file suffix&gt;</code></p></li></ul><h3 id="h-14-what-is-the-contract-address-for-the-collection" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">14. What is the contract address for the collection?</h3><p>No it&apos;s not like Solidity. Each NFT has a different address.</p><h3 id="h-15-how-do-i-modify-the-frontend" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">15. How do I modify the frontend?</h3><p>Most of the frontend work is done in React -&gt; <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.codecademy.com/learn/react-101">https://www.codecademy.com/learn/react-101</a> -&gt; still won&apos;t work ? Then you can ask 🙂</p><p>Feel free to contact me if you need to have it done.</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/halaprix">@halaprix</a> my DMs are open!</p><h3 id="h-16-are-there-any-limits-to-the-image-size" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">16. Are there any limits to the image size?</h3><p>For <code>arweave</code> storage method, the image size must be at least 25kB and less than 10Mb. For <code>arweave-sol</code> the upper limit is 100Mb.</p><h3 id="h-17-i-need-to-airdrop-my-wl-token-how" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">17. I need to airdrop my WL token, how?</h3><p>You can use one of the community created scripts, that can be found on the Metaplex Discord server.</p><p>Feel free to contact me if you need to airdrop WL token, project tokens, SOL etc. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://twitter.com/halaprix">my DMs are open!</a></p><h3 id="h-18-the-candy-machine-is-not-burning-my-wl-tokens" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">18. The Candy machine is not burning my WL tokens!</h3><p>Your WL token has to have 0 decimals, if not only a decimal part will be burnt during the mint and not &quot;entire&quot; token. This is how it should be created:</p><pre data-type="codeBlock" text="spl-token create-token --decimals 0
spl-token create-account [token address]
spl-token mint [token address] 10
"><code>spl<span class="hljs-operator">-</span>token create<span class="hljs-operator">-</span>token <span class="hljs-operator">-</span><span class="hljs-operator">-</span>decimals <span class="hljs-number">0</span>
spl<span class="hljs-operator">-</span>token create<span class="hljs-operator">-</span>account [token <span class="hljs-keyword">address</span>]
spl<span class="hljs-operator">-</span>token mint [token <span class="hljs-keyword">address</span>] <span class="hljs-number">10</span>
</code></pre><h3 id="h-19-my-mint-interface-is-not-working-the-button-is-disabled" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">19. My mint interface is not working, the button is disabled.</h3><p>Don&apos;t use <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://api.mainnet-beta.solana.com/">https://api.mainnet-beta.solana.com/</a> =&gt; <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.metaplex.com/community#rpc">https://docs.metaplex.com/community#rpc</a>.</p><p>You can use : <code>https://psytrbhymqlkfrhudd.dev.genesysgo.net:8899/</code> for Devnet, or</p><p><code>https://ssc-dao.genesysgo.net/</code> for Mainnet</p><h3 id="h-20-i-need-to-know-all-available-commands-right-now" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">20. I need to know all available commands, right now!</h3><p>Use <code>ts-node \metaplex\js\packages\cli\src\candy-machine-v2-cli.ts help</code></p><h3 id="h-21-i-cant-withdraw-my-candy-machine" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">21. I can&apos;t withdraw my Candy machine .</h3><p>If you are getting timeouts try using <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://metaboss.rs/">metaboss</a>: <code>metaboss withdraw cm-v2 &lt;CANDY_MACHINE_ID&gt; -k &lt;PATH_TO_KEYPAIR&gt;</code></p><h3 id="h-22-i-want-to-make-a-reveal" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">22. I want to make a reveal.</h3><p>You can use <code>update_existing_nfts_from_latest_cache_file</code> for the reveal or all Metaboss methods mentioned earlier.</p><h3 id="h-23-what-the-hell-is-wrong-with-the-c-parameter" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">23. What the hell is wrong with the <code>-c</code> parameter?</h3><p>The -c parameter is used to set the cache name. If you use <code>-c final</code> and <code>-e mainnet-beta</code> - the name of your cache file will be <code>./cache/mainnet-beta-final.json</code></p><h3 id="h-24-phantom-is-grouping-my-nfts-in-a-peculiar-way" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">24. Phantom is grouping my NFTs in a peculiar way?!</h3><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.phantom.app/integrating/tokens/non-fungible-tokens#grouping-non-fungible-tokens">https://docs.phantom.app/integrating/tokens/non-fungible-tokens#grouping-non-fungible-tokens</a></p><h3 id="h-25-is-there-any-additional-fee-can-i-mint-for-free-as-authority" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">25. Is there any additional fee/ can I mint for free as authority?</h3><p>For each mint there is an additional fee (on top of the price) ~0.02SOL - it is the fee for the account that will hold your NFT. Even if you are the autority, you will pay this fee as it is Solana blockchain related (not conencted with CM).</p><h3 id="h-26-read-the-freaking-docs" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">26. Read the freaking docs! :)</h3><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.metaplex.com/">https://docs.metaplex.com/</a></p><h3 id="h-27-where-are-the-generative-art-commands" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">27. Where are the generative art commands?</h3><p>They were depreciated in the main Metplex repository, you can find them here <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/halaprix/simple-NFT-generator">https://github.com/halaprix/simple-NFT-generator</a></p><h3 id="h-28-most-common-whitelist-set-up" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">28. Most common whitelist set up.</h3><ol><li><p>Create the WL token in terminal:</p></li></ol><pre data-type="codeBlock" text="spl-token create-token --decimals 0
# you will receive the token address - use it in the next commands
spl-token create-account [token address]
# 10 is an examplary amount of tokens to mint - use whatever you need
spl-token mint [token address] 10
"><code>spl<span class="hljs-operator">-</span>token create<span class="hljs-operator">-</span>token <span class="hljs-operator">-</span><span class="hljs-operator">-</span>decimals <span class="hljs-number">0</span>
# you will <span class="hljs-function"><span class="hljs-keyword">receive</span> <span class="hljs-title">the</span> <span class="hljs-title">token</span> <span class="hljs-title"><span class="hljs-keyword">address</span></span> - <span class="hljs-title">use</span> <span class="hljs-title">it</span> <span class="hljs-title">in</span> <span class="hljs-title">the</span> <span class="hljs-title">next</span> <span class="hljs-title">commands</span>
<span class="hljs-title">spl</span>-<span class="hljs-title">token</span> <span class="hljs-title">create</span>-<span class="hljs-title">account</span> [<span class="hljs-title">token</span> <span class="hljs-title"><span class="hljs-keyword">address</span></span>]
# 10 <span class="hljs-title"><span class="hljs-keyword">is</span></span> <span class="hljs-title">an</span> <span class="hljs-title">examplary</span> <span class="hljs-title">amount</span> <span class="hljs-title">of</span> <span class="hljs-title">tokens</span> <span class="hljs-title">to</span> <span class="hljs-title">mint</span> - <span class="hljs-title">use</span> <span class="hljs-title">whatever</span> <span class="hljs-title">you</span> <span class="hljs-title">need</span>
<span class="hljs-title">spl</span>-<span class="hljs-title">token</span> <span class="hljs-title">mint</span> [<span class="hljs-title">token</span> <span class="hljs-title"><span class="hljs-keyword">address</span></span>] 10
</span></code></pre><ol><li><p>In your <code>config.json</code> replace <code>&quot;whitelistMintSettings&quot;: null,</code> with:</p></li></ol><pre data-type="codeBlock" text="&quot;whitelistMintSettings&quot;: {
    &quot;mode&quot; : { &quot;burnEveryTime&quot;: true },
    &quot;mint&quot; : &quot;7nE1GmnMmDKiycFkpHF7mKtxt356FQzVonZqBWsTWZNf&quot;,
    &quot;presale&quot; : true,
    &quot;discountPrice&quot; : 0.5
}
"><code><span class="hljs-attr">"whitelistMintSettings"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span>
    <span class="hljs-attr">"mode"</span> <span class="hljs-punctuation">:</span> <span class="hljs-punctuation">{</span> <span class="hljs-attr">"burnEveryTime"</span><span class="hljs-punctuation">:</span> <span class="hljs-literal"><span class="hljs-keyword">true</span></span> <span class="hljs-punctuation">}</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">"mint"</span> <span class="hljs-punctuation">:</span> <span class="hljs-string">"7nE1GmnMmDKiycFkpHF7mKtxt356FQzVonZqBWsTWZNf"</span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">"presale"</span> <span class="hljs-punctuation">:</span> <span class="hljs-literal"><span class="hljs-keyword">true</span></span><span class="hljs-punctuation">,</span>
    <span class="hljs-attr">"discountPrice"</span> <span class="hljs-punctuation">:</span> <span class="hljs-number">0.5</span>
<span class="hljs-punctuation">}</span>
</code></pre><p>where:</p><ul><li><p><code>mint</code> is the token address from step 1.</p></li><li><p><code>discountPrice</code> is the price for whitelist token holders</p></li><li><p><code>presale</code> defines if WL token holders can mint before the public sale (<code>goLiveDate</code>)</p></li><li><p><code>&quot;burnEveryTime&quot;: true</code> - is the default setting where with eachminted NFT one WL token will be burnt in the user wallet. Alternatively you can replace it with <code>“neverBurn” : true</code> to allow multiple mints with one WL token</p></li></ul><h1 id="h-error-list" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Error list</h1><p><code>1770</code> =&gt; <code>IncorrectOwner: Account does not have correct owner!</code> <code>1771</code> =&gt; <code>Uninitialized: Account is not initialized!</code> <code>1772</code> =&gt; <code>MintMismatch: Mint Mismatch!</code> <code>1773</code> =&gt; <code>IndexGreaterThanLength: Index greater than length!</code> <code>1774</code> =&gt; <code>NumericalOverflowError: Numerical overflow error!</code> <code>1775</code> =&gt; <code>TooManyCreators: Can only provide up to 4 creators to candy machine (because candy machine is one)!</code> <code>1776</code> =&gt; <code>UuidMustBeExactly6Length: Uuid must be exactly of 6 length</code> <code>1777</code> =&gt; <code>NotEnoughTokens: Not enough tokens to pay for this minting</code> <code>1778</code> =&gt; <code>NotEnoughSOL: Not enough SOL to pay for this minting</code> <code>1779</code> =&gt; <code>TokenTransferFailed: Token transfer failed</code> <code>177A</code> =&gt; <code>CandyMachineEmpty: Candy machine is empty!</code> <code>177B</code> =&gt; <code>CandyMachineNotLive: Candy machine is not live!</code> <code>177C</code> =&gt; <code>HiddenSettingsConfigsDoNotHaveConfigLines: Configs that are using hidden uris do not have config lines they have a single hash representing hashed order</code> <code>177D</code> =&gt; <code>CannotChangeNumberOfLines: Cannot change number of lines unless is a hidden config</code> <code>177E</code> =&gt; <code>DerivedKeyInvalid: Derived key invalid</code> <code>177F</code> =&gt; <code>PublicKeyMismatch: Public key mismatch</code> <code>1780</code> =&gt; <code>NoWhitelistToken: No whitelist token present</code> <code>1781</code> =&gt; <code>TokenBurnFailed: Token burn failed</code> <code>1782</code> =&gt; <code>GatewayAppMissing: Missing gateway app when required</code> <code>1783</code> =&gt; <code>GatewayTokenMissing: Missing gateway token when required</code> <code>1784</code> =&gt; <code>GatewayTokenExpireTimeInvalid: Invalid gateway token expire time</code> <code>1785</code> =&gt; <code>NetworkExpireFeatureMissing: Missing gateway network expire feature when required</code> <code>1786</code> =&gt; <code>CannotFindUsableConfigLine: Unable to find an unused config line near your random number index</code> <code>1787</code> =&gt; <code>InvalidString: Invalid string</code> <code>1788</code> =&gt; <code>SuspiciousTransaction: Suspicious transaction detected</code> <code>1789</code> =&gt; <code>CannotSwitchToHiddenSettings: Cannot Switch to Hidden Settings after items available is greater than 0</code></p>]]></content:encoded>
            <author>halaprix@newsletter.paragraph.com (halaprix)</author>
        </item>
    </channel>
</rss>