- 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 , 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:
- Hive account: @therealwolf.hive/wallet
- inji account: @timo/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.