Preheat your oven to 350.
Line and grease a 10x10 square baking pan with parchment paper, then vegan butter or coconut oil.
First, we're going to break down the tofu. You can do this in a food processor or simply pass it through a sieve to get a nice, smooth liquid!
Next, melt the butter over low heat in a saucepan. Once the butter is mostly melted, remove from heat, add the sugar, coconut milk, tofu, vanilla bean paste, or extract, and whisk until evenly incorporated. Don't whisk too vigorously--avoid creating too many bubbles! Set the wet ingredients aside.
In a large bowl, sift in your dry ingredients--matcha powder, glutinous rice flour, baking powder, and salt. Add your melted butter mixture to the dry ingredients and stir with a rubber spatula until completely smooth.
Transfer your mixture to your prepared pan and tap the pan on a hard surface to remove any air bubbles. If desired, cover the surface with your pistachio and coconut mixture.
Bake in the oven for 1 hour, until the surface is golden brown. Let cool completely, then cut into small squares. Traditionally, it is cut into 24 pieces!