Bellscoin Mint Page Template

The original mint page is available as a template for a typical mint experience for $BELLS. You can download it here It simulates a mint process by sending the inscriptions from a certain wallet to another after signing a tx with the nintondo wallet.

This will not work with all wallet types depending on your inscription methods. If you use old school P2SH inscriptions, Taproot will not be supported.

Settings and Preparations

  • The collection must be completely set up, i.e., all inscriptions must already be available in a wallet and there must be an inscriptions.json file in ordinals standard format. You can use BellsNftTools to inscribe your collection as it creates this file at art creation for you and puts in the ids from the inscribing process.

  • You have to set your treasury address that will receive the mint funds:
    const treasuryAddress: string = "YOUR_TREASURY_ADDRESS_HERE";
    const donationAddress: string = "BEGJMVqLYRJkGwvwmsZDDjERpzxGqdyzXT"; // This is the official bellschain donation address

  • You will need to set up an .env file (or environment vars when you deploy via Vercel) with the private key and the wallet address of the wallet that holds the inscriptions:
    NEXT_PUBLIC_PRIVATE_KEY=<PRIVATE_KEY>
    NEXT_PUBLIC_ADDRESS=<WALLET ADDRESS>

  • If the rarity function is to be used, then the rarity.json file must be available (see public folder). This can be created from the correct inscriptions.json file in the ordinals standard with this BellsNftTools. This collection can also help to inscribe the collection.

  • The number of mints is already predefined in the return function of the page.tsx file. This can simply be changed as required:
    <button
        onClick={() => ChangeAmount(5)}             // change this number here
        role="tab"
        className={
        mintAmount === 5                            // and here
        ? "tab tab-active"
        : connected
        ? "hover:bg-secondary tab"
        : "tab"
        }
        disabled={!connected} >
        <div className="flex gap-2">
            <div>5</div>                                // and here
        </div>
    </button>

  • There should be a minimum understanding of the structure of a transaction in order to be able to adapt the MintInscription() function if necessary. The website assumes that, as with the ChibiBElls mint, half of the mint price will go directly to the bellscoin donation address if this is not desired:
    psbt.addOutput({
        address: treasuryAddress,
        value: brice / 2,         // If you don´t want to donate to bellschain, delete the division by 2, just "brice"
    });
    
    psbt.addOutput({            // If you don´t want to donate to bellschain, delete this output
        address: donationAddress,
        value: brice / 2,
    });

  • To use the whitelist feature you just need to add addresses to the whitelist.json file in the following format:
    [
        {
        "address": "ADRRESS_1"
        },
        {
        "address": "ADRRESS_2"
        },
        {
        "address": "ADRRESS_3"
        },
        ...
    ]

Text Effects

You can use the following text effects to adjust the appearance inside the classNames:

  • neon-text
  • blink
  • color-change
  • fire-text (this requires a data-text field in the object with the same text)