Soak the rice noodles in warm water for 20-30 minutes until pliable but still firm. Drain well. Whisk together the tamarind paste, brown sugar, soy sauce, rice vinegar, and sriracha in a small bowl to make the sauce.
Heat 1 tablespoon of oil in a large wok or skillet over medium-high heat. Add the tofu and fry for 4-5 minutes, turning occasionally, until golden and crisp. Remove and set aside.
Add another tablespoon of oil to the wok. Add the garlic and onion and stir-fry for 1-2 minutes until fragrant.
Push everything to one side of the wok, pour the beaten eggs into the empty space, and scramble until just set, then mix into the onions.
Add the drained noodles and the sauce to the wok. Toss constantly with tongs for 2-3 minutes until the noodles are tender and evenly coated.
Return the tofu to the wok and add half the bean sprouts and the green onions. Toss for 1 more minute.
Transfer to plates and top with the remaining bean sprouts, crushed peanuts, and fresh cilantro. Serve immediately with lime wedges.