> For the complete documentation index, see [llms.txt](https://docs.niftykit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.niftykit.com/customize-your-experience/integrate-credit-card-minting/edition-collection-credit-card-integration.md).

# Edition Collection Credit Card Integration

{% embed url="<https://www.youtube.com/watch?v=imYjF0hyPss>" %}

**Step 1: Sign up for Crossmint**

To get started, sign up and create a developer account at [crossmint.com](https://www.crossmint.com/console/create-account)

### **Step 2: Register Your Collection**

Once you've signed up, you'll need to register your collection. Here's how:

1. **Collection Details**: Enter the details of your collection, such as the name and description.
2. **Contract Registration**: Enter your contract address. You can get it by looking up the Etherscan link on your public mint page in your NiftyKit account

<figure><img src="/files/XjLS2EyavJnjdLbTqUED" alt=""><figcaption><p>Getting Contract address to your NFT Collection</p></figcaption></figure>

<figure><img src="/files/9DIVRqGfQlPLQiTyveZB" alt=""><figcaption><p>Copying your contract address from etherscan</p></figcaption></figure>

Make sure to choose the following:

* Network of your Contract
* Contract Type: ERC-721
* Contract Address
* Contract ABI - Copy/Paste the following ABI

```json
[{"inputs":[],"name":"NewOwnerIsZeroAddress","type":"error"},{"inputs":[],"name":"NoHandoverRequest","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"}],"name":"EditionCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"editionId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"EditionMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"roles","type":"uint256"}],"name":"RolesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"string","name":"tokenURI","type":"string"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxQuantity","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxPerMint","type":"uint256"}],"name":"createEdition","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"editionMintFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"editionRevenue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"editionsCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"}],"name":"getEdition","outputs":[{"components":[{"internalType":"string","name":"tokenURI","type":"string"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"maxQuantity","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxPerMint","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"address","name":"signer","type":"address"},{"internalType":"bool","name":"active","type":"bool"}],"internalType":"struct EditionStorage.Edition","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"}],"name":"getEditionPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintEdition","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"bool","name":"active","type":"bool"}],"name":"setEditionActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setEditionMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"address","name":"signer","type":"address"}],"name":"setEditionSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"string","name":"tokenURI","type":"string"}],"name":"setEditionTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxQuantity","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"maxPerMint","type":"uint256"}],"name":"updateEdition","outputs":[],"stateMutability":"nonpayable","type":"function"}]
```

* Mint Function: `mintEdition`
* Parameter For Recipient Address: `recipient`
* Parameter For Quantity Of NFTs Purchased: `quantity`

<figure><img src="/files/4NTRspPjPpkgNIOOEUsE" alt="" width="563"><figcaption><p>Edition Collection Example</p></figcaption></figure>

### **Step 3: Submit Verification for Payments**

You'll be limited on how much you can accept until you are fully verified. Here's what you need to do to lift the limit restriction:

1. **Project Owner KYC**: Complete the KYC process for the project owner.
2. **Collection Review**: Your collection will be reviewed to ensure it meets Crossmint's standards.

### **Step 4: Integrate into Your Website**

Once you're verified, you can integrate Crossmint into your website. Here are two ways to do it

1. **Embedding our Widget:** You need to grab both values `collection-id` and `project-id` from crossmint dashboard and use them as parameters for our web components

<figure><img src="/files/bYy871dWw3BaBxeG5Aur" alt=""><figcaption><p>Example of Project Id and Collection Id on Crossmint Dashboard</p></figcaption></figure>

* **Widget for Edition Collection**

> Note: The edition component requires your "edition id".

```html
<script type="module" src="https://sdk.niftykit.com/widgets/widgets.esm.js"></script>

<nk-diamond collection-id="Your-Collection-SDK">
  <nk-connect-wallet-button>
    Connect Wallet
  </nk-connect-wallet-button>
  <br />
  <nk-is-connected>
    <nk-edition-mint-button edition-id="your-edition-id" success-title="Success!" success-message="You did it!">
      Mint NFT
    </nk-edition-mint-button>
    <br />
    <nk-edition-mint-crossmint-button edition-id="your-edition-id" collection-id="Your-Crossmint-Collection-Id" project-id="Your-Crossmint-Project-Id" />
  </nk-is-connected>
</nk-diamond>

```

2. **Implement a No-Code Storefront**: You can implement a no-code storefront by following these steps:&#x20;
   1. **Enter Your Payment Details**: Enter your payment details, such as the amount you want to charge and the cryptocurrency you want to accept.
   2. **Add Page Link**: Add the page link to your drop or share it directly with your collectors to mint.

### **Step 6: Start Minting**

That's it! You can now start minting and accepting payments in cryptocurrency.

We hope this helps. Let us know if you have any questions or concerns.

{% hint style="info" %}
If you have any questions or concerns, please contact Crossmint support at <support@crossmint.com>. Please note that review times can vary, but should be a few days.
{% endhint %}
