Activate the yeast: Pour the warm water into a large mixing bowl and add the sugar. Sprinkle the yeast over the water and stir gently. Let the mixture stand for approximately 10 minutes, or until foamy and bubbly.
Mix the dough: Add the flour, salt, and oil to the activated yeast mixture. Stir with a wooden spoon until a rough, shaggy dough forms.
Knead the dough: Transfer the dough to a lightly floured work surface. Knead it for approximately 10 minutes, or until it becomes smooth, soft, and elastic. Add additional flour only if the dough is excessively sticky.
Let the dough rise: Lightly grease a clean bowl and place the dough inside, turning it once to coat its surface. Cover the bowl and let the dough rise in a warm, draft-free place for approximately 1 hour, or until doubled in size.
Prepare the baking sheet: Line a large baking sheet with parchment paper or a silicone baking mat. Lightly grease parchment paper to help prevent the boiled pretzels from sticking.
Divide the dough: Transfer the risen dough to a clean work surface and gently press it down to release excess air. Divide it into eight equally sized pieces.
Shape the pretzels: Roll each piece into a smooth ball. Working with one piece at a time, roll it into a rope approximately 20–24 inches (50–60 cm) long. Form the rope into a U shape, cross the two ends, twist them once, and press the ends firmly onto the bottom of the loop. Repeat with the remaining dough.
Preheat the oven: Preheat the oven to 450°F (230°C).
Prepare the baking soda bath: Pour 8½ cups of water into a large pot and bring it to a boil. Carefully add the baking soda a little at a time because the water may foam. Reduce the heat slightly to maintain a steady boil.
Boil the pretzels: Carefully lower one pretzel into the baking soda bath. Boil it for 1 minute, carefully flip it, and boil for 1 additional minute on the other side.
Drain the pretzels: Remove the pretzel with a slotted spoon and allow the excess water to drain. Transfer it to the prepared baking sheet. Repeat with all eight pretzels.
Add the topping: Beat the egg with 1 tablespoon of water. Brush the egg wash evenly over each pretzel, then sprinkle with coarse salt or seeds.
Bake: Bake the pretzels for 25–30 minutes, or until deeply golden brown. Because ovens vary, begin checking them after approximately 20 minutes to prevent excessive browning.
Cool and serve: Remove the pretzels from the oven and let them cool on the baking sheet for 5–10 minutes. Serve warm.