Dress Up is a gamified ERC-1155 token contract that allows users to mint various accessories for their characters. The contract supports six different tokens: Character, Shirt, Short, Shoe, Hat, and Verified Champion. Users can mint each accessory up to three times, and once they have a complete set (Character, Shirt, Short, Shoe, and Hat), they can mint the final token, the Verified Champion.
- Character Token (ID: 1): Required for all transactions. SoulBound, cannot be transferred.
- Shirt Token (ID: 2): Mintable up to 3 times.
- Short Token (ID: 3): Mintable up to 3 times.
- Shoe Token (ID: 4): Mintable up to 3 times.
- Hat Token (ID: 5): Mintable up to 3 times.
- Verified Champion Token (ID: 6): SoulBound, cannot be transferred.
You can access and interact with a deployed version of DressUp contract here:
- DressUp contract: 0x2178dDa8024e5db67b3Ff483A82066c8A5788352.
Please Note that this contract is deployed on Goerli and you'll need to switch your network and also have Goerli test tokens to interact with it.
- To participate, users need to mint a Character Token first. This is a one-time action and is required for all subsequent transactions.
- After obtaining the Character Token, users can mint Shirt, Short, Shoe, or Hat tokens up to three times.
- Users can use multiple wallets to collect different accessory tokens.
- Accessories (Shirt, Short, Shoe, Hat) can be transferred between wallets that own the character token.
- Once a user has a complete set of Character, Shirt, Short, Shoe, and Hat tokens, they can mint the Verified Champion Token.
- The Verified Champion Token is the final token and indicates the user has a complete dress.
- Character and Verified Champion tokens are SoulBound and cannot be transferred.
- Each wallet can mint a maximum of 3 times.
-
Mint the Character Token:
- This is a one-time action and is required for all transactions.
- It's SoulBound and cannot be transferred.
-
Mint Accessories (Shirt, Short, Shoe, Hat):
- After obtaining Character Token then 2 other tokens from; Shirt, Short, Shoe, or Hat tokens.
- Accessories can be transferred between wallets.
-
Mint the Verified Champion Token:
- Once you have a complete set of Character, Shirt, Short, Shoe, and Hat tokens, mint the Verified Champion Token.
- It's SoulBound and cannot be transferred.
- clone the repo by running the command
git clone https://github.com/Nonnyjoe/Cartessy-Task.git
- CD into the folder
Cartessy-Task
- On your terminal run the command
forge install
to install the required openzeppelin package. - Deploy the contract to a Network of your choice then interact with it.