I'm currently on a TN Visa. Is it legal to work on my own non-revenue generating side project? I may monetize the side-project in the future but not while I'm in the States.

Thanks.