Begin by opening and draining the can of black beans, then rinse them thoroughly.
Transfer the beans to a food processor or blender and puree them until they are smooth.
Incorporate the sugar, eggs, melted butter, vanilla extract, cocoa powder, baking powder, and baking soda into the bean puree.
Blend or process the mixture until everything is well combined and smooth.
Preheat your oven to 350°F (175°C).
Pour the batter into a greased or lined cake pan.
Bake for approximately 30 to 35 minutes, or until a toothpick inserted into the center comes out clean.
Let the cake cool before serving.
