The invention relates to a method of fabricating a commercially viable biodegradable and transparent resistive random-access memory (ReRAM) chip with substantially high (>7 orders of magnitude) resistive switching behaviour using low operating power. The method makes use of a simple and affordable