Grease an 8 or 9-inch round cake pan and line it with parchment paper.
In a large bowl, whisk together the oat flour, sweet white rice flour, sugar, cocoa powder, baking soda, and salt. Add the buttermilk, coconut oil, and vanilla extract and whisk together very well to combine.
Pour batter evenly into the prepared pan and smooth top with a rubber spatula. Let rest while the oven is heating. Preheat oven to 350°F.
Place pan in the oven and bake about 30-40 minutes (mine took about 38 minutes), until a tester inserted into the middle of the cake comes out clean. Remove from oven and place on a rack to cool 5 minutes, then turn out onto the rack to cool completely.
Make Frosting
In a large bowl, cream the peanut butter and butter together until light and fluffy. Add the sugar, and keep mixing until smooth and creamy. Add as much or as little salt as you like.
Cake will keep in the fridge, covered, for 5 days.