I fully agree with ImpactX's comments!
But with that said, you are right using a tank minimizes the risk of getting water in your gun. since the water saturates inside the tank under pressure.
But you have to expect corrosion in a steel tank when the water is trapped in there.
So like ImpactX's telling, investing in a large double filter system from the compressor is a must.
Though I use a triple filter system - I always fill my 300 bar tanks and only fill my rifles from the tanks as an extra security.
I used this system in +5 years now and never had any moisture problem.
A proper filter system costs about the same as a Yong Heng compressor.
And be aware that the Cheaper Yong Heng compressors are sending a lot of smelly oil with the wet air too.
If you have the smelly oil in your dive bottle or gun the bad smell stays there forever.
I use Yong Heng myself - and am actually pleased with the performance.
I can top up my 3 scuba bottles from around 220 bar to 310 bar in about one hour. This includes refilling the adsorption in the filters, the setup of water cooling and packing everything away after filling my three bottles.
I change the water absorption material in filter 1, every time I top my three bottles up to 310 bar.
Every second time I change also the adsorption material in filter 2.
About every 5-7 times i fill my tanks I change the Activated carbon I use in filter no. 3.
and make sure the filters are disconnected from the filers during storage - so the humid filter doesn't generate corrosion back in the compressor.