I saw a job opening for a software developer position working in the marijuana industry. This is a job where I would not be directly handling or distributing marijuana. The company would be based in a state in which it is legal, and I would be working from a remote office here in New York state
Currently marijuana is illegal in New York (though there is an ongoing legislative battle over legalization). Even if it were legal here, at the Federal level it is still illegal and could be considered a felony from my understanding.
My question is, if I were to work at a job like this, doing nothing but developing software to help a company grow and distribute in a different state without ever handling it myself, would I be breaking any state laws?
As a note, I did see this question here which pertains to working for a company in general within a legal state. This question pertains more to working outside of a legal state but in a job where no marijuana is actually handled.