✨ Magic NFT Services Overview ✨

✨ Magic NFT Services Overview ✨

Magic offers a range of NFT services, guides, and examples to help you create and deploy contracts, mint NFTs, and integrate our fiat-based NFT Checkout experience for your users. Check out each of the pages below, or reach out to Magic Support to get a full walkthrough of each service.

#Smart Contracts

Guide: Smart Contracts

Guide: Magic Studios

The core of every NFT project is a Smart Contract, which holds all the information about your NFT collection on-chain. Magic's Minting and NFT Checkout services support ERC-721 and ERC-1155 contracts on Polygon and require some additional implementation details. See the full Smart Contracts guide for more information on building your own contracts.

If you don't have in-house experience with Smart Contracts, the Magic Studios team can help you every step of the way, including:

  • Smart Contract design and feature selection
  • Implementing contracts based on ERC721 and ERC1155 standards
  • Contract auditing through our partnerships with expert auditors
  • Metadata creation and upload
  • Image hosting (IPFS or proprietary storage)
  • Contract deployment and integration testing

Check out the Magic Studios page for more info, or reach out to Magic Support or your Magic Customer Success representative to discuss how we can help you.

#NFT Minting and Delivery API

Guide: NFT Minting and Delivery API

Once you have a Smart Contract on the blockchain, you can start minting! Our API service is ideal for Airdrops, "free mints", or scenarios where you will handle Fiat payments on your own (versus using our NFT Checkout Service).

We offer an API you can call from your backend, which kicks off the NFT Minting process for a specific NFT. The API allows for large-scale, gasless NFT minting via our patented "aggregator" infrastructure. Simply tell the API which contract, token ID, and destination wallet to deliver the NFT to and we will do the rest. See our API docs for more information.

01const magic_resp = await fetch("<https://nft-api.magic.link/v1/nft/1155/start_mint>", {
02  method: "POST",
03  headers: {
04    "Content-Type": "application/json",
05    "X-Magic-Secret-Key": <sk_live_xxxxxxx>,
06  },
07  body: JSON.stringify({
08    contract_id: <contract_id>,
09    token_id: int,
10    quantity: int,
11    destination_address: str,
12  })
15const magic_json = await magic_resp.json()
16const request_id = magic_json.data['request_id']

#NFT Checkout Service

Guide: NFT Checkout Service

If you want to enable fiat payments for NFTs (credit / debit, other payment providers) you can integrate our NFT Checkout Service into your app. Through our partnership with PayPal, you can use the Magic SDK to launch a checkout window, which guides users through an end-to-end payment and minting flow. At the end of the checkout, your users will have a minted NFT in their wallet and will be returned to your site.

#Magic Wallet: NFT Features

Once your users have NFTs minted into their wallets, they can use the Magic Wallet UI Widget to view, explore, and transfer their NFTs.