Toast walnuts. Grind in a food processor until ground to a meal. Add craisins and dates. Process until well combined. Add sugar, cocoa, cinnamon, vanilla, star anise, and cayenne and process. Add water so a loose dough forms. If it doesn’t add more water a tsp. at a time. Press dough into a 9X9 pan, flatten and cool until firm.
Cut into bite size squares.