Start by draining the tofu and gently pressing out any excess water with a paper towel. Then, cut it into cubes and set aside.
Melt the chocolate chips and coconut oil together until smooth and creamy. You can do this in the microwave or on the stovetop using a double boiler.
In a blender or food processor, combine all the ingredients, including the melted chocolate, until you get a smooth and creamy mixture.
Pour the pudding into containers, top with dairy-free whipped cream and chocolate shavings if desired, and dig in!