---
# System prepended metadata

title: NFT Minting
tags: [Guides]

---

---
tags: Guides
---

# NFT Minting

Resources:
https://dev.to/emanuelferreira/how-to-create-a-smart-contract-to-mint-a-nft-2bbn

https://docs.crossmint.io/docs/quickstart

later build Google Sheet to NFT
https://docs.crossmint.io/docs/example-projects

https://docs.crossmint.io/reference/mint-nft

Step 3

The pending transaction status will share with you the ID to the left. 




![](https://i.imgur.com/EiyW0ey.png)

The id: 27968fe3-0e83-4d64-94f4-8067d2c18507

Will then place at the end of w/o brackets:

```
curl --header "x-client-secret: <CLIENT SECRET>" \
  --header "x-project-id: <PROJECT ID>" \
  -X GET \
  https://staging.crossmint.io/api/2022-06-09/collections/default/nfts/27968fe3-0e83-4d64-94f4-8067d2c18507
  ```


## Environmental Variable

**export CLIENT_SECRET=<actual client secret> **
instead of copying multiple times, you can use the environment variable over and over again, thus making instructions more portable

and then can publish without worring about losing wallet




**echo $CLIENT_SECRET**
a demonstration on how you can use the client secret and echo it back to you
    
    

Production Checklist
https://docs.crossmint.io/docs/production-launch-checklist
    
    
Production NFT
    
    This worked
    ```
    curl --header "x-client-secret: sk_test.yWEG3Rc1.UWsFuV2gqBGeJ4TGA5y8EkU5uRhFPfe2" \
  --header "x-project-id: 198930d9-50a5-4aa7-924e-6b33a51b7f72" \
  -X POST \
  -H 'Content-Type: application/json' \
  -d '{
    "metadata": {
        "name": "Crossmint Mint API Test",
      "image": "https://www.crossmint.io/assets/crossmint/logo.png",
      "description": "Test NFT created by the Crossmint Minting API"
     },
     "recipient": "email:mgrhxwork@gmail.com:solana"
    }' \
https://staging.crossmint.io/api/2022-06-09/collections/default/nfts
    ```
    
    
First Attempt Dec 7
https://staging.crossmint.io/user/collection/sol:9ndyLRVprCQ3TYMo465aGiYicYnnioXbfAJB5gzWSmhs
    

    
Todo list:

- ask why I'm "unauthorized"
![](https://i.imgur.com/dImPM4W.png)

    
See my collection in staging here: 
    
https://staging.crossmint.io/user/collection

    
 How do I  
minting multiple collections with crossmint