First off, prep the onion, garlic, and ginger by peeling the onion, ginger, and garlic, and then chopping them up well - but keep the onion separate from the garlic and ginger as you will cook the onion first.
Add oil to a large frying pan and add in the chopped onion. Saute onion over medium heat/flame for 7 minutes, stirring often, until onion begins to brown slightly.
Add in the chopped ginger and garlic and stir well for about a minute.
Then add in the coriander, turmeric, smoked paprika, coconut milk, vegetable stock, and tomato paste and stir well.
Add in the cashews and stir well.
Cover the pan and let simmer over low flame for 20-25 minutes. If liquid evaporates and it is too thick for your preference, simply add in a 1/4 cup or so of water or vegetable stock and stir well.
Remove from heat and season with salt and pepper to taste.
If desired serve garnished with chopped parsley and/or chili flakes.