Nanoparticles-based ink formulation