First and foremost, you must finish The Spines of America assignment if you wish to sell gold bars. This mission allows you to unlock your first fence, the only vendor who will buy valuables such as gold bars. See the Fence Locations and Unlock Guide for information on how and where to unlock new fence vendors.