Announcing Crossmint’s NFT Minting API! | by Crossmint | Crossmint Tech | Aug, 2022

Announcing the Crossmint Minting API. With one line of code, no knowledge of smart contracts, and no crypto, developers can programmatically create an NFT and deliver it to anyone in the world — even if they don’t own a crypto wallet.

😓 Minting is hard

At Crossmint we’ve been proud to support sales for hundreds of NFT collections, from marketplaces and launchpads to individual creators. Creators using Crossmint increase their sales by 30–50% per drop by making it easier for people to buy with just their credit card and an email.

However, we believe that not all NFTs need to be sold to provide value. A videogame may want to reward users by minting them an NFT to represent a rare in-game item or custom skin. You may want to mint a personal digital gift card to your friend on their birthday. Brands may want to reward their most loyal customers with personalized NFTs that unlock discounts and rewards.

But creating and delivering NFTs is very hard for new developers in the space, and even harder for their intended recipients. Creating an NFT requires knowledge of smart contracts, access to cryptocurrency, careful audit and validation of metadata, security audits, and more. Receiving an NFT requires the recipient to set up a crypto wallet, provide the sender with information about their address (drop your ENS, anyone?), and sometimes even pay crypto to cover gas fees. This ends up leaving a lot of people behind.

Today, we’re making the process of creating and delivering NFTs 100 times simpler for developers. All it takes is creating an account on the Crossmint console, and invoking one line of code:

curl -X POST 
-H 'x-client-secret: <MY API SECRET>'
-H 'x-project-id: <MY PROJECT ID>'
-H 'Content-Type: application/json'
-d '{ "metadata": { "name": "Mint API Test", "image": "https://www.crossmint.io/assets/crossmint/logo.png", "description": "Test NFT created by the Crossmint Minting API" }, "recipient": "email:peter@test.com:poly" }'

Under the hood, this line of code does all of the following:

1. Acquiring crypto to pay gas fees
2. Deploying a security audited smart contract, preconfigured for editability, flexible ownership changes, burnability, etc.
3. Validating NFT metadata to ensure it works well in wallets and marketplaces
4. Uploading NFT metadata to the IPFS network, as well as to a CDN for fast access
5. Minting an NFT
6. Creating a wallet for a user, and associate it with their email. Alternatively, you can send an NFT directly to a Web3 wallet address.
7. Providing a UI for users to claim their NFT and optionally export it out to their own wallet, without paying any gas fees whatsoever.

By managing NFT creation and delivery end-to-end, Crossmint can save companies from the hassle of managing keys and cryptocurrency, and the potential security hazards that come with it. This, in turn, means weeks saved from security, legal, finance reviews, and removing complications during employee off-boarding. All you need is a credit card on file and 10 minutes of an engineer’s time to send NFTs to any of your customers!

We’re excited about the numerous use cases around NFTs that become easy with the Minting API:
1. Certificates
2. Awards
3. Tickets
4. Videogame assets

…and so much more!

As a showcase of what can be built, we asked 5 Crossmint team members to build something using the Crossmint Minting API in an afternoon. Here’s a look into what they built:

“Mintie”, a Discord Bot, which lets anyone mint an NFT on Polygon with a single command:

Try out MintieBot in our server: discord.gg/crossmint

What if anyone could mint a tweet as an NFT? Well, now you can with the Twitter cousin from Mintie Bot. Simply tag the bot, add an email address in your reply, and receive an NFT of the tweet right to your Crossmint wallet (associated with the email address you use):

Find @MintieBot on Twitter!

The Crossmint Minting API is launching today, in beta, on Polygon and Solana testnets. It’s free to use on testnets, and it will be launching on mainnets very soon.

Try it yourself — it’s completely free on testnet!

1. Visit the Crossmint developer console at https://staging.crossmint.io/console.

2. Click “All Projects” in the projects dropdown on the left sidebar.

3. Once at the project screen, click into your default project, and create an API key with nfts.write and collections.create scopes! Then, visit our docs to get started: https://docs.crossmint.io/mint-nfts/nft-minting-api

If you’d like to use the API in production, please fill out this interest form.

🧑🏻‍💻Oh, and one more thing…
To celebrate the launch of the Minting API, the Crossmint team is organizing a community hackathon with $2,500 in prices, as well as swag and free NFTs! If you’d like to learn more, join us in Discord and follow us on Twitter — announcements on how to participate are coming soon!

What blockchains are supported?
Solana and Polygon, with more coming in the future.

How much does it cost to use?
We’re still finalizing pricing, but we want to make sure that the time savings will make it worth it.

Who pays the gas fees?
Crossmint pays the gas fees. As a developer you only need to put a credit card on file and you’ll get charged the equivalent amount in fiat.

How can users receive NFTs if they don’t have a wallet?
Crossmint creates custodial wallets for users where their NFT is stored until they decide to take it out.

Can I create NFTs and send them to a Metamask / Phantom / … wallet?
Yes, this is supported out of the box.

Wouldn’t this be abused for spam?
We take spam very seriously. We plan to monitor and kick out of the platform anyone abusing it.

If I use the Minting API, does Crossmint have the keys to my contract?
To allow for one line of code minting, Crossmint has to have the ability to mint NFTs against your smart contract. However, we offer the ability to edit the authority of your smart contracts, so you can always retain full control and don’t remain locked in to our platform.

Author: Traciwininger

Leave a Reply

Your email address will not be published.

Back to top button

Sign In


Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.