> The price of shipping material is the price of building a railgun on the moon.
This would be very unfortunate. Luckily, we only need to build the rail gun (and the mining/refining facilities) once. After that, the cost is marginal.