HomeCoinsHathor (HTR)NFTs come to Hathor wallet. Hathor Wallet 0.21.1 — mint your NFT | by...

NFTs come to Hathor wallet. Hathor Wallet 0.21.1 — mint your NFT | by Yan Martins | Hathor Network | Nov, 2021

- Advertisement -


Yan Martins

Hathor Wallet 0.21.1 — mint your NFT

NFTs come to Hathor wallet. Hathor Wallet 0.21.1 — mint your NFT | by Yan Martins | Hathor Network | Nov, 2021

Hello, Hathor community,

We’re happy to announce a new version of our desktop wallet with NFT functionality (v0.21.1). The NFT market has attracted much attention this year, so we decided to prioritize it in our roadmap. The demand is growing, and we are happy to see many NFT use cases showcased on our network.

As with everything we do in Hathor Network, we wanted to make the whole process simple and easy to use, both for creators and end-users. I believe the team did an outstanding job!

The first step is uploading your NFT data to an immutable storage solution. In most NFTs, this is an image or a video. There are several options for immutable storage solutions. The most common one is IPFS, an immutable and distributed file system.

NFTs usually also have a metadata file. This has extra information about the token, such as name, description, and extra attributes, as well as a link to the NFT file itself. We have already released an NFT Standard RFC detailing the metadata.json file. We recommend that projects follow it, so it’s easier for future platforms created in the network to handle NFTs and this extra data.

If you upload your NFT art to IPFS, you’ll get a link such as ipfs://ipfs/QmYKrVVCdmf1tkThbmny1M8JHVGrLdWNnXhCnrUUrvzsZa/ .This is the link to be added to the metadata. And metadata.json should look like this:

And we must again upload this file (metadata.json) to IPFS, which will get us another link such as ipfs://ipfs/QmTrt25ZdYZbDMUzxRLwBFVMrrDL2EgGWYVgeyZaEeCYAc/. This is the link that will be used in the desktop wallet when minting the token.

When working with NFTs, it’s important to use immutable storage to make sure the underlying asset the NFT represents cannot be changed.

Imagine we used as art an image hosted on a regular website, let’s say https://obiyankenobi.com/nft.jpg. When the NFT is first minted and sold, this image might be the correct one, with my artistic picture as above. However, I can later replace this image with whatever other image I want. So the buyer of the NFT will now be holding a token that’s not what it was intended for.

With immutable storage such as IPFS, this cannot happen. Each file has a unique path, and if the file is somehow changed, a new link is generated.

As I mentioned, IPFS is the most common way to upload your files to an immutable storage system. You can run a local IPFS node or use a service such as https://pinata.cloud/ to make it easier.

Now that we have the link, we can mint the NFT. This is done directly on the Hathor desktop wallet. On version 0.21.1, we added a new screen for NFT creation. Just go to Custom tokens -> Create an NFT.

You’ll need to fill out some information:

1. NFT data: in our example, this is the link to the metadata.json file, so we add here ipfs://ipfs/QmTrt25ZdYZbDMUzxRLwBFVMrrDL2EgGWYVgeyZaEeCYAc/. It’s important to use the ipfs://... link, not https://ipfs.io/.... You can read more about the reason here.

2. Name and Symbol are similar to what we have on regular tokens.

3. Amount: this is the number of token units created. Since this is an NFT, only integers are valid (e.g., 1, 10, 100), unlike regular tokens with two decimal places.

4. Select address automatically: this is the address selection that will receive the created NFT units. If you leave it checked, the wallet will get the first available address to use. Otherwise, you can unselect it and manually write the address you want to receive the NFTs.

5. Mint and melt authorities: similar to regular tokens, it controls if you can create or destroy units of this token.

The wallet will display the deposit and fee required for this operation. Just like in our custom token creation, the NFT requires a deposit in HTR. The amount to deposit will be 0.01% of the total units.

The fee is a fixed amount of 0.01 HTR and does not change depending on the NFT amount created. This fee cannot be returned even if the NFT units are destroyed later.

The deposit for different amounts created.

In this example, I’m minting 10 units of this NFT, so I’ll pay 0.01 for the deposit and 0.01 for the fee, totaling 0.02 HTR.

All you need to do now is click Create, and boom: your NFT is created!

Check out the video below with the whole process:

https://youtu.be/cWBqkpsBUIU

The Cathor NFT with art preview displayed on our explorer

Your NFT asset won’t be automatically displayed on the Hathor explorer. The reason for that is because we can’t trust the image/video/audio that will be uploaded and we need to check before showing it on our explorer.

Besides that, there is a requirement that the asset must be in an immutable link in order to be shown in our explorer.

If you comply with all the requirements and would like to have your asset in our explorer, just get in touch with anyone from the team and ask for that.

We also added an NFTs section in our wallet. Any NFT that you hold and have added to your wallet will show up in this section. Please bear in mind that only NFTs that have been identified as so and have the art showing up in our explorer, as explained above, will be displayed here.

We will soon release a new version of our mobile app where tokens identified as NFTs will also be displayed as integers. For now, they will show up as decimals (e.g., 0.01 means 1 token). We will not, however, display the art on the app.



Source link

- Advertisement -
Mr Bitcointehttps://www.bitcointe.com/
“Fact You Need To Know About Cryptocurrency - The first Bitcoin purchase was for pizza.” ― Mohsin Jameel
462FansLike
76FollowersFollow
4,567FollowersFollow
5,261FollowersFollow
1,547FollowersFollow
2,230SubscribersSubscribe

Most Popular

bitcoin
Bitcoin (BTC) $ 48,975.00
ethereum
Ethereum (ETH) $ 4,162.47
tether
Tether (USDT) $ 0.997873
bitcoin-cash
Bitcoin Cash (BCH) $ 448.15
litecoin
Litecoin (LTC) $ 153.79
eos
EOS (EOS) $ 3.08
okb
OKB (OKB) $ 24.58
tezos
Tezos (XTZ) $ 3.90
leo-token
LEO Token (LEO) $ 3.46
cardano
Cardano (ADA) $ 1.36
monero
Monero (XMR) $ 199.31
stellar
Stellar (XLM) $ 0.277537
chainlink
Chainlink (LINK) $ 19.03
huobi-token
Huobi Token (HT) $ 8.63
tron
TRON (TRX) $ 0.083299
usd-coin
USD Coin (USDC) $ 0.998302
dash
Dash (DASH) $ 130.99
neo
NEO (NEO) $ 27.81
iota
IOTA (MIOTA) $ 1.14
nem
NEM (XEM) $ 0.126978
zcash
Zcash (ZEC) $ 182.82
maker
Maker (MKR) $ 2,535.99
paxos-standard
Pax Dollar (USDP) $ 0.991981
ethereum-classic
Ethereum Classic (ETC) $ 38.46
vechain
VeChain (VET) $ 0.088253
true-usd
TrueUSD (TUSD) $ 0.996099
ftx-token
FTX Token (FTT) $ 43.24
kucoin-shares
KuCoin Token (KCS) $ 21.56
waves
Waves (WAVES) $ 18.99