Boil the eggs in water. Peel them and set them aside.
To a pan add oil and all the seasoning ingredients in the order mentioned.
When the seeds start spluttering, add onions and fry them until they become soft.
Now add the hardboiled eggs to the onions and fry for few minutes.
Add salt and chilli powder.
Serve with rice or roti.