User:SnoopPig/sandbox

Pigletz is an NFT that combines game elements and decentralized finance features. It centers around a piggy bank character named Piglet, where users can deposit cryptocurrency tokens and earn PiFi. Pigletz is a modernized version of a piggy bank that can exist in both the Metaverse and real world, but not simultaneously.

Each Piglet is randomly minted and starts at level 1, with only some traits revealed. To progress through levels and uncover more traits, the owner must wait and collect PiFi, similar to experience points in a game. Alternatively, users can complete tasks and activate boosters to speed up the collection process.

The Pigletz NFT has its own wallet, which is a smart contract owned by the Piglet itself. However, the final step in a Piglet's life is breaking it. By breaking the Piglet, the owner kills it and loses its NFT value, but gains all assets inside it.

One unique feature of Pigletz is the ability to materialize the NFT into a 3D printed figure in the real world. To do this, the owner stakes the Piglet in a specific contract and receives the 3D printed Pigletz figure, which locks the NFT and prevents it from being transferred. The only way to unlock the NFT is to break the Pigletz figure in the real world and use the codes inside to unlock it.

Overall, Pigletz presents an interesting dilemma for users, as they must decide whether the Piglet NFT or the tokens inside it hold more value. By combining game elements, decentralized finance features, and the ability to materialize in the real world, Pigletz offers a unique and engaging experience for NFT enthusiasts.

= The Blockchain = NFT or Non Fungible Token is a token living in the blockchain, described by Smart Contract following the ERC721 standard.

Each NFT usually has two parts:

Blockchain part - smart contract, describing the NFT as ERC721 token with a limited supply, allowing minting and transfers of the tokens etc.

Meta Data - text information combined with media data that is the actual representation of the NFT, the one the user sees/hears/....

Pigletz resides at the moment in the Binance Smart Chain Blockchain. Its contract can be found at the following address: 0xbF84076b06a100d38ce562733098eDc0eDa4D7f7

The contract utilizes the Open Zeppelin framework, which is a de facto standard for EVM compatible blockchains.

The metadata of the Pigletz is uploaded to the IPFS which gives higher level of decentralization and security to our users. For example, the first minted piglet #4041 can be found here: https://ipfs.io/ipfs/QmZ88agv3zymNctxFtraparboWZ8o2jSxV6T6XnFThYVBJ [5]

= Minting = The Minting process for the Pigletz is part of their smart contract. Minting selects a random token ID from all available tokens in the entire set of 12,345 and assigns it to the user. Minting rights are delegated to a specified contract called SalesManager which requires BNB to be sent in exchange for piglet(s). The minting allows 1, 5, 10 or 20 Pigletz to be minted within a single transaction.

= Gamification = Levels: Each Piglet starts his life in Level 1. There only some traits are visible - gender, body, eyes, mouth, zodiac, background (see NFT). In order to reveal more of his traits, the piglet needs to level up.

There are totally 4 levels. Up to level 3 the requirement to level up is to have some amount of PiFi tokens minted. On level 3 all traits are revealed. Level 4 can be achieved only in the Real World (See Materialization).

To level up, the piglet needs to collect (mint) enough PiFi tokens. PiFi tokens are generated every 24 hours. The amount of the generated PiFi tokens depends on the level of the piglet and the activated boosters.

Traits: All traits are divided into the following categories:

Gender (3), Body (12), Mouth (16), Eyes (16) Hairstyle (25) Beard style (6) Earrings (10), Nose Piercing (6), Glasses (11), Tattoo (7)

Additional Traits:

There are also some additional traits, such as:

Background - There are 6 different backgrounds - Blue, Green, Orange, Purple, Red, Yellow

Zodiac Signs - following the Western Zodiac they are: Aries, Taurus, Gemini, Cancer, Leo, Virgo, Libra, Scorpio, Sagittarius, Capricorn, Aquarius, Pisces

= Tokenomics = PiFi is a ERC20 / BEP20 token. Its contract is 0xf7405eff16ff7e96898b6b40497a54894fc86c44

Each piglet mints an internal PiFi token every 24 hours.

= Materialization = Pigletz introduces a novel protocol allowing NFTs to jump from the digital world (Metaverse) to the real world and vice versa.

On level 3, it is possible to materialize a Piglet by following certain steps. The owner must lock the Piglet into a Bridge contract and set a password, then provide their shipping information. A high-quality 3D print is produced, processed, polished, and colored, which is then shipped to the owner. A password is placed inside the Piglet, which is required to unlock the NFT from the Bridge contract. The NFT remains locked until both passwords are provided to the Bridge contract. This process ensures that only a single copy of the NFT exists, either as a digital NFT or a physical object. To unlock the NFT, the owner of the physical object must destroy it and retrieve the passwords. This model can create new opportunities for NFTs, such as selling them on platforms like eBay.

Sources: