Logo
Cardano Ecosystem

CNFT Hub

12/14/2021

·

1.5K views


Cardano Node 1.32.1 released – Big Changes for NFT Creation

The Digital Syndicate team was fortunate to have been given a word of mouth heads up about Cardano Node 1.32.1. This release significantly changes the way nft’s are created from […]

Cardano Node 1.32.1 released – Big Changes for NFT Creation

The Digital Syndicate team was fortunate to have been given a word of mouth heads up about Cardano Node 1.32.1. This release significantly changes the way nft’s are created from the command line; and subsequently any mint engine that runs on a live node. The release notes are available here. But we’ll provide some guidance below.

Prior to 1.32.1, you created an nft using policyid.tokenname. In this new release you’ll have to convert the token name to hexidecimal. Using the same example, it would become policyid.746f6b656e6e616d65. This is to resolve issues with those who want to mint NFT’s with non standard characters in the name. Its hard to say if this will really make a difference in that regard. But this change is significant enough that CNFT Hub felt it important to provide some work around solutions.

The first solution is to update your Cardano Node software to 1.32.1, but leave your Cardano Cli software at its current code level. This is a temporary stopgap. This should allow mint fountains to continue to operate until they’ve patched their code.

For those who mint on a one by one basis, you can just convert the token name to hexidecimal manually. This website makes it very easy. If you set the output delimeter to none, you can copy and paste your new hex code. We also highly recommend the stakepool scripts by Gitmachl. His scripts are always bleeding edge, and already include this update.

For those of you who automate their CNFT creation, the below is some code that should help you solve the issue. The python code comes to you courtesy of Digital Syndicate to help get you sorted.

Python:

token_name = ‘YOURTOKENASCIINAME’
utf_name = token_name.encode(‘utf-8’)
hex_name =(utf_name.hex())
print(hex_name)

PHP:

<?php
echo bin2hex(“YOURTOKENASCIINAME”)
?>

Powershell
$tokenname = “YOURTOKENASCIINAME”;
$toconvert = $tokenname.ToCharArray();
Foreach ($element in $toconvert) {$hexname = $hexname + ” ” + [System.String]::Format(“{0:X}”, [System.Convert]::ToUInt32($element))}
echo $hexname

AD

SNEKbot by DexHunter on CARDANO

Cardano's Telegram Trading Bot live on Cardano mainnet!TRADE NOW!


Read Original Article on CNFT Hub

ORIGINAL SOURCE

https://cnfthub.io/cardano-node-1-32-1-r...

Disclaimer: Cardano Feed is a Decentralized News Aggregator that enables journalists, influencers, editors, publishers, websites and community members to share news about the Cardano Ecosystem. User must always do their own research and none of those articles are financial advices. The content is for informational purposes only and does not necessarily reflect our opinion.


An image that says Learn Blockchain technology and get ahead in the industry with a link to the Cardano Academy.

More from CNFT Hub

See more
Catalyst Fund 8 Results In
CNFT Hub
Catalyst Fund 8 Results In

05/13/2022

·

1.8K views

Related News

See more
Cardano Summit 2024

Featured News

See more



    DEFAULTENGLISH (EN)SPANISH (ES)RUSSIAN (RU)GERMAN (DE)ITALIAN (IT)POLISH (PL)HUNGARIAN (HU)JAPANESE (JA)THAI (TH)ARABIC (AR)VIETNAMESE (VI)PERSIAN (FA)GREEK (EL)INDONESIAN (ID)ROMANIAN (RO)KOREAN (KO)FRENCH (FR)CZECH (CS)PORTUGUESE (PT)TURKISH (TR)