Preheat oven to 400°F (200°C) and line two baking sheets with parchment paper.
In a saucepan, bring butter, water, and salt to a rolling boil over medium-high heat; add flour all at once and stir vigorously with a wooden spoon for 2 minutes until dough pulls away from pan sides.
Transfer dough to a bowl and let cool for 5 minutes, then beat in eggs one at a time until dough is smooth and glossy.
Pipe dough into 4-inch logs using a large open star or round tip on prepared sheets.
Bake at 400°F for 20 minutes, reduce heat to 350°F (175°C), and bake for 15 more minutes until golden and hollow; poke a small hole in each shell and cool completely.
Pipe chilled vanilla pastry cream into each cooled shell through holes.
Heat heavy cream until steaming, pour over chopped chocolate, whisk until glossy glaze forms, and dip tops of filled éclairs into glaze before serving.