If the gun is made in your state, you may have an argument, although the reality is that the Courts have already ruled you do not.
Once guns are made in one state and sold in another, you have no argument. Congress can regulate how a gun made in one state is tracked and sold in another, and that is IAW the Constitution.
Actually, no. Even if you roll back interstate commerce "jurisprudence" to pre-Wickard days, when some actual interstate commerce would be a prerequisite for regulation, you're STILL not done. The commerce clause wasn't intended to enable general regulation of interstate commerce (even REAL interstate commerce), but to prevent protectionism by states against goods manufactured in other states, etc., and a few other small concerns, and that was about it.
“The courts” rule many unconstitutional things.