Heat a wok over high heat, add 150ml of water and bring to the boil. Add Pipis, cover and cook for 3-4 minutes, removing pipis as they open. Drain and reserve.
Heat oil in wok over high heat, add shallots, garlic and ginger and saute for 2 minutes then add black beans, XO and Shaoxing and simmer for 2 minutes. Add soy, chicken stock and sugar and simmer for another 2 minutes. Add Pipis, chilli and green onion, toss to combine and serve garnished with coriander.
Note: XO Sauce is made from dried seafood such as scallops and chilli. XO and salted black beans are available from Asian grocery stores.