The God Thor, in many stories I have been exposed to, has a hammer called Mjölnir that provides superpowers. In some versions of stories the powers are stronger then a God alone.
Where did Mjölnir come from? Who made it, or how was it made?
Mythology & Folklore Stack Exchange is a question and answer site for enthusiasts and scholars of mythology and folklore. It only takes a minute to sign up.Sign up to join this community
Direct quote from the wikipedia article of Mjölnir
hammer of Thor, a major Norse god associated with thunder. Mjölnir is depicted in Norse mythology as one of the most fearsome weapons, capable of leveling mountains. In his account of Norse mythology, Snorri Sturluson relates how the hammer was made by the dwarven brothers Sindri and Brokkr, and how its characteristically short handle was due to a mishap during its manufacture.
As to how it's made it is said on the wiki that it was made as a bet to show Loki that they could make a item more beautiful than those of the Sons of Ivaldi. Although they didn't intend to make the handle as short as it is. the reason for that is that Loki did not intend to let them win and therefor tried to hinder them during forging.
Finally, Sindri puts some iron in the forge and tells Brokkr not to stop pumping the bellows. Loki comes a third time and this time bites Brokkr on the eyelid even harder. The bite is so deep that it draws blood. The blood runs into Brokkr's eyes and forces him stop working the bellows just long enough to wipe his eyes. This time, when Sindri returns, he takes Mjöllnir out of the forge. The handle is shorter than Sindri had planned and so the hammer can only be wielded with one hand.
And as to how Thor got Mjölnir if my memory isn't wrong then it was because Mjölnir was given to Odin as a gift. When Odin found out that Mjölnir deemed Thor worthy to wield him Odin gave Mjölnir to Thor. For he him self didn't need the hammer.
If you look in Faulkes' translation of the Poetic Edda the story can be found on pp. 96-7, in the section of Skaldskaparmal that explains kennings for gold. The story begins when Loki cuts off the hair of Thor's wife Sif and has to appease the angry thunder-god. (A link to another translation. Scroll down to section XXXV.)
Loki goes to the sons of Ivalde, who make golden hair for Sif and treasures for Odin and Freyr. That was fine, but then he bets Brokk and Sindri they can't make better things, and wagers his head that they can't. He turns himself into a fly to hinder them, which is why Mjollnir has a short handle, as maam27's quote from Wikipedia relates.
Characteristically, Loki gets out of the wager by saying the dwarves can have his head as long as they don't cut his neck. (Shades of the Merchant of Venice.) They content themselves with sewing his mouth shut, a fitting punishment.