Cut trotter into small sections. Rinse the pig trotter in clean and boiling water. Remove all the hair carefully. Put aside and drain.
Bring water to a boil in a large pot and cook the pig trotter for 2-3 minutes. Transfer out and wash under running water.
This process can help to remove the odd taste as much as possible. And then in a high pressure cooker or electric cooker or a pot, cover pig trotter with enough water, add ginger slices, green onion, sichuan peppercorn and cooking wine. Cook until you can insert a chopstick into the meat. If you want a softer taste like me, cook it longer. Transfer the pig trotter out and the liquid can be kept as soup stock.
Heat up 1 tablespoon oil in wok, put the sugar in wok to stir fry until all the sugar melts and you can see large bubbles. Keep stirring during the process. Pour around 1 cup of hot water. Mix well! You need to be stay away from the wok and do not hesitate when pouring the water. If you do not want to stir fry the sugar color, just add sugar in clay pot and skip oil. The later method only influence the color but not the taste.
Prepare a clay pot or another deep sauce pan or wok, fry ginger slices and other spices for 1-2 minutes until aroma. Add pig trotter in, pour some cooking liquid in the previous until the pig trotter is almost covered. Pour the sugar color in the previous step and soy sauce. Heat over high fire with the lid uncovered until there are large bubbles in the pot and the sauce is almost dried up.