DAKAR, Senegal — Gunfire was still crackling around Guinea’s presidential palace when the panic began over the future of the country’s natural riches.

The West African nation boasts the world’s largest reserves of bauxite, a key source of aluminum for foil, soda cans and cars. The reddish rock became a symbol of hope and despair under President Alpha Condé, who turned Guinea into a top exporter before soldiers ousted him Sunday in an apparent coup d’etat.

Some West Africans bemoaned a democratic backslide. Others celebrated the downfall of an unpopular leader who, critics say, enabled foreign mining companies to wreck farmland and drinking water.

The aluminum industry simply shuddered.

Analysts warned of potential turbulence — “military juntas are notoriously fickle,” one British consultancy noted — as the prices of Guinean bauxite shipments to China, its top customer, hit an 18-month high.

The Russian firm Rusal, one of the planet’s biggest aluminum producers, threatened to evacuate its workers from Guinea, and the cost of aluminum clung to a 10-year peak. Researchers said shoppers around the globe could expect a financial jolt if the flow of bauxite was ruptured.

“The uncertainty in Guinea could put cost pressure on the value chain for anything that contains primary aluminum,” said Alan Clark, an Australian bauxite analyst. “The consumer pays more.”

Miners can only await clarity from the new military rulers, Eric Humphery-Smith, a British risk consultant, wrote in a snap reaction to the takeover.

By Tuesday, no evidence had surfaced of a production drop-off. Still, he added, fresh contract negotiations or even state property seizures “cannot be discounted.”

In Conakry, the capital, the coup leader offered conflicting messages on the issue.

Col. Mamady Doumbouya, head of the nation’s special forces, declared it was time to harness Guinea’s earthen heritage for the people — nearly half of whom live in poverty.

“Our country does not suffer from a lack of human resources, and even less is it the victim of a precariousness of natural resources,” Doumbouya said in a Sunday broadcast. “No, our ills are a lack of political courage.”

The next day, amid the investor freakout, the colonel clarified that mining activity in the nation’s northwest would continue unfettered as the junta forged a transition government.

Guinea accounted for a tiny sliver of global bauxite production when Condé took office in 2010.

Eleven years later, that share had surged to 22 percent — thanks to a massive deal the president struck with China. Beijing agreed in 2017 to loan Conakry $20 billion for much-needed infrastructure over the next two decades in exchange for bauxite concessions.

These days, more than two dozen international firms mine in the country, including companies from the United States, France and Australia.

Politicians and civil servants in Conakry are pushing the junta to ensure Guineans net the biggest profits. Mining accounts for 35 percent of the economy, and Cellou Dalein Diallo, the nation’s top opposition leader, said people are eager to hear the junta chief’s plan for reform.

“Will he fight corruption?” Diallo asked. “Will he protect the environment and the population from the exploitation of this wealth?”

Guinea’s nicest roads tend to be near the mines. Paved routes elsewhere are marred by potholes. Other basics — schools, hospitals, the electrical grid — are in dire need of improvement, researchers say.

A recent Human Rights Watch report, meanwhile, found that mining is imperiling thousands of acres of cropland, as well as water supplies, in a region where most families subsist on agriculture.

The bauxite extraction has persisted for decades — through three coups d’etat. Residents regularly speak out against the projects. A week before the coup, women in one mining town blocked a railway used to transport bauxite in protest.

“People see the bauxite pass, but they do not feel the benefits,” said Aboubacar Sidiki Mara, secretary general of the General Union of Workers of Guinea, which represents thousands of miners.

The rock extractors make an average of $5 per day, Mara said, and they often work in hazardous environments. Companies face little to no oversight, fueling a hotbed of labor abuses.

“The evil of our country,” Mara said, “lies in the weakness of our institutions.”

Borso Tall in Dakar contributed to this report.

Read more: