Get pumped for the 2nd Community Submitted First Flight on CodeHawks, brought to us by Shikhar Agarwal! This project allows users to buy a cute cat from our branches and mint NFT for buying a cat. The NFT will be used to track the cat info and all related data for a particular cat corresponding to their token ids. Kitty Owner can also Bridge their NFT from one chain to another chain via Chainlink CCIP.
High - 100xp
Medium - 20xp
Low - 2xp
Starts: March 28, 2024 Noon UTC
Ends: April 04, 2024 Noon UTC
This project allows users to buy a cute cat from our branches and mint NFT for buying a cat. The NFT will be used to track the cat info and all related data for a particular cat corresponding to their token ids.
Kitty Owner can also Bridge their NFT from one chain to another chain via Chainlink CCIP
.
The codebase is broken up into 2 contracts (In Scope):
KittyConnect.sol
KittyBridge.sol
This contract allows users to buy a cute cat from our branches and mint NFT for buying a cat. The NFT will be used to track the cat info and all related data for a particular cat corresponding to their token ids.
This contract allows users to bridge their Kitty NFT from one chain to another chain via Chainlink CCIP
.
git --version
and you see a response like git version x.x.x
forge --version
and you see a response like forge 0.2.0 (816e00b 2023-03-16T00:05:26.396218Z)
git clone https://github.com/Cyfrin/2024-03-kitty-connect
cd 2024-03-kitty-connect
make
or
forge build
forge test
forge coverage
forge compile
A user is required to visit our shop partner to buy a cat. The shop partner will call the function from KittyConnect contract to mint NFT for buying a cat. (This NFT will track all the data related to the cat)
User can bridge Kitty NFT from one chain to another chain by calling this function from KittyConnect contract. This involves burning of the kitty NFT on the source chain and minting on the destination chain. Bridging is powered by chainlink CCIP.
Sometimes a user wants to transfer their cat to a new owner, this can be easily done by transferring the Kitty NFT to that desired owner. A user is first required to approve the kitty NFT to the new owner, and is then required to visit our shop partner to finally facilitate transfer the ownership of the cat to the new owner.
Rank | Username | ||||
1 | 4 | 920 | 4 (0) | 1 (0) | 0 |
2 | p pacelliv | 886 | 4 (0) | 0 (0) | 1 |
3 | r robertodf99 | 844 | 4 (0) | 1 (0) | 1 |
4 | f farismaulana | 800 | 3 (0) | 1 (0) | 0 |
5 | J Josh4324 | 800 | 4 (0) | 0 (0) | 0 |
6 | n | 800 | 4 (0) | 0 (0) | 0 |
7 | i insomnia | 800 | 4 (0) | 0 (0) | 0 |
8 | p | 724 | 3 (0) | 1 (0) | 1 |
9 | A AshishLac | 640 | 3 (0) | 1 (0) | 0 |
10 | L | 640 | 3 (0) | 1 (0) | 0 |
11 | Y Yasmine | 604 | 3 (0) | 0 (0) | 1 |
12 | i ironside | 600 | 3 (0) | 0 (0) | 0 |
13 | n | 600 | 3 (0) | 0 (0) | 0 |
14 | s | 480 | 2 (0) | 2 (0) | 0 |
15 | T Turetos | 456 | 2 (0) | 1 (0) | 0 |
16 | f feder | 440 | 2 (0) | 1 (0) | 0 |
17 | i i3arba | 404 | 2 (0) | 0 (0) | 1 |
18 | G GlitchicaL | 400 | 2 (0) | 0 (0) | 0 |
19 | C Coffee | 400 | 2 (0) | 0 (0) | 0 |
20 | B | 296 | 1 (0) | 2 (0) | 0 |
21 | 4 4th05 | 280 | 1 (1) | 0 (0) | 0 |
22 | z zark | 248 | 1 (0) | 1 (0) | 2 |
23 | h hashov | 244 | 1 (0) | 1 (0) | 1 |
24 | a azanux | 204 | 1 (0) | 0 (0) | 1 |
25 | 0 0xShiki | 200 | 1 (0) | 0 (0) | 0 |
26 | t tobezzi | 200 | 1 (0) | 0 (0) | 0 |
27 | S Strood | 200 | 1 (0) | 0 (0) | 0 |
28 | N Nocturnus | 200 | 1 (0) | 0 (0) | 0 |
29 | 0 | 200 | 1 (0) | 0 (0) | 0 |
30 | P Pataroff | 200 | 1 (0) | 0 (0) | 0 |
31 | 0 0xm00k | 200 | 1 (0) | 0 (0) | 0 |
32 | t touqeershah32 | 200 | 1 (0) | 0 (0) | 0 |
33 | 0 0xlrivo | 200 | 1 (0) | 0 (0) | 0 |
34 | A Aitor | 46 | 0 (0) | 1 (0) | 1 |
35 | m maziXYZ | 40 | 0 (0) | 1 (0) | 0 |
36 | 0 0xeLSeR17 | 14 | 0 (0) | 0 (0) | 3 |