This excellent article explains how to create a perfectly safe bank. This is exactly how depositor banks should be run, and they would be immune to bank runs.