Rinse the samp under cold water and drain.
In a large saucepan, bring 4 cups of water or vegetable broth to a boil. Add the salt.
Stir in the samp and reduce the heat to low. Cover the saucepan and simmer for about 1-2 hours, stirring occasionally, until the samp is tender and the liquid is mostly absorbed. You may need to add more water if it gets too dry.
If using, sauté the diced onions in vegetable oil or butter until golden brown, then stir into the samp.
Add chopped tomatoes and cook for an additional 5-10 minutes.
Stir in the cooked beans if using.
Stir in ground black pepper to taste. Adjust seasoning if necessary.
Spoon the Samp into bowls. It can be served hot as a hearty main course or a side dish.
Enjoy your meal!