The Craftable Chainmail Armor datapack will allow you to get chainmail armor without trading or chests....
Download
Download
Download
Download
Download
Download
Download
Download