The tale begins in the halls of Asgard, the realm of the Aesir, where peace was often shattered by the restless whims of Loki, the son of Farbauti. On a day filled with more than his usual share of malice, Loki crept into the chambers of Sif, the wife of Thor, while she lay sleeping. Sif was renowned across the nine worlds for her magnificent hair, which flowed like a river of spun gold. With a sharp blade and a silent step, Loki sheared the hair from her head, leaving her bald and weeping. When Thor discovered this desecration, his rage was like a mountain-shattering storm. He seized Loki, threatening to crush every bone in his body unless the trickster found a way to replace the hair with something even more beautiful.
Fearful for his life, Loki fled to Svartalfheim, the lightless realm of the dwarfs, who were the undisputed masters of the forge. He approached the Sons of Ivaldi, a group of legendary smiths, and convinced them to craft not only a head of hair made from real gold that would grow from Sif's scalp as if it were natural, but also two other masterpieces to appease the gods: Skíðblaðnir, a ship that always found a favorable wind and could be folded into a pocket, and Gungnir, the spear that never missed its mark. However, Loki’s nature would not let him rest with mere success; he desired to stir more chaos and perhaps gain more treasures. He sought out another pair of dwarf brothers, Brokkr and Sindri (sometimes called Eitri), and made a bold wager. He bet his own head that Sindri and Brokkr could not produce three items as magnificent as those crafted by the Sons of Ivaldi.
The brothers, confident in their skill, accepted the challenge. They retreated to their forge, a place of intense heat and ancient magic. Sindri, the elder and more skilled in the metaphysical arts of the smithy, laid out the plan. He told Brokkr that he must pump the bellows without a single moment's pause, for the temperature had to remain constant for the magic to take hold. If the rhythm faltered for even a heartbeat, the work would be ruined. Sindri then placed a pig’s skin into the roaring furnace and stepped away to perform the necessary incantations. Loki, realizing that the brothers might actually win the bet—and thus claim his head—decided to intervene. He transformed himself into a large, black gadfly and flew into the forge. As Brokkr worked the bellows, Loki landed on the dwarf’s hand and bit him deeply. Despite the sharp pain, Brokkr did not flinch, and he continued to pump. When Sindri returned, he pulled from the fire Gullinbursti, a living boar with bristles of gold that could run through air and water and glowed so brightly it could turn night into day.
For the second item, Sindri placed a massive ingot of gold into the crucible. Again, he warned Brokkr that the bellows must remain steady. This time, the fly that was Loki landed on Brokkr’s neck and bit him twice as hard as before. Blood welled up, and the sting was agonizing, but Brokkr was a master of his craft and possessed the endurance of the earth itself. He kept the air flowing into the furnace until Sindri returned. From the molten gold, Sindri pulled forth Draupnir, a heavy arm ring of exquisite beauty. This was no ordinary jewelry; every ninth night, eight other rings of equal weight and splendor would drop from it, ensuring endless wealth for its possessor. Loki’s anxiety grew; he had now lost two-thirds of the wager and the dwarfs showed no signs of failure.
Finally, Sindri prepared the third and most important work. He placed iron into the fire, a metal harder to tame and more volatile in the magical forge. He gave Brokkr the most stern warning yet: 'If the bellows fail now, everything is lost.' As Sindri left to finalize the enchantments, Loki, desperate to save his neck, took the form of the fly once more. He landed between Brokkr’s eyes and bit his eyelid so fiercely that blood ran into the dwarf's eye, blinding him. For a single second, Brokkr reached up to wipe away the blood, and in that fleeting moment, the bellows stopped. Sindri returned almost instantly, sensing the change in the air. He sighed as he pulled the object from the furnace. It was a hammer, Mjölnir, but because of the pause in the bellows, the handle was slightly too short for a two-handed grip. Still, the weapon hummed with a power that made the very foundations of the forge tremble.
The party then traveled to Asgard to present the gifts to the gods, who would serve as judges. Odin, Thor, and Freyr sat upon their high thrones. First, Loki presented the gifts from the Sons of Ivaldi. He gave the golden hair to Sif, which immediately took root and shone brilliantly. To Odin, he gave the spear Gungnir, which would pierce any shield. To Freyr, he gave the ship Skíðblaðnir. The gods were impressed, and Loki felt confident. Then, it was Brokkr’s turn. He stepped forward and gave the ring Draupnir to Odin, explaining its multiplying nature. To Freyr, he gave the boar Gullinbursti, noting that it would never tire. Finally, he handed the hammer Mjölnir to Thor.