One use of a pantry stock of dried beans is to plant them. If intended for sprouts, the pantry version should actually be used instead of seeds from a seed packet, because the latter are often treated to prevent spoilage and enhance germination.
As one of the easiest garden plants to sprout and grow, plain dried beans germinate just fine. In fact, our vines had been pretty well neglected. Yesterday I checked on them. Here are the results!
I may pan-roast them or just chop them up and add to a stir fry. I think we will have a lot more coming, since I planted a second batch last week and they are already producing leaves.
To dry them, I would just dry the pods until they split open, then remove the beans and dry them completely before storing.
Beans and legumes are amazing in that from one seed, even a poor yield produces many more that can then be eaten fresh or dried and stored.