I'm new to solidity but I'm determined to learn. My question is, would it be possible to issue a custom token with a maximum supply of 100, which would act as shares? And then for the smart contract to act in a way that after the sale of a NFT, the ETH would get automatically distributed to the owners of the tokens?
The custom tokens would be set up in such a way, that the owner of them would enter their wallet address which would get assigned to the token and used when executing the smart contract, and if the owner holds multiple tokens, then maybe the code could auto map all of them to the same address, which would save up on gas when executing the smart contract?
If it's possible, how should I go about doing it? I want to learn