Soak the rice noodles in warm water for about 30 minutes until they are soft but still slightly firm.
In a small bowl, mix together tamarind paste, fish sauce, and palm sugar until well combined. Set aside.
Heat a wok or large skillet over medium-high heat and add oil. Add your choice of protein (shrimp, chicken, tofu) and cook until cooked through. Remove from the wok and set aside.
In the same wok, add garlic and shallots and cook until fragrant.
Push the garlic and shallots to one side of the wok and crack the eggs into the other side. Scramble the eggs until they are partially cooked, then mix them with the garlic and shallots.
Add the soaked rice noodles to the wok and stir-fry for a few minutes until they are fully coated in the egg mixture.
Pour the tamarind sauce over the noodles and stir-fry until everything is well combined and the noodles are evenly coated.
Add bean sprouts and stir-fry for another minute until they are slightly softened.
Return the cooked protein to the wok and toss everything together until heated through.
Remove from heat and garnish with crushed peanuts and lime wedges.
Serve hot and enjoy your homemade authentic Pad Thai!