Hello, I'm a mortgage professional.
We have a program that allows you to buy a home one day after a chapter 7 is discharged. You will need 15-30% down depending on exactly where your credit scores are. The minimum score needed is only a 580.
If you have any other questions or would like help with this you are welcome to get in touch with me.