Launch your NFT Collection on your Saga Chainlet

Kyle
Sagaxyz
Published in
4 min readMay 20, 2024

With the rise of blockchain, the world of digital art and collectibles has been revolutionized by the emergence of Non-Fungible Tokens (NFTs). NFTs function as a fundamental block in the gaming world, creating endless possibilities of gameplay and monetization. In this tutorial, we will show you easy ways to launch your own NFT Collection on your Saga Chainlet.

In this tutorial, we will:

  1. Add a Saga Chainlet to the Thirdweb platform
  2. Deploy NFT minting contract
  3. MInt an NFT
  4. Import NFT to wallet

Requirements

Before you get started with the tutorial, make sure you have the following ready.

  • Saga Chainlet: We will deploy the ERC20 token using the Saga Chainlet. Ensure you have an active chainlet. Use this guide to launch your chainlet. The RPC endpoint and Chainlet ID will be available in your Chainlet dashboard.
  • Metamask Wallet: For this tutorial, we will use the Metamask wallet. You can use most of the popular wallets and follow the same steps. Make sure that you have already added your custom token to your wallet. Use this guide to add a custom token to your wallet.
  • Thirdweb Account: For this tutorial, we will use Thirdweb, which is a one-click web3 development platform that supports Saga chainlets. Log in to Thirdweb using your wallet and get ready to deploy.

Adding your Chainlet to Thirdweb

The first thing we need to do is add your Chainlet on the Thirdweb platform so that we can deploy the smart contracts on it. To do this, click on the Account button which has your wallet address displayed in the top right corner.

Now click on the Network. By default, it is usually Ethereum Mainnet. Clicking on it will open the ‘Select Network’ dialog box. Click on ‘Add Custom Network’ at the bottom.

Fill in the details of your chainlet. And click on “Add Network”.

  • Network name: Name of your Chainlet
  • Network ID: This is usually auto-generated by thirdweb. Feel free to change if required
  • Chain ID: The Chainlet ID, which will be available in your Chainlet Dashboard
  • Currency Symbol: The token denom of your Chainlet
  • Network type: Select whether your Chainlet is on Mainnet or Testnet
  • Icon: You can add a graphic icon for your chainlet
  • RPC URL: The RPC endpoint of your chainlet, which will be available in your Chainlet Dashboard

Your chainlet is now configured.

Deploying NFT Minting Contract

Now we need to create and deploy an ERC20 smart contract. To simplify the process, we are going to use the Thirdweb ready-to-deploy smart contract templates. Head over to NFT Collection Contract on the thirdweb platform.

Click on Deploy Now and enter the parameters to configure your ERC20 token.

Enter the name of the collection, NFT symbol, and description of the collection. In the Network section below, make sure to select your chainlet from the list. Click Deploy. You will get multiple signature requests popping up. Sign the transactions after thoroughly verifying them. In the background, thirdweb is first going to deploy your smart contract and then add it to the dashboard. .

Fun fact: Because you are using your chainlet, the gas token used for this transaction is the token created by you. If used with a gas return account, the gas fee will be returned to the account.

Minting your NFT

Go to the NFT tab and click on the ‘Mint’ button.

Enter the NFT metadata and upload the media file. You can also specify the NFT properties like the traits here.

Click on Mint NFT. Once you sign the transaction, you should see your NFT in the dashboard.

Importing NFT to wallet

Now that you have minted your own NFT, we need to import it to the wallet. For this example, we are going to use the Metamask wallet but the same process can be followed for any other wallet.

In your wallet, open the NFT tab. As you need to manually import the NFT, click on ‘Import NFT’. Copy the smart contract address from your NFT dashboard and paste it in the Address field. Similarly, copy and paste the ‘Token ID’ from the NFT. Click on ‘Import’.

Your NFT should be visible in your wallet now.

Support

If you are stuck and need help with launching your chainlet, please reach out to the Saga team on Telegram or create a ticket in Discord or drop a note to support@saga.xyz

--

--