I think that Giles Corey might represent character that embodies the actions that could be seen as heroic. Corey brings to the court's attention what he knows about Putnam. Corey identifies that through information he received through an informant, Putnam is secretly benefiting from the trials and is more concerned with land acquisition than any idea of social justice. The court asks Corey to submit the name of his informant, and it is here where his heroism is evident. Corey does not "name names. " He knows very well that in doing so, he will be saved by harm will be brought to someone else. Corey acts as a hero because he refuses to acquiesce. He represents a sense of hope in his honor, redemption in his dignity. He is heroic because while so many others are revelling in naming names and avoiding the bonds that connect them to other human beings, Corey represents heroism in honoring that which others have discarded. Corey stands for his convictions, at great cause to himself. Corey suffers for his beliefs and his honor, and this is what makes him a hero.
I can’t write the entire essay for you, but I think I can give you a start :)
The obvious character that stands out would be John Proctor. In the entire play, despite the fact that the members of the legal system (Hathorne, Parris, and Danforth) look pretty bad, John Proctor is the person who takes the brunt of the harm. He admits to cheating on his wife, is forced to admit that was working with the devil by signing a contract... not to mention that he is put to death as a result. The heroic act that you’re talking about stems from Proctor going against the system in order to produce a truth that will tear apart the fabric of his society. Not to mention that by not signing the contract, he saves the humiliation of his family name (“What’s in a name?”) for the generations that come after him.
By being put to death, Proctor becomes a tragic hero, not only because he dies, but because he puts himself through humiliation in order to maintain a truth he believes (A truth that goes against an established system).