The transition which could replace the word thus in this sentence is definitely consequently. Workers bravely set dangerous explosives in the mountains by hand to make passes for railroads, and consequently hundreds lost their lives.
Hey! I think I could probably help you with this work, but the questions seem to be referring to a passage of some sort. If you could upload a picture of the passage I would love to try and help!