Saltar al contenido principal

Overview

Crossmint is an enterprise-grade web3 development platform that lets you deploy smart contracts, create email wallets, enable credit-card and cross chain payments, and use APIs to create, distribute, sell, store, and edit NFTs.

By abstracting away the core complexities of the Blockchain, Crossmint allows you to build NFT applications without requiring any blockchain experience or holding cryptocurrency, and making the blockchain invisible to end users. Crossmint enables you to provide a Web2 experience for your Web3 apps and onboard users.

Crossmint allows you to import or deploy NFT smart contracts on Astar zkEVM and enable credit card and cross-chain payments for your NFTs.

Prerequisites

  1. Create an account on Crossmint's Console
precaución

Crossmint has two different consoles, they are, Production (Mainnet) and Staging (Testnet). It is highly recommended that you use the Staging Console (Testnet) first before proceeding with the Production Console (Mainnet). Click here to head over to the Staging Console.

How to Create an NFT Collection on Astar zkEVM

  1. Create an API Key using Crossmint's Console.
  2. Use the code snippet below to create an NFT Collection on Astar zkEVM.
const options = {
method: "POST",
headers: {
"X-API-KEY": "<API_KEY_HERE>",
"Content-Type": "application/json",
},
body: '{"chain":"astar-zkevm","fungibility":"non-fungible","metadata":{"description":"Astar zkEVM NFT Collection","imageUrl":"imageURL.com/image.png","name":"Astar Collection"},"payments":{"price":"pricePerNFT","recipientAddress":"theRecipientWalletAddress"}}',
};

fetch("https://crossmint.com/api/2022-06-09/collections/", options)
.then((response) => response.json())
.then((response) => console.log(response))
.catch((err) => console.error(err));

  1. Login into Crossmint's Console to see the NFT Collection that you created.
  2. You can create NFTs from the Console and also create a No-code Storefront for your NFT Collection to accept fiat or cross-chain payments as mentioned here.
  3. Refer to the complete documentation here.

Please refer to this detailed step-by-step guide on how you can achieve this.