Preheat oven to 350°F. Prepare cupcake tin with paper liners. Set aside.
In another large bowl, stir together coconut oil, mashed avocado, water, vinegar, and vanilla. Add all of dry mixture to wet ingredients. Stir to combine until there are no longer any dry streaks of flour.
Divide batter evenly among cupcake tin, filling liners about ¾ full. Bake for 20-22 minutes until toothpick inserted in center of cupcake comes out clean. Allow cupcakes to cool in tin for about 5 minutes before unmolding. Allow cupcakes to cool to room temperature on wire rack. *
In a large bowl, whisk together flour, cocoa, espresso powder, salt, baking powder, baking soda, and sugar. Set aside.