Peel and halve the eggplants. Sprinkle with salt and let them sit for 30 minutes. Rinse and dry thoroughly.
Fry the eggplants until soft and golden, or roast them for a lighter version. Mash the cooked eggplant.
Slice the onions and fry them with turmeric until golden and caramelized. Reserve some for garnish.
Add minced garlic and sauté for 1-2 minutes.
Add the mashed eggplant, salt, and black pepper. Cook over low heat for about 10 minutes.
Stir in ¾ cup of kashk and cook for another 5 minutes. Add a little warm water if needed.
Briefly fry the dried mint in a little oil to make mint oil. Do not let it burn.
Transfer the Kashke Bademjan to a serving dish and garnish with kashk, fried onions, mint oil, and chopped walnuts. Serve warm or at room temperature with Persian bread.