In the beggining of the story you meet Tom Walker and his wife. Toms wife is mean to him and they even hide money from each other.
Tom takes a shortcut through the swamp. On his way home he discoveries an indian skull and soon meets a dark man.
Tom Walker is approached by the devil to make a deal with him. The devil offers him Kidd's treasure which is buried nearby.
Tom goes home to think about the deal. After his wife urges him to take the deal he gets mad and refuses to take the deal. Toms wife goes out to take the deal herself and never returns. Tom revisits the devil and decides to take the deal since his greedy wife was gone and he sells his soul to the devil.
The devil follows through with his deal, and Tom becomes very wealthy by greedy acts instructed by the devil. Even though he is rich he is very unhappy and starts to regreat his deal with the devil.