They dig in the mud just to hang out. The female will spend days out of the water. She was carrying a ton of eggs. No clue if they hatched or anything. They hatch out of eggs into a planktonic stage and I'm not sure if they could survive in an aquarium setting. There's no way to protect a planktonic stage baby from filters.
For hermits, a salt water dish is placed in the tank, when the time comes, the female would release the eggs which then literally immediately changes into zoeas . Then, is transmitted into a oxygenated salt water, fed with bba. Zoeas will molt for 5-6 times bfe finally going to land in search of shells