Ukraine and Russia were due Friday to sign an elusive deal designed to help relieve a global food crisis caused by blocked Black Sea grain exports.
The first major agreement between the warring sides since Russia's February invasion of its neighbour comes with global food prices soaring and people in some of the world's poorest countries facing starvation.
UN Secretary General Antonio Guterres was due to arrive in Turkey on Thursday for the signing ceremony at Istanbul's lavish Dolmabahce Palace on the Bosphorus Strait.
"The grain export agreement, critically important for global food security, will be signed in Istanbul (Friday) under the auspices of President (Recep Tayyip) Erdogan and UN Secretary General Mr. Guterres together with Ukrainian and Russian delegations," the Turkish leader's spokesman Ibrahim Kalin tweeted.
Up to 25 million tonnes of wheat and other grain have been blocked in Ukrainian ports by Russian warships and landmines Kyiv has laid to avert a feared amphibious assault.
- Russian demands -
The first direct talks between the warring sides' military delegations since March -- attended in Istanbul last week by Turkish and UN officials -- came up with an initial draft for resolving the impasse.
The sides were meant to have met again this week for the possible signature of a formal agreement.
But Russian President Vladimir Putin threatened to derail the talks by warning on Tuesday that he expected any agreement to also address his own country's blocked grain exports.
The five-month war is being fought across one of Europe's most fertile regions by two of the world's biggest producers of grain.
Almost all of the grain is usually shipped out of the region across the Black Sea.
Turkish Foreign Minister Mevlut Cavusoglu on Thursday acknowledged Putin's concerns.
"When we resolve this issue, not only will the export path for grain and sunflower oil from Ukraine be opened, but also for products from Russia," he said.
"Even if these Russian products are not affected by sanctions, there are blockages concerning maritime transport, insurance and the banking system," he added.
"The United States and the EU have given promises to lift these."
- Three ports -
NATO member Turkey has enjoyed good working relations with both Moscow and Kyiv throughout the conflict.
A member of Kyiv's delegation for the negotiations said the shipments could resume from three ports under full Ukrainian control.
"Exports would take place through three ports: Odessa, Pivdennyi and Chornomorsk. But in the future we hope we could expand them," Ukrainian lawmaker Rustem Umerov told reporters.
He added that the safety of the shipments would be overseen by a UN monitoring group based in Istanbul.
Umerov also said that Russian ships should not be allowed into Ukrainian waters as part of the anticipated agreement.
"We do not trust them, even if they sign an agreement with the UN. This is an aggressor country," he said.