An Island man is being held in the Edgartown house of correction following his arraignment on heroin charges in connection with a fatal overdose.

Sean M. Geddis, 25, who has a postal address in Vineyard Haven but is listed as homeless in court documents, was arrested on August 1 by Oak Bluffs police and charged with distributing a class A substance (heroin) and conspiracy to violate drug laws, court records show.

At the arraignment on August 2, Judge Thomas Kirkman set cash bail at $25,000, after taking into consideration the defendant’s record, the nature of the offense and other factors, including the fact that the heroin sale was “alleged to have caused the death of the purchaser of the drugs,” records also show.

A police report that accompanies the court records notes that on July 31 Det. Jeffrey LaBell began a follow-up investigation into the unattended death of Joseph Jones. A review of Mr. Jones’s cell phone text messages and a subsequent interview with Mr. Geddis revealed that Mr. Geddis had contacted Mr. Jones “to facilitate the distribution of a class A substance” the police report says in part.

A pretrial hearing in the case has been set for Sept. 6.