"This is my version of a popular sauce that can be tweaked in a lot of ways to suit one's taste, either more to the sweet side or sour side. It's great with small fried items, like fried tofu, egg rolls, or samosas."
Heat water in a saucepan over low heat. Dissolve sugar and tamarind powder in warm water; add soy sauce, peanuts, and red onions. Increase heat to medium-high and cook until onions become slightly translucent, 3 to 5 minutes.
Stir cilantro into the sauce; continue cooking until thickened to your liking, 5 to 7 minutes more.