Press the tofu for 15 minutes. Use a tofu press, or put it between two clean dishtowels and weight it heavily.
Combine the cashews and plant milk in a blender and puree until creamy.
Sauté the ginger, garlic, and onion for a few minutes over medium heat until soft. Add a little water if it starts to stick.
Add all the spices and cook, stirring, a few more minutes.
Cube the tofu into about 40 pieces. Add tofu, tomatoes, and maple syrup to the pan.
Stir in the cashew mixture and simmer for 10 minutes.
Season with salt and pepper if needed. Serve with rice.