People who have sold their SaaS, what biz structure is best?

Edit....I meant business structure. LLC or corp....delware or home state.