In a pan heat the coconut oil over medium heat. Add the onions and garlic and saute until translucent and soft. Then add the ginger, curry powder, cumin, cayenne and salt and cook for 1 minute stirring frequently. Remove from heat and set aside.
After 30 minutes add the onion and spices to the split peas and stir to combine. Cook for another 10-15 minutes. Stir often to prevent sticking. If the dal still is a bit underdone you can add a 1/2 cup of water and continue to cook. The dal should be quite thick and not soupy or runny.
Top with chopped cilantro and serve with rice or vegan naan.