If you have a slow cooker and time, cook the pork trotters in water (cover them by 3 - 4 centimeters) for 8 - 10 hours. Alternatively, boil them in a pot until very tender.
Strain pork trotters and reserve the cooking liquid. Separate the meat from the bones and nails, reserve.
Heat fat in a pot or saucepan on low heat, cook onion, garlic and chili for 10 minutes.
Add meat, ground nuts, vinegar and 1 cup of the reserved cooking liquid. Cook for 5 minutes.
Add potatoes, season with salt and pepper, and cook for another 5 minutes.
Serve with cauliflower rice, salsa criolla and your choice of veggies (we had Brussel sprouts and fennel roasted in bacon fat).