You are talking about being a founder on the side, I assume, but not filing anything with USCIS so that you can work for/get paid by this company? Then this shouldn't compromise your green card process. The question is just whether what you are doing is permissible and as discussed above, the limits are a bit murky: at a minimum, don't get compensated in any way.