Clean the duck under running water and remove any giblets and hair. Then pat dry with kitchen paper. Then poke some hole on the surface of the duck so the flavors can go insider easier.
In a pan, add 4 tablespoons of salt, 1 tablespoon of Sichuan peppercorn and 2 star anises. Stir fry over slow fire until aromatic and the salt becomes slightly browned. Set aside to cool down.
Rub the salt on every part of the duck. Then cover with plastic wrap, place in fridge and set aside for 1 day.
Add enough water in a large pot (the water level should cover the duck), add ginger, scallion and ShaoXing wine. Heat to bring the content to a boiling. Place the duck in, the water temperature drops in time. Then slow the fire to keep the broth slightly simmering but not boiling. Don’t cover the lid and cook for 10 minutes.
Cover the lid now, turn off the fire and soak the duck for another 20 minutes. Then start the fire and continue heating until the water boils. Turn off fire and let it soak for another 20 minutes in the broth.
Transfer the duck to cutting board. Cut into pieces and server directly or with any dipping sauce you prefer. But the duck itself is good enough.