i'm here to ask if my project is doable or not.
I'm actually reading "Mastering Ethereum" by Andreas M. Antonopoulos, so i have some basic solidity knowledge.
I have a project: I
I have a building, with floors and rooms for each floor.
My idea is to "tokenize" each element of the building in order to send it (idea similar to renting), For example:
i have 4 rooms in a single floor assigned to 2 different persons (each owns 2 rooms) and after some time someone comes and asks for the entire floor.
So the 4 tokens (room) should merge into a single token (floor) of the building (another token).
Another example:
i have an entire floor and i want to give 3 rooms (out of 5) to someone, so i have to split the floor token into the 5 rooms token. So
So i have 3 kinds of token: building, floors and rooms. I'm
I'm struggling to find some kind of solution to this problem, my idea was to manipulate the building as a single token with a struct and to create an "Authorized" contract in order to not changing the original owner of the token.
It's kinda hard to figure out how to do it with 3 different tokens (non fungible, i was thinking of erc721).
Thanks to anyone who will answer me :)