Coat tofu in cornstarch; shake off excess. Heat ¼ inch of oil in a large pan. Fry, turning until golden. Drain on paper towels.
Discard oil. Melt butter. Add shallots, garlic and ginger. Cook over medium-low heat about 15 minutes, stirring, until soft.
Stir in soy sauces, sugar and pepper to taste. Toss in tofu for 1 minute to warm through. Stir in scallions.
