Grab your instant pot. Turn on the sauté setting, and add the oil and ginger. Let it caramelize for about 30 seconds. Then add the scallions and cook another 30 seconds. Add the star anise, rice wine, soy sauce, dark soy sauce, sugar, salt, and water.
Close the lid of the instant pot, and make sure you have your vent set so it is not venting. Cook for 5 minutes on the high pressure cooking setting.
Safely release pressure, open the lid, and carefully lower the chicken thighs into the instant pot.
Cook the chicken for 15 minutes on the high pressure setting. Carefully release the vent when the timer is up. As soon as all the steam has escaped, you can open the instant pot.
Use two forks to shred the chicken into big chunks and serve over rice with sauce spooned over the top. Let the braising liquid cool, and store it in containers in the freezer. When you need it again, let it thaw in the refrigerator and throw it back in the instant pot with more chicken.
Note: we used an 8 qt. Instant Pot to make this recipe, and we had about 10 cups of liquid in the pot.