Line a square springform pan measuring 24 x 24 cm with baking paper. Preheat the oven to 190 ° C top / bottom heat.
Prepare a dough from flour, sugar, egg yolk, vanilla sugar and butter and press evenly into the mold. Bake for about 15 minutes. The bottom should be golden yellow.
For the filling, put the condensed milk and butter in a saucepan, bring to the boil over low heat and simmer for 10 minutes, stirring constantly.
Put the mixture on the biscuit base and bake for about 10-15 minutes. Let cool for 60 minutes.
Roughly chop the peanuts and sprinkle evenly on the caramel. Melt the chocolate with the cream in a double boiler and spread over the peanuts.
Chill for 2 hours until the chocolate is firm. Then remove from the mold and cut into cubes. Store in a pastry tin in a cool, dry place.