Pick over and rinse the black-eyed peas under cold water, then drain.
Place the black-eyed peas and water in a large pot and bring to a boil over high heat. Skim foam, reduce to a gentle simmer, partially cover, and cook 60–80 minutes, stirring occasionally and adding hot water as needed to keep the peas just submerged. They are done when very soft, skins split, and they mash easily.
Stir in the salt for beans and simmer 5 minutes more. Ladle out 0.5 cup of the bean cooking liquid and reserve for the sauce. Roughly mash the peas with a spoon to a soft, creamy mash, then cover and keep warm over the lowest heat.
In a separate saucepan, warm the red palm oil over medium-low heat until fluid and slightly darkened, 5–7 minutes; do not let it smoke.
Add the onion and cook over low to medium-low heat, stirring often, until very soft and deeply caramelized—edges nearly black and volume reduced by about half—30–40 minutes. Lower the heat if the onion threatens to burn.
Stir in the ground dried red pepper and the reserved 0.5 cup bean liquid. Fry, stirring frequently, until the oil separates from the paste and the sauce turns a deep brick-red, 8–12 minutes. Season with the salt for sauce.
Spoon the hot mashed peas onto plates and top generously with the hot onion–pepper sauce. Serve immediately.