Countries at the United Nations COP29 climate summit struck a deal on the basic rules to launch an international carbon trading market.