Australia's share market has posted its best week in two months after days of escalating attacks between the US and Iran gave way to optimism around a potential peace deal.

Australia's share market has posted its best week in two months after days of escalating attacks between the US and Iran gave way to optimism around a potential peace deal.