A sting operation ended with two women being accused of selling baggies of cocaine to an undercover agent.