Spread the hazelnuts on a baking tray and bake in a preheated 170°C (340°F) oven for about 10 minutes (until the skins start to darken). Take the nuts out, cool slightly, and peel the husks.
Grind the erythritol into a powder (such as in a coffee grinder). Melt the chocolate in a water bath, add the erythritol and mix until smooth.
Put the nuts still warm in a blender and start chopping for 60-90 seconds at a time, with small breaks to keep the blender from overheating. Once the nuts begin to give off oil, add the melted coconut oil to them and continue chopping until smooth.
Pour the chocolate mixture into the blender and blend thoroughly. The mixture will be a bit runny, but don't worry - pour it into a jar or container and send it to the fridge for a couple of hours.