A nanoparticle comprising an active agent encapsulated in a biodegradable and biocompatible protein wherein the said protein is cataractous eye protein. Also provided is a method for preparing nanoparticle comprises an active agent encapsulated in a biodegradable and biocompatible protein in accordance with the present invention.