1. Bring a saucepan of water to a boil. Turn off the heat and add the noodles. Let the noodles sit in the water for 5 minutes, stirring them a few times as they sit. Drain the noodles and rinse well under cold running water, separating the noodles with your fingers, and set aside.
2. Mix the fish sauce, palm sugar, and tamarind paste in a small bowl. Set aside.
3. Heat 1 tablespoon of the oil in a wok or large skillet over medium heat. Add the shrimp and cook, stirring occasionally, until they’re just about cooked through, about 2 minutes. Remove the shrimp from the wok or skillet and set aside. (If you can only find pre-cooked shrimp, skip this step and have them ready to add later.)
4. Heat the remaining 2 tablespoons of oil in the wok or skillet and add the shallots and garlic. Stir until fragrant, about 30 seconds to 1 minute, then add the cooked noodles and fish sauce mixture. Cook for about 1 minute, stirring, until everything is well combined.
5. Push the noodles to the side of the wok or skillet and add the eggs to the pan. Cook, stirring frequently, until they start to set, about 30 seconds, then add the cooked shrimp, 1 cup (50g) bean sprouts, the tofu, scallions, and 1/4 cup peanuts. Continue to cook, stirring, until everything is well combined and heated through, about 30 seconds. If the mixture looks a little dry (the noodles should be slicked with sauce with some extra floating around), add a tablespoon or so of water or chicken stock.
6. Transfer the Pad Thai to a serving plate. Serve sprinkled with the remaining bean sprouts, peanuts, and wedges of fresh lime alongside.