As for how they will store the electricity generated by the solar plants for use at night and non-sunny weather, that will be greatly dependent on the energy storage facilities they put in place. Since it is not always sunny, there are storage facilities that energies can be stored on with includes lithium batteries. Much better than those lithium batteries are other powerful reusable batteries currently produced in advanced countries like Seoul, Singapore and China where they even plant micro solar panels that will go in search of sun to power the systems.
In a city like Seoul which experiences a humid continental climate with dry winter, which sometimes drop below the freezing degree but yet have an uninterrupted power supply using solar to power almost a million households in the smart city with over 100 MW solar power generated and used by public buildings.
These electricity generated are stored in powerful lithium-ion, lead acid and flow batteries for use when the sun is no longer shining. The interesting part of this news is the fact that El Salvador is driving his economy into a greener, cleaner and sustainable environment with the deliberate use of the Bitcoin technology to support the digital world. He's indeed an Ambassador of his own rights really to have continued to make headlines. It is better if other leaders adapt to this new fresh way of life.