âī¸Concordium NFT Minting Tutorial with Rust-SDK
This section introduces you to the tutorial and its purpose. It provides an overview of the tutorial's content and objectives with links to resources and the tools that will be used.
Introduction
This tutorial will guide you through the process of interacting with a CIS-2 token contract to mint an NFT using the Concordium Rust-SDK.
Tutorial Overview
You'll deploy and initialize the contract using the SDK.
You'll see how to invoke functions like
mint()
,transfer()
, andtokenMetadata()
using the SDK.Note that this tutorial focuses on using the SDK and won't cover smart contract development specifics. For more examples, refer to this GitHub repository.
Prerequisites
Basic understanding of Rust programming language.
Familiarity with Concordium blockchain.
Installation of Concordium Smart Contracts VSCode Extension.
Tutorial Steps
Setting Up Environment:
Install the Concordium Smart Contracts VSCode Extension.
Ensure Rust-SDK is installed and configured.
Creating the Token Contract:
Use the VSCode Extension to create a template contract.
Customize the contract for NFT minting purposes.
Deploying and Initializing the Contract:
Utilize the Rust-SDK to deploy the contract on the Concordium blockchain.
Initialize contract parameters as necessary.
Minting NFTs:
Implement the mint() function to create new NFTs.
Demonstrate how to mint NFTs using the Rust-SDK.
Transferring NFTs:
Implement the transfer() function to transfer ownership of NFTs.
Utilize Rust-SDK to transfer NFT ownership.
Retrieving Metadata:
Implement the tokenMetadata() function to retrieve NFT metadata.
Show how to access NFT metadata via Rust-SDK.
Now, proceed to the next section to begin!
Last updated