The research shows that the properties of a graphene sheet can be fine-tuned with the help of electric fields to independently host proton and electron currents, thus setting the stage for a device that serves both computer memory and logic functions.