Remove the hair and cut them into smaller chunks. Rinse them thoroughly before cooking.
Add cold water and pig feet to a large saucepan or pot. (Make sure the pig feet are submerged with water.)
Add ginger and green onion. Bring to boil and cook for 5 minutes, and drain the water.
In a wok or skillet over medium heat, add oil, garlic, and onion. Stir fry for about 1 minute until fragrant.
Add pig feet chunks, star anises, light soy sauce, dark soy sauce, cooking wine, and sugar to the skillet.
Then add water to make sure the liquid covers the pork feet completely.
Bring to boil, and then lower the heat. Cover the lid and simmer for 50 minutes to 1 hour until pork feet have become completely tender.
Remove the lid. If the sauce is not thick enough, turn the heat to medium-high, stir-fry until the sauce has thickened.
Taste test and add salt to your taste. Serve and enjoy immediately.