FAQ for Lunar New Year 2022 NFT Event

in #inji2 years ago (edited)
Authored by @therealwolf
  • 1.) Do the NFTs cost $$$?
  • 2.) Where are the NFTs stored? (Technical Explanation)
  • 3.) I can't claim the 2nd red envelope NFT

1.) Do the NFTs cost $$$?

While you need to purchase Credits in order to be eligible to claim 3 of the 4 different NFTs, the Credits aren't spent, meaning the NFTs are gifted.

You can use the Credits afterwards over at https://inji.com/shop to purchase Hive Accounts or inji's Premium Membership (Inji Prime). And/or you can wait and see what might get introduced next to inji.com/shop.

Below are the details how to get each one of the NFTs:


2.) Where are the NFTs stored? (Technical Explanation)

Claiming NFTs

The NFTs are minted on Hive Engine. This is initiated by the receiving account sending a custom_json transaction (claim_nft with a specific nftSetId and the inji userId) to the blockchain. (The Hive account has to be added to the inji account in order for it to work, otherwise the claim request is ignored)

required_auths  []
required_posting_auths [therealwolf]
id  inji
json    [[1,"inji/0.0.1-beta"],"claim_nft",{"nftSetId":"lny22-1-red","userId":"ckrkeya7r000078jvartg0tg5"}]

claim_nft: https://hiveblocks.com/tx/6b2c800f49806d4ca424f70078469e991ec392fa


Storing Data on IPFS

Our servers are then seeing that transaction and checking how many of the NFTs with that specific nftSetId you're able to claim. If you can claim at least 1, we're setting everything up and upload the Image & Metadata (similar to ERC1155 format) to IPFS.

Example Metadata

{
  "description": "On Tuesday, 01.02.2022 the Lunar New Year was celebrated, seeing out the old year and welcoming in the luck, health and prosperity of a new year. This envelope represents a digital representation of such celebration and a \"Good Luck Charm\" for what is to come.",
  "image": "ipfs://bafybeibavv6ienslvio2cdwgxjkxtosvpm3lhk3vi5bg5sna53tjhy5upq/image.png",
  "name": "Lunar New Year 2022 - Red Envelope",
  "properties": {
    "art_version": 1,
    "collection": "lny22",
    "color": "red",
    "creator": "inji",
    "edition": 1, // { edition } of { editions } - i.e 1 of 888
    "editions": 888, // how many of the nft_set_id exist max
    "lucky_hash": "Qma6YaGnEDEXez5tbtZvKmKNRp1sBmd8qJBu3DjWRDj4Bn", // cidv0 hash created from transaction_info
    "nft_set_id": "lny22-1-red",
    "og_claim_address": "therealwolf",
    "year": 2022,
    "zodiac": "tiger"
  },
  "transaction_info": {
    "block_id": "03b10d58e0a0635b6e2798bb3d7e85fb2c81e48a",
    "previous_block_id": "03b10d57ee2af0ffc4d31b542c4a9fbcef7eeeaa",
    "transaction_id": "6b2c800f49806d4ca424f70078469e991ec392fa",
    "tx_offset": 0 // If you claim 8 NFTs in a single transaction, this is the offset so each one has a different hash with the same transaction_info
  }
}

Note: transaction_info was inspired by @themarkymark, who used this to have a provable-fair NFT generation via Punks on Hive. While the LNY22 NFTs at this point don't have any visual differences, compared to generative NFTs, they do have a lucky_hash. :-)

ipfs: https://bafyreigzdlvkjtbiderifl6us4uv3tykmelmvjqr4xhneprqa2ii6rot4q.ipfs.dweb.link/metadata.json


Minting NFTs

Then inji is broadcasting a custom_json to the blockchain to mint/issue NFTs on HiveEngine. The minted NFTs have a property called cid which is used to get the Metadata & Image of the said NFT from IPFS. (https://{ cid }.ipfs.dweb.link/metadata.json)

required_auths  [inji]
required_posting_auths  []
id  ssc-mainnet-hive
json    {"contractName":"nft","contractAction":"issueMultiple","contractPayload":{"instances":[{"symbol":"INJI","to":"therealwolf","feeSymbol":"PAL","properties":{"cid":"bafyreigzdlvkjtbiderifl6us4uv3tykmelmvjqr4xhneprqa2ii6rot4q"}}]}}

Issue NFTs: https://hiveblocks.com/tx/76ea7b1ba0b38686b27f47ce8813b9cd0e07c2f3


The Result

If everything goes well, you should be able to see your new NFTs in your inji Wallet:

Or within the collection:


3.) I can't claim the 2nd red envelope NFT

The 2nd red envelope NFT (888 supply) is currently only claimable by inji accounts that registered before the event started (before the 18th). inji has about ~1200 accounts. In case not every one of them claims one, we're going to open up claiming to the people who have registered within the event.


We'll update this post to cover more questions.

Sort:  

Awesome this throughly will make more people troop into inji soon

Congratulations @inji! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):

You received more than 100 upvotes.
Your next target is to reach 200 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

Hive Power Up Month - Feedback from February day 17
Support the HiveBuzz project. Vote for our proposal!

I need another account on Hive for testing purposes and decided to try your account creation tool on INJI for the first time. I went through the initial steps, sent the HIVE, and a popup appeared with a countdown timer on it. Before the timer reached zero, I moved my laptop and the popup inadvertently closed. Prematurely closing the popup must have aborted the process (?), as an hour-and-a-half has passed and the account is not yet created. Would you please refund my HIVE so I can try again? Thank you! @therealwolf

➡️ https://hiveblocks.com/tx/6ae7a10376cd95460b699672a5c2f45d584b267a

Hey, so the popup is there to buy Credits, which you then can use afterwards to create the account. Can you check if you have enough Credits? Otherwise I'll refund it of course.

I understand that, and I bought credits on the popup (see transaction linked, above). When the Credit were showing, I clicked "NEXT," and that's when the process hung.

Since the process hung and no account was created, may I get a refund, please? Thanks!

Of course! Refund was sent. Though I tested it myself and account creation worked fine. But it could have failed due to Hive nodes being a bit wonky recently.

Yes, it certainly could have been a node issue! No problem, I will definitely give INJI another try sometime. THANK YOU! 🙂