NFTs

Creating and Using NFTemplates

5min

NFTemplates are NFT "templates" or "blueprints" that you can generate and mint NFTs against. These are powerful and efficient because you can then launch NFT campaigns via e-mail/social media or through a website and distribute NFTs without having to pre-mint them (which incur transaction fees).

Here's how they work:

Step 1. Create an NFTemplate

Create an NFTemplate by going to any NFT collection you've already created and then clicking Create/Mint NFT. This will open a form where you are able to enter NFT details.

Check the This is an NFTemplate box and press Create.

You now have an NFTemplate to distribute in campaigns or connect with your website.

Step 2a. Generate a Mint Link for the NFTemplate

Mint Links are links that you distribute to allow anybody to mint/claim/create the NFT on the fly. To generate a Mint Link, find the NFTemplate you created from the list of assets for the selected NFT Collection. Click on Mint Link to open a modal box that will display a URL which you can copy to your clipboard and use in e-mail campaigns, on landing pages, and on social media.

See it in action



Step 2b. Connecting NFTemplates with your website

To integrate NFTs with your website, NFTemplates can easily be dropped in by doing nothing more than configuring a form and setting the action attribute to Enefits.

You'll need to set up a form like as shown below and ensure that you have the action of the form set to https://x.enefits.co/boomerang.

Then, display an e-mail collection field and ensure that the name of the field is email.

Finally, there are 3 required hidden fields that will need to be passed as well.

  1. nftemplate_id: When you create your NFTemplate, a nftemplate_id will be generated for you
  2. successURL: This is where we send your users after the NFT has been minted and delivered to the e-mail address provided.
  3. failedURL: This is where we send your users if there was a problem minting the NFT.
HTML


Tip: To prevent bots from submitting the form, add a CAPTCHA solution such as hCaptcha.

Need help using NFTemplates with your website or marketing campaign? Contact your account manager or e-mail [email protected].