What is the treatment for dropsy?

Depends on cause. Dropsy is a general term for widespread accumulation of fluid/water in tissues. The common causes are heart failure, low blood protein due to kidney or liver disease, malabsorption, nutritional deficiency. The treatment is based on the etiology of the fluid accumulation. Each of the disorders causing fluid accumulation has other factors that need to be taken into account for treatment.