Wash the red beans thoroughly.
Soak the beans in water for at least 3 hours.
Put the soaked beans in a pot, add plenty of water, and cook over medium heat.
Once the beans are soft, drain them using a sieve.
Mash the cooked beans finely.
Add the mashed beans, salt, and erythritol to a pan and simmer over low heat, stirring constantly.
When the moisture has reduced and it reaches a paste consistency, turn off the heat and let it cool.