According to Al-Jazeera in 2017 Israel and the Trump administration worked on a deal that would see an establishment of a Palestinian state in Gaza and parts of Northern Sinai (possibly exceeding the size of Gaza as much as five-fold.) The Egypt was supposed to be seduced by financial incentives and a transfer of a part of the Israeli territory that would allow, e.g., construction of a direct path from Egypt to Jordan. Hamas was supposed to be seduced by becoming the government of the new state (even if under a nominal PA figurehead, like Mohammed Dahlan.)
The plan was apparently sufficiently serious to warrant a condemnation by the Palestinian Authority (which would be left out of the deal), and disclaimers from Egypt which didn't want to be seen as complotting with Israel.
2017 also falls into the period of some détente between Hamas and Israel, as Hamas softened its charter - removing direct references to genocide of Jews (although still calling for wiping out Israel), whereas Netanyahu administration also allowed Qatari funding of Hamas.
I wonder if any Hamas officials/leaders have commented on this plan. On one hand, Hamas has always claimed that they are never going to give up Palestinian rights to any part of the Palestinian land (by which they mean the territory including Israel)... but on the other hand, getting their own official state seems like a very attractive prize... and no need to say that it would have been a real relief for the Gazans, suffering from overcrowding. (The deal likely would have meant displacement of some Sinai Bedouins - something that Egypt usually gets away with without much notice.)
Related:
Sinai as an alternative to Gaza: Who is funding this? Who is passing the deal?
A Palestinian State in North Sinai?