Place the walnuts in a dry skillet over medium heat and toast them for 5 minutes, stirring often, until fragrant and lightly darkened. Transfer them to a plate and let them cool for a few minutes.
Add the cooled walnuts to a food processor and pulse until they are finely chopped but not turned into a paste.
Add the dates, 25 grams cocoa powder, 15 grams shredded coconut, vanilla extract, ground cinnamon, and salt to the food processor. Process until the mixture forms a sticky, uniform dough that holds together when pressed between your fingers.
If the mixture seems too dry, process a little longer so the dates break down fully. If needed, stop and scrape down the sides of the processor bowl to help everything combine evenly.
Line a small tray or plate with parchment paper. Scoop about 1 tablespoon of mixture at a time and roll it between your palms to form 18 even truffles.
Place 10 grams cocoa powder in one small bowl, the remaining 15 grams shredded coconut in another bowl, and if desired reserve 2 tablespoons of the chopped walnut mixture from the processor before adding dates for a third coating option. Roll the truffles in the coatings as desired until evenly covered.
Arrange the coated truffles on the lined tray and refrigerate them for 30 minutes, or until firm and easy to handle.
Serve chilled or let them sit at room temperature for 5 minutes before serving for a slightly softer texture.