Soak rice noodles in room temperature water for 1 hour or until they turn white. Drain and set aside. You can soak the noodles in advance, drain, and keep in a sealed container in the fridge until ready to use, up to 2-3 days.
Make the sauce: Add tao jiew to a small bowl and mash roughly with a fork to break up the soybeans (if using miso or doenjang, place in a small bowl it with 1 Tbsp of water and stir to loosen the paste.) Add all remaining sauce ingredients and stir to mix.
Add about 1 Tbsp of oil to a wok or a large sauté pan and heat over medium high heat. Once hot, add mushrooms and tofu. Spread them out and let sear until golden. Toss and continue to cook for 1 more minute or until the mushrooms are cooked through. Remove from pan and set aside.
To the same pan, heat about 2 Tbsp of oil over medium high heat. Add garlic, shallots and palm sugar and cook, stirring frequently until the sugar caramelizes into a deep brown colour.
Deglaze with the sauce mixture then add the rice noodles, mushrooms and tofu. Keep tossing until all the sauce has been absorbed. Taste the noodles, and if they are still undercooked, add a splash of water and let cook until dry again. You can also add a little more tamarind if you think it needs it.
If you want to add eggs: Once the noodles have absorbed most of the sauce, push the noodles to one side. Add eggs into the empty space, break the yolks and let the eggs set about half way. Then put the noodles over the eggs and let the eggs cook for 30 more seconds until the egg is set. Then toss to break up the eggs.
Turn off the heat, add bean sprouts and garlic chives and toss to mix. Taste and adjust seasoning. Plate and sprinkle with roasted peanuts, if using.
