Overview
In the evolving landscape of blockchain and decentralized applications, innovative solutions continue to emerge, providing unique value propositions. Lidonation, a dynamic player within this space, has launched a groundbreaking project aimed at recognizing and rewarding the completion of proposals within Project Catalyst. Utilizing the robust infrastructure provided by NMKR, this project introduces a seamless, cost-effective mechanism for minting and claiming NFTs.
Available
Challenge
Project Catalyst, an ambitious initiative supported by the Cardano blockchain, empowers community members to propose, vote on, and fund projects that contribute to the Cardano ecosystem. However, despite the significant efforts and contributions of project proposers, there lacked an efficient and cost-effective system to recognize and reward the successful completion of these projects. Traditional methods of acknowledgment were not only cumbersome but also did not leverage the potential of blockchain technology for digital certification.
Solution
To address this challenge, Lidonation implemented a novel system that mints NFTs as a form of digital certification for completed proposals. By utilizing NMKR’s robust infrastructure, Lidonation offers a streamlined, cost-effective process for minting and claiming NFTs. This initiative provides project proposers with a simple and affordable way to create NFTs upon the successful completion of their proposals, serving as a digital testament to their achievements. This integration not only enhances recognition within the Project Catalyst community but also leverages the advantages of blockchain technology to create verifiable and immutable records of project completions.
Implementation
Infrastructure by NMKR:
- NMKR provided the essential tools, APIs, and support required for the creation, uploading, and minting of NFTs.
- The minting process was designed to be free for proposers, with minimal costs involved, only requiring the network fee of approximately 0.2 ADA per transaction.
Minting Process:
- Creating Project: The project and policy will be created using the endpoint /CreateProject and contains a metadata template with specified metadata placeholders as well as general project settings and pricing.
- Metadata Customization: Each NFT includes specific metadata related to the completed proposal, ensuring uniqueness and relevance.
- Upload to NMKR Studio via NMKR API: Lidonation integrated the NMKR API to handle the submission of image files and metadata details. The /UploadNFT endpoint was used for this purpose, creating digital assets tailored to each project.
- Payment Link Creation: After creating the NFT, the /GetNmkrPay endpoint was used to generate a payment link. This link facilitated the minting process, allowing proposers to claim their NFTs without any cost, aside from the network fee.
Example Curls for the NFT Upload and Minting via NMKR API:
Create Project:
The Curl to create a project contains besides general information and pricing also the metadata template in an escaped format. In order to establish the minting fee on an invoice basis, please reach out to our support.
The response will include the project UID, which will be used in further Curls.
curl -X 'POST' \
'https://studio-api.nmkr.io/v2/CreateProject' \
-H 'accept: text/plain' \
-H 'Authorization: Bearer <Your_API_Key> \
-H 'Content-Type: application/json' \
-d '{
"projectname": "Lidonation Completion NFTs",
"policyExpires": false,
"payoutWalletaddress": "<Your_payout_address>",
"maxNftSupply": 1,
"metadataTemplate": "{\r\n
\"721\": {\r\n
\"<policy_id>\": {\r\n
\"<asset_name>\": {\r\n
\"name\": \"<display_name>\",\r\n
\"image\": \"<ipfs_link>\",\r\n
\"mediaType\": \"<mime_type>\",\r\n
\"description\": \"<description>\",\r\n
\"Project Catalyst Campaign Name\": \"<project_catalyst_campaign_name>\",\r\n
\"Funded Project Number\": \"<funded_project_number>\",\r\n
\"Project Title\": \"<project_title>\",\r\n
\"budget\": \"<budget>\",\r\n
\"yes votes\": \"<yes_votes>\",\r\n
\"no votes\": \"<no_votes>\",\r\n
\"abstain votes\": \"<abstain_votes>\",\r\n
\"role\": \"<role>\",\r\n
\"Solution Statement\": \"<solution_statement>\",\r\n
\"files\": [\r\n
{\r\n
\"name\": \"<display_name>\",\r\n
\"mediaType\": \"<mime_type>\",\r\n
\"src\": \"<ipfs_link>\"\r\n
}\r\n
]\r\n
}\r\n
},\r\n
\"version\": \"1.0\"\r\n
}\r\n
}"
"addressExpiretime": 20,
"pricelist": [
{
"countNft": 1,
"price": 0,
"currency": "ADA",
"isActive": true
}
]
}'
Upload NFT:
Upload files and individual metadata placeholders for the NFT. The response will contain an asset UID, which will be needed for further curls.
curl -X 'POST' \
'https://studio-api.nmkr.io/v2/UploadNft/<Project_UID_from_previous_curl' \
-H 'accept: text/plain' \
-H 'Authorization: Bearer <Your_API_Key> \
-H 'Content-Type: application/json' \
-d '{
"tokenname": "Completion NFT",
"displayname": "Completion NFT #1",
"previewImageNft": {
"mimetype": "image/png",
"fileFromsUrl": "<Path_to_file>"
},
"metadataPlaceholder": [
{
"name": "Funded Project Number",
"value": "123456"
},
{
"name": "Project Catalyst Campaign Name",
"value": "Proposal Name"
},
{
"name": "No votes",
"value": "1518832"
},
{
"name": "Yes votes",
"value": "18188332"
}
]
}'
Get Payment Link:
To obtain a specific payment link for the individual asset that can be presented to the user to enable him to claim his NFT, Lidonation used the following curl.
curl -X 'POST' \
'https://studio-api.nmkr.io/v2/GetNmkrPayLink' \
-H 'accept: text/plain' \
-H 'Authorization: Bearer <Your_API_Key> \
-H 'Content-Type: application/json' \
-d '{
"projectUid": "<project_UID",
"paymentTransactionType": "nmkr_pay_specific",
"paymentgatewayParameters": {
"mintNfts": {
"countNfts": 1,
"reserveNfts": [
{
"lovelace": 0,
"nftUid": "<NFT_UID>",
"tokencount": 1
}
]
}
}
}'
Claiming the NFT:
- Proposers accessed the NMKR Pay payment link provided by Lidonation. Through this gateway, they connected their wallets and signed a transaction to mint their NFT securely and efficiently.
- The process was designed to be user-friendly and secure, ensuring a seamless experience from asset creation to final minting.
Try out this example link for a free claimable Mint with NMKR Pay.
Example
An example of the NFT can be viewed here. This NFT includes unique metadata linked to the specific completed proposal, offering a tangible recognition of the proposer’s contribution to Project Catalyst.
Outcomes
- Cost Efficiency: The project successfully minimized the costs associated with minting NFTs, charging only the network fee.
- User Experience: The integration of NMKR’s API and payment gateway ensured a smooth and intuitive process for proposers.
- Community Engagement: By providing NFTs as a form of recognition, the project fostered a sense of accomplishment and motivation among community members.
Result
The initiative led by Lidonation, with the support of NMKR’s infrastructure, has set a new standard for recognizing and rewarding project completion within decentralized ecosystems. By offering a cost-effective, user-friendly solution for minting NFTs, this project not only enhances visibility for completed proposals but also drives continued engagement and innovation within the Cardano community.
For more information and to claim NFTs, proposers can visit Lidonation’s Catalyst Explorer.